Template:Infobox person: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>SMcCandlish
(prevent a common "error" that's actually normal English)
meta>SMcCandlish
(code cleanup; support alt. parameter names found in various templates, incl. url, post-nominals, and pre-nominals; removed dead code; fixed legit parameters missing from checklist - sandboxed, working fine)
Line 3: Line 3:


| above      = {{Br separated entries
| above      = {{Br separated entries
  | 1 = {{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|}}}}}}}}}|<span class="honorific-prefix" style="font-size: 77%; font-weight: normal;">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix}}}}}}}}}</span>}}
  | 1 = {{#if:{{{honorific prefix|}}}{{{honorific_prefix|}}}{{{honorific-prefix|}}}{{{pre-nominals|}}}|<span class="honorific-prefix" style="font-size: 77%; font-weight: normal;">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals}}}}}}}}}}}}</span>}}
  | 2 = <span class="fn">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</span>
  | 2 = <span class="fn">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</span>
  | 3 = {{#if:{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|}}}}}}}}}|<span class="honorific-suffix" style="font-size: 77%; font-weight: normal;">{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix}}}}}}}}}</span>}}
  | 3 = {{#if:{{{honorific suffix|}}}{{{honorific_suffix|}}}{{{honorific-suffix|}}}{{{post-nominals|}}}|<span class="honorific-suffix" style="font-size: 77%; font-weight: normal;">{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals}}}}}}}}}}}}</span>}}
  }}
  }}
| abovestyle = {{{abovestyle|}}}
| abovestyle = {{{abovestyle|}}}
Line 19: Line 19:


| label10    = Born
| label10    = Born
| data10    = {{Br separated entries|1={{#if:{{{birth_name|{{{birthname|}}}}}}|<span class="nickname">{{{birth_name|{{{birthname|}}}}}}</span>}}|2={{{birth_date|}}}|3={{#if:{{{birth_place|}}}|<span class="birthplace">{{{birth_place|}}}</span>}}}}
| data10    = {{Br separated entries|1={{#if:{{{birth_name|}}}{{{birthname|}}}|<span class="nickname">{{{birth_name|{{{birthname|}}}}}}</span>}}|2={{{birth_date|}}}|3={{#if:{{{birth_place|}}}|<span class="birthplace">{{{birth_place|}}}</span>}}}}


| label11    = Baptised
| label11    = Baptised
Line 57: Line 57:
| data21    = {{{other names|{{{other_names|{{{othername|{{{nickname|{{{alias|}}}}}}}}}}}}}}}
| data21    = {{{other names|{{{other_names|{{{othername|{{{nickname|{{{alias|}}}}}}}}}}}}}}}
| class21    = nickname
| class21    = nickname
| label22    = Ethnicity
| data22    =
| class22    = category


| label23    = Citizenship
| label23    = Citizenship
Line 115: Line 111:


| 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|}}}}}}}


| label41    = Weight
| label41    = Weight
Line 149: Line 145:
| label50    = Board member&nbsp;of
| label50    = Board member&nbsp;of
| data50    = {{{boards|}}}
| data50    = {{{boards|}}}
<!--
| label51    = Religion
| data51    = {{#if:{{{religion|}}}|{{{religion|}}} {{#if:{{{denomination|}}}|({{{denomination|}}})|}}|}}
| class51    = category


| label52    = Denomination
| label51   = Criminal charge
| data52    = {{#if:{{{religion|}}}||{{{denomination|}}}}}
| data51     = {{{criminal charge|{{{criminal_charge|}}}}}}
| class52    = category
-->
| label53   = Criminal charge
| data53     = {{{criminal charge|{{{criminal_charge|}}}}}}


| label54   = Criminal penalty
| label52   = Criminal penalty
| data54     = {{{criminal penalty|{{{criminal_penalty|}}}}}}
| data52     = {{{criminal penalty|{{{criminal_penalty|}}}}}}


| label55   = {{#if:{{{judicial_status|{{{judicial status|}}}}}}|Judicial status|Criminal status}}
| label53   = {{#if:{{{judicial status|}}}{{{judicial_status|}}}|Judicial status|Criminal status}}
| data55     = {{#if:{{{judicial status|{{{judicial_status|}}}}}} | {{{judicial status|{{{judicial_status}}}}}} | {{{criminal status|{{{criminal_status|}}}}}}}}
| data53     = {{#if:{{{judicial status|}}}{{{judicial_status|}}} | {{{judicial status|{{{judicial_status}}}}}} | {{{criminal status|{{{criminal_status|}}}}}}}}
| class55   = category
| class53   = category


| label56   = <span class="nowrap">Spouse(s)</span>
| label54   = <span class="nowrap">Spouse(s)</span>
| data56     = {{{spouse|}}}
| data54     = {{{spouse|}}}


| label57   = <span class="nowrap">Partner(s)</span>
| label55   = <span class="nowrap">Partner(s)</span>
| data57     = {{{partner|{{{domesticpartner|{{{domestic_partner|}}}}}}}}}
| data55     = {{{partner|{{{domesticpartner|{{{domestic_partner|}}}}}}}}}


| label58   = Children
| label56   = Children
| data58     = {{{children|}}}
| data56     = {{{children|}}}


| label59   = Parent{{#if:{{{parents|}}}|(s)|{{#if:{{{father|}}}|{{#if:{{{mother|}}}|s|(s)}}|(s)}}}}
| label57   = Parent{{#if:{{{parents|}}}|(s)|{{#if:{{{father|}}}|{{#if:{{{mother|}}}|s|(s)}}|(s)}}}}
| data59     = {{#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)}}}}}}


| label60   = Relatives
| label58   = Relatives
| data60     = {{{relations|{{{relatives|}}}}}}
| data58     = {{{relations|{{{relatives|}}}}}}


| label61   = Family
| label59   = Family
| data61     = {{{family|}}}
| data59     = {{{family|}}}


| label62   = Call-sign
| label60   = Call-sign
| data62     = {{{callsign|}}}
| data60     = {{{callsign|}}}


| label63   = Awards
| label61   = Awards
| data63     = {{{awards|}}}
| data61     = {{{awards|}}}


| label64   = {{#if:{{{honours|}}}|Honours|Honors}}
| label62   = {{#if:{{{honours|}}}|Honours|Honors}}
| data64     = {{#if:{{{honours|}}}|{{{honours|}}}|{{{honors|}}}}}
| data62     = {{{honours|{{{honors|}}}}}}


| label65   = Website
| label63   = Website
| data65     = {{{website|{{{homepage|{{{URL|}}}}}}}}}
| data63     = {{{website|{{{homepage|{{{URL|{{{url|}}}}}}}}}}}}


| data66     = {{{misc|{{{module|}}}}}}
| data64     = {{{misc|{{{module|}}}}}}
| data67     = {{{misc2|{{{module2|}}}}}}
| data65     = {{{misc2|{{{module2|}}}}}}
| data68     = {{{misc3|{{{module3|}}}}}}
| data66     = {{{misc3|{{{module3|}}}}}}
| data69     = {{{misc4|{{{module4|}}}}}}
| data67     = {{{misc4|{{{module4|}}}}}}
| data70     = {{{misc5|{{{module5|}}}}}}
| data68     = {{{misc5|{{{module5|}}}}}}
| data71     = {{{misc6|{{{module6|}}}}}}
| data69     = {{{misc6|{{{module6|}}}}}}


| header72   = {{#if:{{{signature|}}}|Signature}}
| header70   = {{#if:{{{signature|}}}|Signature}}
| data73     = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}}
| data71     = {{#invoke:InfoboxImage|InfoboxImage|image={{{signature|}}}|size={{{signature_size|}}}|sizedefault=150px|alt={{{signature alt|{{{signature_alt|}}}}}}}}


| header74   = {{#if:{{{footnotes|}}}|Notes}}
| header72   = {{#if:{{{footnotes|}}}|Notes}}
| data75     = {{#if:{{{footnotes|}}}|<div style="text-align: left;">
| data73     = {{#if:{{{footnotes|}}}|<div style="text-align: left;">
{{{footnotes}}}</div>}}
{{{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
-->{{#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 | 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_penalty | criminal_status | death cause | death_cause | death_date | death_place | disappeared_date | disappeared_place | disappeared_status | domestic_partner | domesticpartner | education | employer | era | family | father | footnotes | height | height_cm | height_ft | height_in | height_m | home town | home_town | homepage | 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 | 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 | party | predecessor | pronunciation | relations | relatives | residence | resting place | resting place coordinates | resting_place | resting_place_coordinates | restingplace | restingplacecoordinates | salary | signature | signature alt | signature_alt | signature_size | spouse | status | style | successor | television | term | title | URL | website | weight | weight_kg | weight_lb | weight_st | works | years active | years_active | yearsactive}}<!--{{#if:{{{religion|}}}|{{#invoke:RexxS|prevwarn|message=the religion parameter will be removed soon.}}}}
| abovestyle | agent | alias | alma mater | alma_mater | alt | awards | baptised | 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_penalty | criminal_status | death cause | death_cause | death_date | death_place | disappeared_date | disappeared_place | disappeared_status | domestic_partner | domesticpartner | education | employer | era | family | father | footnotes | height | height_cm | height_ft | height_in | height_m | home town | home_town | 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 | 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 | party | predecessor | pre-nominals | post-nominals | pronunciation | relations | relatives | residence | resting place | resting place coordinates | resting_place | resting_place_coordinates | restingplace | restingplacecoordinates | salary | signature | signature alt | signature_alt | signature_size | spouse | status | style | successor | television | term | title | URL | url | website | weight | weight_kg | weight_lb | weight_st | works | years active | years_active | yearsactive}}<!--{{#if:{{{religion|}}}|{{#invoke:RexxS|prevwarn|message=the religion parameter will be removed soon.}}}}
-->{{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]]}}<!--

Revision as of 19:39, 19 December 2017

Infobox person