Template:Infobox person: Difference between revisions
by convention category name should be lowercased |
m 515 revisions imported |
||
| (11 intermediate revisions by 4 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: | | 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|}}}'''}}}} | ||
| subheader2 = {{#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}}}">}} | | subheader2 = {{#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>}} }} }} | ||
| subheaderstyle2 = font-size: 125% | |||
| 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|{{{image_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|{{{image_alt|}}}}}}|suppressplaceholder=yes}} | ||
| Line 16: | 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={{# | |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 31: | Line 32: | ||
| label14 = Died | | label14 = Died | ||
| data14 = {{br separated entries | | data14 = {{br separated entries | ||
|1={{# | |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 47: | Line 48: | ||
| label18 = Monuments | | label18 = Monuments | ||
| data18 = {{{monuments|}}} | | data18 = {{{monuments|}}} | ||
| label21 = Other names | | label21 = Other names | ||
| Line 73: | Line 66: | ||
| data25 = {{{alma mater|{{{alma_mater|}}}}}} | | data25 = {{{alma mater|{{{alma_mater|}}}}}} | ||
| label26 = Occupation{{Pluralize from text|{{{occupation|}}} | | label26 = Occupation{{Pluralize from text|{{{occupation|}}}|plural=s}} | ||
| data26 = {{{occupation|}}} | | data26 = {{{occupation|}}} | ||
| class26 = role | | class26 = role | ||
| Line 216: | Line 209: | ||
-->[[Category:Articles with hCards]] | -->[[Category:Articles with hCards]] | ||
}}<!-- | }}<!-- | ||
-->{{#invoke:Check for | -->{{#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 259: | 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> | ||