User:Harrystein/sandbox/template/infobox person: Difference between revisions
< User:Harrystein | sandbox | template
Jump to navigation
Jump to search
Harrystein (talk | contribs) m (Harrystein moved page User:Harrystein/sandbox/infobox person to User:Harrystein/sandbox/template/infobox person: Because I wanna.) |
Harrystein (talk | contribs) m (testing "below = {{{esli|}}}" and "belowstyle = background-color:#eee) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Infobox|child={{{child|{{{embed|}}}}}} | ||
| bodyclass = biography vcard | | bodyclass = biography vcard | ||
Line 71: | Line 71: | ||
| data25 = {{{alma mater|{{{alma_mater|}}}}}} | | data25 = {{{alma mater|{{{alma_mater|}}}}}} | ||
| label26 = | | label26 = Thesis | ||
| data26 = {{{thesis|{{{thesis_title|}}}}}} | |||
| label27 = | | label27 = Occupation | ||
| data27 = {{{ | | data27 = {{{occupation|}}} | ||
| class27 = role | |||
| label28 = | | label28 = Years active | ||
| data28 = {{{ | | data28 = {{{years active|{{{years_active|{{{yearsactive|}}}}}}}}} | ||
| label29 = | | label29 = Era | ||
| data29 = {{{ | | data29 = {{{era|}}} | ||
| class29 = | | class29 = category | ||
| label30 = | | label30 = Employer | ||
| data30 = {{{ | | data30 = {{{employer|}}}{{main other|{{Pluralize from text| {{{employer|}}} |||[[Category:Pages using infobox person with multiple employers]]}}}} | ||
| class30 = org | | class30 = org | ||
| label31 = | | label31 = {{#if:{{{organisation|}}}|Organisation|Organization}} | ||
| data31 = {{{ | | data31 = {{{organisation|{{{organization|{{{organizations|}}}}}}}}}{{main other|{{Pluralize from text|{{{organization|{{{organisation|}}}}}}|||[[Category:Pages using infobox person with multiple organizations]]}}}} | ||
| class31 = | | class31 = org | ||
| label32 = | | label32 = Agent | ||
| data32 = {{{ | | data32 = {{{agent|}}}{{main other|{{Pluralize from text|{{{agent|}}}|||[[Category:Pages using infobox person with multiple agents]]}}}} | ||
| class32 = agent | |||
| label33 = | | label33 = Known for | ||
| data33 = {{{ | | data33 = {{{known for|{{{known_for|{{{known|}}}}}}}}} | ||
| label34 = < | | label34 = <div style="white-space:nowrap;">{{#if:{{{works|}}}|Works|{{#if:{{{credits|}}}|Notable credit(s)|{{#if:{{{label_name|}}}|Label(s)|Notable work}}}}}}</div> | ||
| data34 = {{#if:{{{works|}}}|| | | data34 = {{#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]]}}}} | ||
| label35 = | | label35 = Style | ||
| data35 = { | | data35 = {{{style|}}} | ||
| class35 = 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 146: | Line 138: | ||
| 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|}}}|||[[Category:Pages using infobox person with multiple opponents]]}}}} | ||
| label50 = Board member of | | label50 = Board member of | ||
| data50 = {{{boards|}}} | | 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|}}}}}}|||[[Category:Pages using infobox person with multiple criminal charges]]}}}} | ||
| label52 = Criminal penalty | | label52 = Criminal penalty | ||
Line 162: | Line 154: | ||
| 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)|}}}}}} |||[[Category:Pages using infobox person with multiple spouses]]}}}} | ||
| 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)|}}}}}}}}}}}} |||[[Category:Pages using infobox person with multiple partners]]}}}} | ||
| label56 = Children | | label56 = Children | ||
| data56 = {{{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|}}}|||[[Category:Pages using infobox person with multiple parents]]}}}} | |||
| data57 = {{#if:{{{parents|}}}|{{{parents}}}|{{Unbulleted list|{{#if:{{{father|}}}|{{{father}}} (father)}}|{{#if:{{{mother|}}}|{{{mother}}} (mother)}}}}}} | |||
| label58 = Relatives | | label58 = Relatives | ||
Line 201: | Line 191: | ||
| data70 = {{{website|{{{homepage|{{{URL|{{{url|}}}}}}}}}}}} | | data70 = {{{website|{{{homepage|{{{URL|{{{url|}}}}}}}}}}}} | ||
| header71 = {{#if:{{{signature | | header71 = {{#if:{{{signature|}}}|Signature}} | ||
| data72 = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}} | | data72 = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}} | ||
| header73 = {{#if:{{{footnotes|}}}|Notes}} | | header73 = {{#if:{{{footnotes|}}}|Notes}} | ||
| data74 = {{#if:{{{footnotes|}}}|<div style="text-align: left;">{{{footnotes}}}</div>}} | | data74 = {{#if:{{{footnotes|}}}|<div style="text-align: left;">{{{footnotes}}}</div>}} | ||
| below = {{{esli|}}} | |||
| belowstyle = background-color:#eee; | |||
}}<!-- | }}<!-- | ||
-->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using | -->{{#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 | 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 | | 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 | thesis | thesis_title | title | URL | url | website | works | years active | years_active | yearsactive | esli }}<!-- | ||
-->{{Main other|{{#if:{{{pronunciation|}}}|[[Category:Biography template using pronunciation]]}}<!-- | -->{{#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 | thesis | thesis_title | title | URL | url | website | works | years active | years_active | yearsactive | esli }}<!-- | |||
-->{{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]]}}<!-- | -->{{#if:{{{signature|}}}|[[Category:Biography with signature]]}}<!-- | ||
-->[[Category:Articles with hCards]] | -->[[Category:Articles with hCards]] | ||
Line 216: | Line 214: | ||
-->{{#invoke:Check for clobbered parameters|check | -->{{#invoke:Check for clobbered parameters|check | ||
| nested = 1 | | nested = 1 | ||
| template = | | template = Infobox person | ||
| cat = {{main other|Category:Pages using | | 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 | ||
Line 236: | Line 234: | ||
| known for= known_for; known | | known for= known_for; known | ||
| {{#if:{{{works|}}}|works;}} {{#if:{{{credits|}}}|credits;}} {{#if:{{{label_name|}}}|label_name;}} notable works; notable_works | | {{#if:{{{works|}}}|works;}} {{#if:{{{credits|}}}|credits;}} {{#if:{{{label_name|}}}|label_name;}} notable works; notable_works | ||
| net worth; net_worth; networth | |||
| height_m; height_cm | | height_m; height_cm | ||
| office; title | | office; title | ||
Line 255: | Line 254: | ||
| 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> |