Jump to content

Template:Infobox person: Difference between revisions

From Cameroon Heritage Encyclopedia
move font-size to undocumented subheaderstyle2 parameter so that it is not in the if statement
m 515 revisions imported
 
(9 intermediate revisions by 3 users not shown)
Line 2: Line 2:
| bodyclass  = biography vcard
| bodyclass  = biography vcard


| above      = {{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}|<div class="honorific-prefix" style="font-size: 77%; font-weight: normal;">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}</div>}}<div class="fn">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</div>{{#if:{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals|}}}}}}}}}}}}|<div class="honorific-suffix" style="font-size: 77%; font-weight: normal;">{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals|}}}}}}}}}}}}</div>}}
| above      = {{#if:{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}|<div class="honorific-prefix" style="font-size: 80%; font-weight: normal;">{{{honorific prefix|{{{honorific_prefix|{{{honorific-prefix|{{{pre-nominals|}}}}}}}}}}}}</div>}}<div class="fn">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAMEBASE}}}}</div>{{#if:{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals|}}}}}}}}}}}}|<div class="honorific-suffix" style="font-size: 80%; font-weight: normal;">{{{honorific suffix|{{{honorific_suffix|{{{honorific-suffix|{{{post-nominals|}}}}}}}}}}}}</div>}}


| subheader    = {{#ifeq:{{lc: {{{child|{{{embed|}}}}}}}}|yes|{{#if:{{{embed_title|}}}|'''{{{embed_title|}}}'''}}}}
| subheader    = {{#ifeq:{{lc: {{{child|{{{embed|}}}}}}}}|yes|{{#if:{{{embed_title|}}}|'''{{{embed_title|}}}'''}}}}
Line 17: Line 17:
| data10    = {{br separated entries
| data10    = {{br separated entries
   |1={{#if:{{{birth_name|}}}{{{birthname|}}}|<div style="display:inline" class="nickname">{{{birth_name|{{{birthname|}}}}}}</div>}}
   |1={{#if:{{{birth_name|}}}{{{birthname|}}}|<div style="display:inline" class="nickname">{{{birth_name|{{{birthname|}}}}}}</div>}}
   |2={{#if:{{{birth_date|}}} | {{Infobox person/birth|{{{birth_date|}}}|{{{death_date|}}} }} }}
   |2={{#invoke:person date|birth}}
   |3={{#if:{{{birth_place|}}}|<div style="display:inline" class="birthplace">{{{birth_place|}}}</div>}}
   |3={{#if:{{{birth_place|}}}|<div style="display:inline" class="birthplace">{{{birth_place|}}}</div>}}
}}
}}
Line 32: Line 32:
| label14    = Died
| label14    = Died
| data14    = {{br separated entries
| data14    = {{br separated entries
   |1={{#if:{{{death_date|}}} | {{Infobox person/death|{{{birth_date|}}}|{{{death_date}}} }} }}
   |1={{#invoke:person date|death}}
   |2={{#if:{{{death_place|}}}|<div style="display:inline" class="deathplace">{{{death_place|}}}</div>}}
   |2={{#if:{{{death_place|}}}|<div style="display:inline" class="deathplace">{{{death_place|}}}</div>}}
}}
}}
Line 48: Line 48:
| label18    = Monuments
| label18    = Monuments
| data18    = {{{monuments|}}}
| data18    = {{{monuments|}}}
<!-- removed per discussion at https://en.wikipedia.org/w/index.php?title=Template_talk:Infobox_person&oldid=932429196#Residence_parameter
| label19    = Residence
| data19    = {{{residence|}}}
| class19    = {{#if:{{{death_date|}}}{{{death_place|}}}||label}}
-->
| label20    = Nationality
| data20    = {{{nationality|}}}
| class20    = category


| label21    = Other&nbsp;names
| label21    = Other&nbsp;names
Line 74: Line 66:
| data25    = {{{alma mater|{{{alma_mater|}}}}}}
| data25    = {{{alma mater|{{{alma_mater|}}}}}}


| label26    = Occupation{{Pluralize from text|{{{occupation|}}}|likely=(s)|plural=s}}
| label26    = Occupation{{Pluralize from text|{{{occupation|}}}|plural=s}}
| data26    = {{{occupation|}}}
| data26    = {{{occupation|}}}
| class26    = role
| class26    = role
Line 217: Line 209:
-->[[Category:Articles with hCards]]
-->[[Category:Articles with hCards]]
}}<!--
}}<!--
-->{{#invoke:Check for clobbered parameters|check
-->{{#invoke:Check for conflicting parameters|check
| nested = 1
| nested = 1
| template = [[Template:{{#if:{{{template_name|}}}|{{ucfirst:{{{template_name|}}}}}|Infobox person}}]]
| template = [[Template:{{#if:{{{template_name|}}}|{{ucfirst:{{{template_name|}}}}}|Infobox person}}]]
Line 260: Line 252:
| misc6; module6
| misc6; module6
| website; homepage; URL; url
| website; homepage; URL; url
}}{{#invoke:Check for deprecated parameters|check
| _category = {{main other|[[Category:Pages using infobox person with deprecated parameters|_VALUE_]]}}
| preview = Page using [[Template:{{#if:{{{template_name|}}}|{{ucfirst:{{{template_name|}}}}}|Infobox person}}]] with deprecated parameter _VALUE_
| _remove = nationality
}}<includeonly>{{#ifeq:{{{child|{{{embed|}}}}}}|yes||{{Wikidata image|1={{{image|}}}|2={{{nocat_wdimage|}}}}}}}</includeonly><noinclude>
}}<includeonly>{{#ifeq:{{{child|{{{embed|}}}}}}|yes||{{Wikidata image|1={{{image|}}}|2={{{nocat_wdimage|}}}}}}}</includeonly><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 13:18, 23 January 2026

Expression error: Unrecognized punctuation character "[".Expression error: Unrecognized punctuation character "[".

Template:Documentation