Difference between revisions of "Template:Infobox Person"

From CorsairCraft
Jump to navigation Jump to search
Tag: Reverted
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
{{ infobox
| bodyclass  = biography vcard vevent
| bodystyle  = width:{{#if:{{{box_width|}}}|{{{box_width}}} |22em}}; font-size:95%; text-align:left;
| above      = '''{{{name|{{PAGENAME}}}}}'''
| aboveclass = fn summary
| abovestyle = text-align:center; font-size:125%;
| image      = {{#if:{{{image|}}}|[[Image:{{{image}}}|{{#if:{{{image_size|{{{imagesize|}}}}}}|{{{image_size|{{{imagesize}}}}}}|225px}}]]}}
| imageclass = {{image class names|{{{image}}}}}
| imagestyle = padding:4pt; line-height:1.25em; text-align:center; font-size:8pt;
| caption    = <div style="padding-top:2pt;">{{{caption|}}}</div>
| labelstyle = padding:0.2em 1.0em 0.2em 0.2em; background:transparent; line-height:1.2em; text-align:left; font-size:90%;
| datastyle  = padding:0.2em; line-height:1.3em; vertical-align:middle; font-size:90%;


{{Infobox|child={{{child|{{{embed|}}}}}}
| label1    = {{#if:{{{birth_name|}}}{{{birth_date|}}}{{{birth_place|}}}|Born}}
| bodyclass  = biography vcard
| data1     = {{#if:{{{birth_name|}}}|{{{birth_name}}}<br />}}{{#if:{{{birth_date|}}} |{{{birth_date}}}<br />}}{{{birth_place|}}}
 
| label2    = {{#if:{{{death_date|}}}{{{death_place|}}}|Died }}
| above     = {{Br separated entries
| data2      = {{#if:{{{death_date|}}}|{{{death_date}}}<br />}}{{{death_place|}}}
| 1 = {{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}|<div class="honorific-prefix" style="font-size: 77%; font-weight: normal; display:inline;">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}</div>}}
| label3    = Cause&nbsp;of death
| 2 = <div class="fn" style="display:inline">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</div>
| data3      = {{{death_cause|}}}
| 3 = {{#if:{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals|}}}}}}}}}}}}|<div class="honorific-suffix" style="font-size: 77%; font-weight: normal; display:inline;">{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals|}}}}}}}}}}}}</div>}}
| label4    = Body discovered
}}
| data4      = {{{body_discovered|}}}
| abovestyle = font-size:125%; {{{abovestyle|}}}
| label5    = Resting&nbsp;place
 
| class5    = label
| subheaderstyle = font-size:125%; font-weight:bold;
| data5      = {{{resting_place|}}}{{#if:{{{resting_place_coordinates|}}}|<br />{{{resting_place_coordinates}}} }}
| 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>}} }} }}
| label6    = Residence
 
| class6    = label
| 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}}
| data6      = {{{residence|}}}
| caption    = {{{image caption|{{{caption|{{{image_caption|}}}}}}}}}
| class7    = category
 
| label7    = Nationality
| label2    = Pronunciation
| data7      = {{{nationality|}}}
| data2      = {{{pronunciation|}}}
| label8    = Other&nbsp;names
 
| class8    = nickname
| label10   = Born
| data8      = {{{other_names|}}}
| 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>}}}}
| class9    = category
 
| label9    = Ethnicity
| label11   = Bapti{{#if:{{{baptized|}}}|z|s}}ed
| data9      = {{{ethnicity|}}}
| data11     = {{#if:{{{birth_date|}}}||{{{baptized|{{{baptised|}}}}}}}}
| class10    = category
 
| label10    = Citizenship
| label12   = Disappeared
| data10    = {{{citizenship|}}}
| data12     = {{Br separated entries|1={{{disappeared_date|}}}|2={{{disappeared_place|}}}}}
| label11    = Education
 
| data11    = {{{education|}}}
| label13   = Status
| label12    = Alma&nbsp;mater
| data13     = {{{status|{{{disappeared_status|}}}}}}
| data12    = {{{alma_mater|}}}
 
| label13    = Occupation
| label14   = Died
| class13    = role
| data14     = {{Br separated entries|1={{{death_date|}}}|2={{#if:{{{death_place|}}}|<div style="display:inline" class="deathplace">{{{death_place|}}}</div>}}}}
| data13    = {{{occupation|}}}
 
| label14    = Years active
| label15   = Cause&nbsp;of death
| data14    = {{{years_active|}}}
| data15     = {{{death cause|{{{death_cause|}}}}}}
| label15    = Employer
 
| data15    = {{{employer|}}}
| label16    = Body discovered
| label16    = Home&nbsp;town
| data16     = {{{body discovered|{{{body_discovered|}}}}}}
| data16    = {{{home_town|}}}
 
| label17    = Salary
| label17    = {{#if:{{{burial_place|}}}|Burial place|Resting place}}
| data17    = {{{salary|}}}
| data17     = {{#if:{{{burial_place|}}}|{{Br separated entries|1={{{burial_place|}}}|2={{{burial_coordinates|}}}}}|{{Br separated entries|1={{{resting place|{{{resting_place|{{{restingplace|}}}}}}}}}|2={{{resting place coordinates|{{{resting_place_coordinates|{{{restingplacecoordinates|}}}}}}}}}}}}}
| label18    = Net&nbsp;worth
| class17    = label
| data18    = {{{networth|}}}
 
| label19    = Height
| label18    = Monuments
| data19    = {{{height|}}}
| data18    = {{{monuments|}}}
| label20    = Weight
<!-- removed per discussion at https://en.wikipedia.org/w/index.php?title=Template_talk:Infobox_person&oldid=932429196#Residence_parameter
| data20    = {{{weight|}}}
| label19    = Residence
| label21   = Known&nbsp;for
| data19    = {{{residence|}}}
| data21     = {{{known|{{{known_for|}}}}}}
| class19    = {{#if:{{{death_date|}}}{{{death_place|}}}||label}}
| label22    = Title
-->
| data22    = {{{title|}}}
| label20    = Nationality
| label23    = Term
| data20    = {{{nationality|}}}
| data23    = {{{term|}}}
| class20    = category
| label24    = Predecessor
 
| data24    = {{{predecessor|}}}
| label21    = Other&nbsp;names
| label25    = Successor
| data21    = {{{other names|{{{other_names|{{{othername|{{{nickname|{{{alias|}}}}}}}}}}}}}}}
| data25    = {{{successor|}}}
| class21    = nickname
| label26   = Political&nbsp;party
 
| data26    = {{{party|}}}
| label22    = Siglum
| label27    = Opponent(s)
| data22    = {{{siglum|}}}
| data27     = {{{opponents|}}}
 
| label28    = Board member&nbsp;of
| label23    = Citizenship
| data28    = {{{boards|}}}
| data23    = {{{citizenship|}}}
| label29   = Religious beliefs
| class23    = category
| data29     = {{{religion|}}}
 
| label30    = Spouse(s)
| label24    = Education
| data30    = {{{spouse|}}}
| data24    = {{{education|}}}
| label31   = Partner
 
| data31     = {{{partner|}}}
| label25    = Alma&nbsp;mater
| label32   = Children
| data25    = {{{alma mater|{{{alma_mater|}}}}}}
| data32     = {{{children|}}}
 
| label33    = Parents
| label26    = Occupation
| data33    = {{{parents|}}}
| data26    = {{{occupation|}}}
| label34    = Relatives
| class26    = role
| data34    = {{{relations|{{{relatives|}}}}}}
 
| label35   = Call-sign
| label27    = Years&nbsp;active
| data35     = {{{callsign|}}}
| data27    = {{{years active|{{{years_active|{{{yearsactive|}}}}}}}}}
| data36     = {{#if:{{{signature|}}}|'''Signature'''<div style="padding-top:0.3em;">[[Image:{{{signature}}}|128px]]</div>}}
 
| data37     = {{#if:{{{website|}}}| '''Website'''<br />{{{website}}} }}
| label28    = Era
| data38    = {{#if:{{{footnotes|}}}|<div style="text-align:left;"><div style="border-top:1px solid;">'''Notes'''</div><div style="line-height:1.2em;">{{{footnotes}}}</div></div>}}
| data28    = {{{era|}}}
}}<noinclude>{{pp-template|small=yes}}{{documentation}}<!---Please add metadata to the <includeonly> section at the bottom of the /doc subpage---></noinclude>
| class28    = category
 
| label29    = Employer
| data29    = {{{employer|}}}{{main other|{{Pluralize from text| {{{employer|}}} |||[[Category:Pages using infobox person with multiple employers]]}}}}
| class29    = org
 
| label30    = {{#if:{{{organisation|}}}|Organisation|Organization}}
| data30    = {{{organisation|{{{organization|{{{organizations|}}}}}}}}}{{main other|{{Pluralize from text|{{{organization|{{{organisation|}}}}}}|||[[Category:Pages using infobox person with multiple organizations]]}}}}
| class30    = org
 
| label31    = Agent
| data31    = {{{agent|}}}{{main other|{{Pluralize from text|{{{agent|}}}|||[[Category:Pages using infobox person with multiple agents]]}}}}
| class31    = agent
 
| label32    = Known&nbsp;for
| data32    = {{{known for|{{{known_for|{{{known|}}}}}}}}}
 
| 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|}}}|||[[Category:Pages using infobox person with multiple labels]]}}}}
 
| label34    = Style
| 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}}
| data42    = {{{office|{{{title|}}}}}}
| class42    = title
 
| label43    = Term
| data43    = {{{term|}}}
 
| label44    = Predecessor
| data44    = {{{predecessor|}}}
 
| label45    = Successor
| data45    = {{{successor|}}}
 
| label46    = Political party
| data46    = {{{party|}}}
| class46    = org
 
| label47    = Other political<br />affiliations
| data47    = {{{otherparty|}}}
| class47    = org
 
| label48    = Movement
| data48    = {{{movement|}}}
| class48    = category
 
| label49    = <span class="nowrap">Opponent(s)</span>
| data49    = {{{opponents|}}}{{main other|{{Pluralize from text|{{{opponents|}}}|||[[Category:Pages using infobox person with multiple opponents]]}}}}
 
| label50    = Board member&nbsp;of
| data50    = {{{boards|}}}
 
| label51    = Criminal charge(s)
| data51    = {{{criminal_charges|{{{criminal charge|{{{criminal_charge|}}}}}}}}}{{main other|{{Pluralize from text|{{{criminal charge|{{{criminal_charge|}}}}}}|||[[Category:Pages using infobox person with multiple criminal charges]]}}}}
 
| label52    = Criminal penalty
| data52    = {{{criminal penalty|{{{criminal_penalty|}}}}}}
 
| label53    = {{#if:{{{judicial status|{{{judicial_status|}}}}}}|Judicial status|Criminal status}}
| data53    = {{#if:{{{judicial status|{{{judicial_status|}}}}}} | {{{judicial status|{{{judicial_status}}}}}} | {{{criminal status|{{{criminal_status|}}}}}}}}
| class53    = category
 
| label54    = <span class="nowrap">Spouse(s)</span>
| data54    = {{{spouse|{{{spouses|{{{spouse(s)|}}}}}}}}}{{main other|{{Pluralize from text| {{{spouse|{{{spouse(s)|}}}}}} |||[[Category:Pages using infobox person with multiple spouses]]}}}}
 
| 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)|}}}}}}}}}}}} |||[[Category:Pages using infobox person with multiple partners]]}}}}
 
| label56    = Children
| data56    = {{{children|}}}
 
| 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|}}}|||[[Category:Pages using infobox person with multiple parents]]}}}}
 
| label58    = Relatives
| data58    = {{{relations|{{{relatives|}}}}}}
 
| label59    = Family
| data59    = {{{family|}}}
 
| label60    = Call sign
| data60    = {{{callsign|}}}
 
| label61    = Awards
| data61    = {{{awards|}}}
 
| label62    = {{#if:{{{honours|}}}|Honours|Honors}}
| data62    = {{{honours|{{{honors|}}}}}}
 
| data64    = {{{misc|{{{module|}}}}}}
| data65    = {{{misc2|{{{module2|}}}}}}
| data66    = {{{misc3|{{{module3|}}}}}}
| data67    = {{{misc4|{{{module4|}}}}}}
| data68    = {{{misc5|{{{module5|}}}}}}
| data69    = {{{misc6|{{{module6|}}}}}}
 
| label70    = Website
| data70    = {{{website|{{{homepage|{{{URL|{{{url|}}}}}}}}}}}}
 
| header71  = {{#if:{{{signature|}}}|Signature}}
| data72    = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}}
 
| header73  = {{#if:{{{footnotes|}}}|Notes}}
| data74    = {{#if:{{{footnotes|}}}|<div style="text-align: left;">{{{footnotes}}}</div>}}
 
}}<!--
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox person with unknown parameters|_VALUE_{{PAGENAME}}]]}}|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 }}<!--
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox person with unknown empty parameters|_VALUE_{{PAGENAME}}]]}}|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 }}<!--
-->{{Main other|
{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}|[[Category:Infobox person using numbered parameter]]}}<!--
-->{{#if:{{{death_date|}}}{{{death_place|}}}|{{#if:{{{net worth|{{{net_worth|{{{networth|}}}}}}}}}|[[Category:Infobox person using certain parameters when dead]]}}}}<!--
-->{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}<!--
-->{{#if:{{{signature|}}}|[[Category:Biography with signature]]}}<!--
-->[[Category:Articles with hCards]]
}}<!--
-->{{#invoke:Check for clobbered parameters|check
| nested = 1
| template = Infobox person
| cat = {{main other|Category:Pages using infobox person with conflicting parameters}}
| child; embed
| honorific prefix; honorific_prefix; honorific-prefix; pre-nominals
| honorific suffix; honorific_suffix; honorific-suffix; post-nominals
| image size; image_size; imagesize
| image caption; caption; image_caption
| birth_name; birthname
| baptized; baptised
| status; disappeared_status
| death cause; death_cause
| body discovered; body_discovered
| resting place; resting_place; restingplace
| resting place coordinates; resting_place_coordinates; restingplacecoordinates
| other names; other_names; othername; nickname; alias
| alma mater; alma_mater
| years active; years_active; yearsactive
| organisation; organization; organizations
| known for= known_for; known
| {{#if:{{{works|}}}|works;}} {{#if:{{{credits|}}}|credits;}} {{#if:{{{label_name|}}}|label_name;}} notable works; notable_works
| net worth; net_worth; networth
| height_m; height_cm
| office; title
| criminal_charges; criminal charge; criminal_charge
| criminal penalty; criminal_penalty
| judicial status; judicial_status
| criminal status; criminal_status
| spouse; spouses; spouse(s)
| partner; domesticpartner; domestic_partner; partners; partner(s)
| {{#if:{{{parents|}}}||NULL_}}parents; {{#if:{{{father|}}}||NULL_}}father
| {{#if:{{{parents|}}}||NULL_}}parents; {{#if:{{{mother|}}}||NULL_}}mother
| relations; relatives
| honours; honors
| misc; module
| misc2; module2
| misc3; module3
| misc4; module4
| misc5; module5
| misc6; module6
| website; homepage; URL; url
}}{{main other|{{#if:{{{net worth|{{{net_worth|{{{networth|}}}}}}}}}|[[Category:Pages using infobox person with deprecated net worth parameter]]}}}}<includeonly>{{#ifeq:{{{child|{{{embed|}}}}}}|yes||{{Wikidata image|1={{{image|}}}|2={{{nocat_wdimage|}}}}}}}</includeonly><noinclude>
{{documentation}}</noinclude>

Latest revision as of 17:42, 1 July 2022