Template:Infobox person: Difference between revisions

From Jonesipedia
Jump to navigation Jump to search
m 1 revision imported
m 1 revision imported
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:


| subheaderstyle = font-size:125%; font-weight:bold;
| subheaderstyle = font-size:125%; font-weight:bold;
| subheader  = {{#switch:{{{child|{{{embed|}}}}}}|yes=<!--empty when this infobox is embedded-->|#default={{#if:{{{native_name|}}}|<div class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</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}}
Line 83: Line 83:


| label29    = Employer
| label29    = Employer
| data29    = {{{employer|}}}
| data29    = {{{employer|}}}{{main other|{{Pluralize from text| {{{employer|}}} |||[[Category:Pages using infobox person with multiple employers]]}}}}
| class29    = org
| class29    = org


| label30    = {{#if:{{{organisation|}}}|Organisation|Organization}}
| label30    = {{#if:{{{organisation|}}}|Organisation|Organization}}
| data30    = {{{organisation|{{{organization|{{{organizations|}}}}}}}}}
| data30    = {{{organisation|{{{organization|{{{organizations|}}}}}}}}}{{main other|{{Pluralize from text|{{{organization|{{{organisation|}}}}}}|||[[Category:Pages using infobox person with multiple organizations]]}}}}
| class30    = org
| class30    = org


| label31    = Agent
| label31    = Agent
| data31    = {{{agent|}}}
| data31    = {{{agent|}}}{{main other|{{Pluralize from text|{{{agent|}}}|||[[Category:Pages using infobox person with multiple agents]]}}}}
| class31    = agent
| class31    = agent


Line 98: Line 98:


| label33    = <div style="white-space:nowrap;">{{#if:{{{works|}}}|Works|{{#if:{{{credits|}}}|Notable credit(s)|{{#if:{{{label_name|}}}|Label(s)|Notable work}}}}}}</div>
| 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|}}}}}}}}}}}}
| 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
| label34    = Style
| data34    = {{{style|}}}
| data34    = {{{style|}}}
| class34    = category
| class34    = category
| label39    = Net&nbsp;worth
| data39    = {{{net worth|{{{net_worth|{{{networth|}}}}}}}}}


| label40    = Height
| 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|}}}}}}}
| 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|}}}}}}}


| label42    = Television
| label41    = Television
| data42    = {{{television|}}}
| data41    = {{{television|}}}
 
| label42    = {{#if:{{{office|}}}|Office|Title}}
| data42    = {{{office|{{{title|}}}}}}
| class42    = title


| label43    = {{#if:{{{office|}}}|Office|Title}}
| label43    = Term
| data43    = {{{office|{{{title|}}}}}}
| data43    = {{{term|}}}
| class43    = title


| label44    = Term
| label44    = Predecessor
| data44    = {{{term|}}}
| data44    = {{{predecessor|}}}


| label45    = Predecessor
| label45    = Successor
| data45    = {{{predecessor|}}}
| data45    = {{{successor|}}}


| label46    = Successor
| label46    = Political party
| data46    = {{{successor|}}}
| data46    = {{{party|}}}
| class46    = org


| label47    = Political party
| label47    = Other political<br />affiliations
| data47    = {{{party|}}}
| data47    = {{{otherparty|}}}
| class47    = org
| class47    = org


Line 135: Line 136:


| label49    = <span class="nowrap">Opponent(s)</span>
| label49    = <span class="nowrap">Opponent(s)</span>
| data49    = {{{opponents|}}}
| data49    = {{{opponents|}}}{{main other|{{Pluralize from text|{{{opponents|}}}|||[[Category:Pages using infobox person with multiple opponents]]}}}}


| label50    = Board member&nbsp;of
| label50    = Board member&nbsp;of
Line 141: Line 142:


| label51    = Criminal charge(s)
| label51    = Criminal charge(s)
| data51    = {{{criminal_charges|{{{criminal charge|{{{criminal_charge|}}}}}}}}}
| 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
| label52    = Criminal penalty
Line 151: Line 152:


| label54    = <span class="nowrap">Spouse(s)</span>
| label54    = <span class="nowrap">Spouse(s)</span>
| data54    = {{{spouse|{{{spouses|{{{spouse(s)|}}}}}}}}}
| 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>
| label55    = <span class="nowrap">Partner(s)</span>
| data55    = {{{partner|{{{domesticpartner|{{{domestic_partner|{{{partners|{{{partner(s)|}}}}}}}}}}}}}}}
| 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
| label56    = Children
Line 160: Line 161:


| label57    = Parent{{#if:{{{parents|}}}|(s)|{{#if:{{{father|}}}|{{#if:{{{mother|}}}|s|(s)}}|(s)}}}}
| 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)}}}}}}
| 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
| label58    = Relatives
Line 195: Line 196:
}}<!--
}}<!--
-->{{#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
-->{{#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 | parents | partner | partner | 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|{{#invoke:Check for deprecated parameters|check
-->{{#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_"
|category=[[Category:Pages using Infobox person with deprecated parameter _VALUE_|_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 }}<!--
|ignoreblank=yes
| home_town =
}}}}<!--
-->{{Main other|
-->{{Main other|
{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}|[[Category:Infobox person using numbered parameter]]}}<!--
{{#if:{{{1|}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}|[[Category:Infobox person using numbered parameter]]}}<!--
Line 212: Line 210:
| template = Infobox person
| template = Infobox person
| cat = {{main other|Category:Pages using infobox person with conflicting parameters}}
| cat = {{main other|Category:Pages using infobox person with conflicting parameters}}
| child = embed
| child; embed
| honorific prefix; honorific_prefix; honorific-prefix; pre-nominals
| honorific prefix; honorific_prefix; honorific-prefix; pre-nominals
| honorific suffix; honorific_suffix; honorific-suffix; post-nominals
| honorific suffix; honorific_suffix; honorific-suffix; post-nominals
Line 250: Line 248:
| misc6; module6
| misc6; module6
| website; homepage; URL; url
| website; homepage; URL; url
}}<includeonly>{{#ifeq:{{{child|{{{embed|}}}}}}|yes||{{Wikidata image|1={{{image|}}}|2={{{nocat_wdimage|}}}}}}}</includeonly><noinclude>
}}{{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>
{{documentation}}</noinclude>

Latest revision as of 16:41, 2 March 2022

<templatestyles src="Module:Infobox/styles.css"></templatestyles>

Infobox person

<templatestyles src="Module:Documentation/styles.css"></templatestyles>