Template:Infobox person: Difference between revisions
From Vigyanwiki
No edit summary |
|||
| Line 12: | Line 12: | ||
| subheader = {{#switch:{{{child|{{{embed|}}}}}}|yes=<!--empty when this infobox is embedded-->|#default={{#if:{{{native_name|}}}|{{#if:{{{native_name_lang|}}}|<div class="nickname" lang="{{{native_name_lang}}}">}}{{{native_name}}}{{#if:{{{native_name_lang|}}}|</div>}} }} }} | | subheader = {{#switch:{{{child|{{{embed|}}}}}}|yes=<!--empty when this infobox is embedded-->|#default={{#if:{{{native_name|}}}|{{#if:{{{native_name_lang|}}}|<div class="nickname" lang="{{{native_name_lang}}}">}}{{{native_name}}}{{#if:{{{native_name_lang|}}}|</div>}} }} }} | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|300|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}}}x200px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{#ifeq:{{lc:{{{landscape|}}}}}|yes|{{min|300|{{#if:{{#ifexpr:{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|300|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}}}x200px|{{{image size|{{{image_size|{{{imagesize|}}}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}|style="width: 220px;height: 335px;" | ||
| caption = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}} | | caption = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}} | ||
| label2= | | label2 = Pronunciation | ||
| data2 = {{{pronunciation|}}} | |||
| label10= | | label10 = Born | ||
| data10 = {{Br separated entries|1={{#if:{{{birth_name|{{{birthname|}}}}}}|<div style="display:inline" class="nickname">{{{birth_name|{{{birthname|}}}}}}</div>}}|2={{{birth_date|}}}|3={{#if:{{{birth_place|}}}|<div style="display:inline" class="birthplace">{{{birth_place|}}}</div>}}}} | |||
| label11 = Bapti{{#if:{{{baptized|}}}|z|s}}ed | | label11 = Bapti{{#if:{{{baptized|}}}|z|s}}ed | ||
| data11 = {{#if:{{{birth_date|}}}||{{{baptized|{{{baptised|}}}}}}}} | | data11 = {{#if:{{{birth_date|}}}||{{{baptized|{{{baptised|}}}}}}}} | ||
| label12= | | label12 = Disappeared | ||
| data12 = {{Br separated entries|1={{{disappeared_date|}}}|2={{{disappeared_place|}}}}} | |||
| label13= | | label13 = Status | ||
| data13 = {{{status|{{{disappeared_status|}}}}}} | |||
| label14= | | label14 = Died | ||
| data14 = {{Br separated entries|1={{{death_date|}}}|2={{#if:{{{death_place|}}}|<div style="display:inline" class="deathplace">{{{death_place|}}}</div>}}}} | |||
| label15= | | label15 = Cause of death | ||
| data15 = {{{death cause|{{{death_cause|}}}}}} | |||
| label16= | | label16 = Body discovered | ||
| data16 = {{{body discovered|{{{body_discovered|}}}}}} | |||
| label17 = {{#if:{{{burial_place|}}}|Burial place|Resting place}} | | label17 = {{#if:{{{burial_place|}}}|Burial place|Resting place}} | ||
| Line 36: | Line 43: | ||
| class17 = label | | class17 = label | ||
| label18= | | label18 = Monuments | ||
| data18 = {{{monuments|}}} | |||
<!-- removed per discussion at https://en.wikipedia.org/w/index.php?title=Template_talk:Infobox_person&oldid=932429196#Residence_parameter | <!-- removed per discussion at https://en.wikipedia.org/w/index.php?title=Template_talk:Infobox_person&oldid=932429196#Residence_parameter | ||
| label19= | | label19 = Residence | ||
| data19 = {{{residence|}}} | |||
| class19 = {{#if:{{{death_date|}}}{{{death_place|}}}||label}} | | class19 = {{#if:{{{death_date|}}}{{{death_place|}}}||label}} | ||
--> | --> | ||
| label20= | | label20 = Nationality | ||
| data20 = {{{nationality|}}} | |||
| class20 = category | | class20 = category | ||
| label21= | | label21 = Other names | ||
| data21 = {{{other names|{{{other_names|{{{othername|{{{nickname|{{{alias|}}}}}}}}}}}}}}} | |||
| class21 = nickname | | class21 = nickname | ||
| label22= | | label22 = Siglum | ||
| data22 = {{{siglum|}}} | |||
| label23= | | label23 = Citizenship | ||
| data23 = {{{citizenship|}}} | |||
| class23 = category | | class23 = category | ||
| label24= | | label24 = Education | ||
| data24 = {{{education|}}} | |||
| label25= | | label25 = Alma mater | ||
| data25 = {{{alma mater|{{{alma_mater|}}}}}} | |||
| label26= | | label26 = Occupation | ||
| data26 = {{{occupation|}}} | |||
| class26 = role | | class26 = role | ||
| label27= | | label27 = Years active | ||
| data27 = {{{years active|{{{years_active|{{{yearsactive|}}}}}}}}} | |||
| label28= | | label28 = Era | ||
| data28 = {{{era|}}} | |||
| class28 = category | | class28 = category | ||
| label29 = Employer | | label29 = Employer | ||
| data29 = {{{employer|}}}{{main other|{{Pluralize from text| {{{employer|}}}| | | data29 = {{{employer|}}}{{main other|{{Pluralize from text| {{{employer|}}} |||}}}} | ||
| class29 = org | | class29 = org | ||
| label30 = {{#if:{{{organisation|}}}|Organisation|Organization | | label30 = {{#if:{{{organisation|}}}|Organisation|Organization}} | ||
| data30 = {{{organisation|{{{organization|{{{organizations|}}}}}}}}}{{main other|{{Pluralize from text|{{{organization|{{{organisation|}}}}}}| | | data30 = {{{organisation|{{{organization|{{{organizations|}}}}}}}}}{{main other|{{Pluralize from text|{{{organization|{{{organisation|}}}}}}|||}}}} | ||
| class30 = org | | class30 = org | ||
| label31 = Agent | | label31 = Agent | ||
| data31 = {{{agent|}}}{{main other|{{Pluralize from text|{{{agent|}}}| | | data31 = {{{agent|}}}{{main other|{{Pluralize from text|{{{agent|}}}|||}}}} | ||
| class31 = agent | | class31 = agent | ||
| label32= | | label32 = Known for | ||
| data32 = {{{known for|{{{known_for|{{{known|}}}}}}}}} | |||
| label33= | | label33 = <div style="white-space:nowrap;">{{#if:{{{works|}}}|Works|{{#if:{{{credits|}}}|Notable credit(s)|{{#if:{{{label_name|}}}|Label(s)|Notable work}}}}}}</div> | ||
| data33 = {{#if:{{{works|}}}|{{{works|}}}|{{#if:{{{credits|}}}|{{{credits}}}|{{#if:{{{label_name|}}}|{{{label_name}}}|{{{notable works|{{{notable_works|}}}}}}}}}}}}{{main other|{{Pluralize from text|{{{label_name|}}}|||}}}} | |||
| label34 = | | label34 = Style | ||
| data34 = {{ | | data34 = {{{style|}}} | ||
| class34 = category | |||
| | | label40 = Height | ||
| | | data40 = {{#if:{{{height_m|{{{height_cm|}}}}}}{{{height_ft|}}}{{{height_in|}}} | {{convinfobox|{{{height_m|{{{height_cm|}}}}}}|{{#if:{{{height_m|}}}|m|cm}}|{{{height_ft|}}}|ft|{{{height_in|}}}|in}}}}{{#if:{{{height|}}} | {{infobox person/height|{{{height|}}}}}}} | ||
| | | label41 = Television | ||
| data41 = {{{television|}}} | |||
| label42 = {{#if:{{{office|}}}|Office|Title}} | | label42 = {{#if:{{{office|}}}|Office|Title}} | ||
| Line 101: | Line 114: | ||
| class42 = title | | class42 = title | ||
| label43= | | label43 = Term | ||
| data43 = {{{term|}}} | |||
| label44= | | label44 = Predecessor | ||
| data44 = {{{predecessor|}}} | |||
| label45= | | label45 = Successor | ||
| data45 = {{{successor|}}} | |||
| label46= | | label46 = Political party | ||
| data46 = {{{party|}}} | |||
| class46 = org | | class46 = org | ||
| label47= | | label47 = Other political<br />affiliations | ||
| data47 = {{{otherparty|}}} | |||
| class47 = org | | class47 = org | ||
| label48= | | label48 = Movement | ||
| data48 = {{{movement|}}} | |||
| class48 = category | | class48 = category | ||
| label49 = Opponent | | label49 = <span class="nowrap">Opponent(s)</span> | ||
| data49 = {{{opponents|}}}{{main other|{{Pluralize from text|{{{opponents|}}}| | | data49 = {{{opponents|}}}{{main other|{{Pluralize from text|{{{opponents|}}}|||}}}} | ||
| label50= | | label50 = Board member of | ||
| data50 = {{{boards|}}} | |||
| label51 = | | label51 = Criminal charge(s) | ||
| data51 = {{{criminal_charges|{{{criminal charge|{{{criminal_charge|}}}}}}}}}{{main other|{{Pluralize from text|{{{criminal charge|{{{criminal_charge|}}}}}}| | | data51 = {{{criminal_charges|{{{criminal charge|{{{criminal_charge|}}}}}}}}}{{main other|{{Pluralize from text|{{{criminal charge|{{{criminal_charge|}}}}}}|||}}}} | ||
| label52= | | label52 = Criminal penalty | ||
| data52 = {{{criminal penalty|{{{criminal_penalty|}}}}}} | |||
| label53 = {{#if:{{{judicial status|{{{judicial_status|}}}}}}|Judicial status|Criminal status}} | | label53 = {{#if:{{{judicial status|{{{judicial_status|}}}}}}|Judicial status|Criminal status}} | ||
| Line 130: | Line 151: | ||
| class53 = category | | class53 = category | ||
| label54 = Spouse | | label54 = <span class="nowrap">Spouse(s)</span> | ||
| data54 = {{{spouse|{{{spouses|{{{spouse(s)|}}}}}}}}}{{main other|{{Pluralize from text| {{{spouse|{{{spouse(s)|}}}}}} | | | data54 = {{{spouse|{{{spouses|{{{spouse(s)|}}}}}}}}}{{main other|{{Pluralize from text| {{{spouse|{{{spouse(s)|}}}}}} |||}}}} | ||
| label55 = Partner | | label55 = <span class="nowrap">Partner(s)</span> | ||
| data55 = {{{partner|{{{domesticpartner|{{{domestic_partner|{{{partners|{{{partner(s)|}}}}}}}}}}}}}}}{{main other|{{Pluralize from text| {{{partner|{{{domesticpartner|{{{domestic_partner|{{{partner(s)|}}}}}}}}}}}} | | | data55 = {{{partner|{{{domesticpartner|{{{domestic_partner|{{{partners|{{{partner(s)|}}}}}}}}}}}}}}}{{main other|{{Pluralize from text| {{{partner|{{{domesticpartner|{{{domestic_partner|{{{partner(s)|}}}}}}}}}}}} |||}}}} | ||
| label56= | | label56 = Children | ||
| data56 = {{{children|}}} | |||
| label57 = Parent{{#if:{{{parents|}}}| | | label57 = Parent{{#if:{{{parents|}}}|(s)|{{#if:{{{father|}}}|{{#if:{{{mother|}}}|s|(s)}}|(s)}}}} | ||
| data57 = {{#if:{{{parents|}}}|{{{parents}}}|{{Unbulleted list|{{#if:{{{father|}}}|{{{father}}} (father)}}|{{#if:{{{mother|}}}|{{{mother}}} (mother)}}}}}}{{main other|{{Pluralize from text|{{{parents|}}}|||}}}} | |||
| data57 = {{#if:{{{parents|}}}|{{{parents}}}|{{Unbulleted list|{{#if:{{{father|}}}|{{{father}}} (father)}}|{{#if:{{{mother|}}}|{{{mother}}} (mother)}}}}}} | |||
| label58= | | label58 = Relatives | ||
| data58 = {{{relations|{{{relatives|}}}}}} | |||
| label59= | | label59 = Family | ||
| data59 = {{{family|}}} | |||
| label60= | | label60 = Call sign | ||
| data60 = {{{callsign|}}} | |||
| label61= | | label61 = Awards | ||
| data61 = {{{awards|}}} | |||
| label62 = {{#if:{{{honours|}}}|Honours|Honors}} | | label62 = {{#if:{{{honours|}}}|Honours|Honors}} | ||
| Line 155: | Line 179: | ||
| data64 = {{{misc|{{{module|}}}}}} | | data64 = {{{misc|{{{module|}}}}}} | ||
| data65 = {{{misc2|{{{module2|}}}}}} | | data65 = {{{misc2|{{{module2|}}}}}} | ||
| data66 = {{{misc3|{{{module3|}}}}}} | | data66 = {{{misc3|{{{module3|}}}}}} | ||
| Line 178: | Line 195: | ||
}}<!-- | }}<!-- | ||
-->{{#invoke:Check for unknown parameters|check|unknown={{main other| | -->{{#invoke:Check for unknown parameters|check|unknown={{main other|}}|preview = Page using [[Template:Infobox person]] with unknown parameter "_VALUE_"|ignoreblank=y | ||
| abovestyle | agent | alias | alma mater | alma_mater | alt | awards | baptised | baptized | birth_date | birth_name | birth_place | birthname | boards | body discovered | body_discovered | burial_coordinates | burial_place | callsign | caption | child | children | citizenship | credits | criminal charge | criminal penalty | criminal status | criminal_charge | criminal_charges | criminal_penalty | criminal_status | death cause | death_cause | death_date | death_place | disappeared_date | disappeared_place | disappeared_status | domestic_partner | domesticpartner | education | embed | employer | era | family | father | footnotes | height | height_cm | height_ft | height_in | height_m | homepage | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | honorific-prefix | honorific-suffix | honors | honours | image | image caption | image size | image_caption | image_size | image_upright | imagesize | judicial status | judicial_status | known | known for | known_for | label_name | landscape | misc | misc2 | misc3 | misc4 | misc5 | misc6 | module | module2 | module3 | module4 | module5 | module6 | monuments | mother | movement | name | nationality | native_name | native_name_lang | net worth | net_worth | networth | nickname | nocat_wdimage | notable works | notable_works | occupation | office | opponents | organisation | organization | organizations | other names | other_names | othername | otherparty | parents | partner | partners | partner(s) | party | predecessor | pre-nominals | post-nominals | pronunciation | relations | relatives | resting place | resting place coordinates | resting_place | resting_place_coordinates | restingplace | restingplacecoordinates | siglum | signature | signature alt | signature_alt | signature_size | spouse | spouses | spouse(s) | status | style | successor | television | term | title | URL | url | website | works | years active | years_active | yearsactive }}<!-- | | abovestyle | agent | alias | alma mater | alma_mater | alt | awards | baptised | baptized | birth_date | birth_name | birth_place | birthname | boards | body discovered | body_discovered | burial_coordinates | burial_place | callsign | caption | child | children | citizenship | credits | criminal charge | criminal penalty | criminal status | criminal_charge | criminal_charges | criminal_penalty | criminal_status | death cause | death_cause | death_date | death_place | disappeared_date | disappeared_place | disappeared_status | domestic_partner | domesticpartner | education | embed | employer | era | family | father | footnotes | height | height_cm | height_ft | height_in | height_m | homepage | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | honorific-prefix | honorific-suffix | honors | honours | image | image caption | image size | image_caption | image_size | image_upright | imagesize | judicial status | judicial_status | known | known for | known_for | label_name | landscape | misc | misc2 | misc3 | misc4 | misc5 | misc6 | module | module2 | module3 | module4 | module5 | module6 | monuments | mother | movement | name | nationality | native_name | native_name_lang | net worth | net_worth | networth | nickname | nocat_wdimage | notable works | notable_works | occupation | office | opponents | organisation | organization | organizations | other names | other_names | othername | otherparty | parents | partner | partners | partner(s) | party | predecessor | pre-nominals | post-nominals | pronunciation | relations | relatives | resting place | resting place coordinates | resting_place | resting_place_coordinates | restingplace | restingplacecoordinates | siglum | signature | signature alt | signature_alt | signature_size | spouse | spouses | spouse(s) | status | style | successor | television | term | title | URL | url | website | works | years active | years_active | yearsactive }}<!-- | ||
-->{{#invoke:Check for unknown parameters|check|unknown={{main other| | -->{{#invoke:Check for unknown parameters|check|unknown={{main other|}}|preview = Page using [[Template:Infobox person]] with unknown empty parameter "_VALUE_" | ||
| abovestyle | agent | alias | alma mater | alma_mater | alt | awards | baptised | baptized | birth_date | birth_name | birth_place | birthname | boards | body discovered | body_discovered | burial_coordinates | burial_place | callsign | caption | child | children | citizenship | credits | criminal charge | criminal penalty | criminal status | criminal_charge | criminal_charges | criminal_penalty | criminal_status | death cause | death_cause | death_date | death_place | disappeared_date | disappeared_place | disappeared_status | domestic_partner | domesticpartner | education | embed | employer | era | family | father | footnotes | height | height_cm | height_ft | height_in | height_m | homepage | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | honorific-prefix | honorific-suffix | honors | honours | image | image caption | image size | image_caption | image_size | image_upright | imagesize | judicial status | judicial_status | known | known for | known_for | label_name | landscape | misc | misc2 | misc3 | misc4 | misc5 | misc6 | module | module2 | module3 | module4 | module5 | module6 | monuments | mother | movement | name | nationality | native_name | native_name_lang | net worth | net_worth | networth | nickname | nocat_wdimage | notable works | notable_works | occupation | office | opponents | organisation | organization | organizations | other names | other_names | othername | otherparty | parents | partner | partners | partner(s) | party | predecessor | pre-nominals | post-nominals | pronunciation | relations | relatives | resting place | resting place coordinates | resting_place | resting_place_coordinates | restingplace | restingplacecoordinates | siglum | signature | signature alt | signature_alt | signature_size | spouse | spouses | spouse(s) | status | style | successor | television | term | title | URL | url | website | works | years active | years_active | yearsactive }}<!-- | | abovestyle | agent | alias | alma mater | alma_mater | alt | awards | baptised | baptized | birth_date | birth_name | birth_place | birthname | boards | body discovered | body_discovered | burial_coordinates | burial_place | callsign | caption | child | children | citizenship | credits | criminal charge | criminal penalty | criminal status | criminal_charge | criminal_charges | criminal_penalty | criminal_status | death cause | death_cause | death_date | death_place | disappeared_date | disappeared_place | disappeared_status | domestic_partner | domesticpartner | education | embed | employer | era | family | father | footnotes | height | height_cm | height_ft | height_in | height_m | homepage | honorific prefix | honorific suffix | honorific_prefix | honorific_suffix | honorific-prefix | honorific-suffix | honors | honours | image | image caption | image size | image_caption | image_size | image_upright | imagesize | judicial status | judicial_status | known | known for | known_for | label_name | landscape | misc | misc2 | misc3 | misc4 | misc5 | misc6 | module | module2 | module3 | module4 | module5 | module6 | monuments | mother | movement | name | nationality | native_name | native_name_lang | net worth | net_worth | networth | nickname | nocat_wdimage | notable works | notable_works | occupation | office | opponents | organisation | organization | organizations | other names | other_names | othername | otherparty | parents | partner | partners | partner(s) | party | predecessor | pre-nominals | post-nominals | pronunciation | relations | relatives | resting place | resting place coordinates | resting_place | resting_place_coordinates | restingplace | restingplacecoordinates | siglum | signature | signature alt | signature_alt | signature_size | spouse | spouses | spouse(s) | status | style | successor | television | term | title | URL | url | website | works | years active | years_active | yearsactive }}<!-- | ||
-->{{Main other| | -->{{Main other| | ||
{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}| | {{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}|}}<!-- | ||
-->{{#if:{{{death_date|}}}{{{death_place|}}}|{{#if:{{{net worth|{{{net_worth|{{{networth|}}}}}}}}}| | -->{{#if:{{{death_date|}}}{{{death_place|}}}|{{#if:{{{net worth|{{{net_worth|{{{networth|}}}}}}}}}|}}}}<!-- | ||
-->{{#if:{{{pronunciation|}}}| | -->{{#if:{{{pronunciation|}}}|}}<!-- | ||
-->{{#if:{{{signature|}}}| | -->{{#if:{{{signature|}}}|}}<!-- | ||
--> | --> | ||
}}<!-- | }}<!-- | ||
-->{{#invoke:Check for clobbered parameters|check | -->{{#invoke:Check for clobbered parameters|check | ||
| Line 231: | Line 248: | ||
| misc6; module6 | | misc6; module6 | ||
| website; homepage; URL; url | | website; homepage; URL; url | ||
}}{{main other|{{#if:{{{net worth|{{{net_worth|{{{networth|}}}}}}}}}| | }}{{main other|{{#if:{{{net worth|{{{net_worth|{{{networth|}}}}}}}}}|}}}}<includeonly>{{#ifeq:{{{child|{{{embed|}}}}}}|yes||{{Wikidata image|1={{{image|}}}|2={{{nocat_wdimage|}}}}}}}</includeonly><noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> | ||
[[Category:Biographical templates usable as a module|Person]] | |||
[[Category:Collapse templates]] | |||
[[Category:Infobox templates|person]] | |||
[[Category:Infobox templates with module parameter|Person]] | |||
[[Category:Navigational boxes| ]] | |||
[[Category:Navigational boxes without horizontal lists]] | |||
[[Category:Pages using deprecated source tags|Infobox person/doc]] | |||
[[Category:Pages using duplicate arguments in template calls]] | |||
[[Category:Pages with non-numeric formatnum arguments]] | |||
[[Category:Pages with script errors|Infobox person/doc]] | |||
Revision as of 14:12, 31 October 2022
Infobox person |
|---|
Lua error in Module:TNT at line 184: Dataset c:Data:I18n/Documentation.tab is not valid.