Template:Infobox person: Difference between revisions

Template page
mNo edit summary
m (Removing "birthname" as parameter)
 
(4 intermediate revisions by 2 users not shown)
Line 22: Line 22:
| label1 = Born
| label1 = Born
| data1 = {{br separated entries
| data1 = {{br separated entries
  |1 = {{#if:{{{birth_name|{{{birthname|}}}}}}|<div style="display:inline" class="nickname">{{{birth_name|{{{birthname}}}}}}</div>}}
  |1 = {{#if:{{{birth_name|}}}|<div style="display:inline" class="nickname">{{{birth_name|}}}</div>}}
  |2 = {{{birth_date|}}}
  |2 = {{{birth_date|}}}
  |3 = {{{birth_place|}}}
  |3 = {{{birth_place|}}}
Line 49: Line 49:
| below = {{#if:{{{footnotes|}}} |<hr/>{{{footnotes}}} }}
| below = {{#if:{{{footnotes|}}} |<hr/>{{{footnotes}}} }}


}}{{#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| _subheader | birth_date | birth_name | birth_place | caption | death_cause | death_date | death_place | field | honorific_prefix | image | image_alt | image_size | image_upright | name | native_name | nationality | known}}
}}
<noinclude>
<noinclude>
How to use this template:
How to use this template:
Line 74: Line 74:
}}
}}
</nowiki>
</nowiki>
</noinclude>
<templatedata>
{
"params": {
"honorific prefix": {
"label": "Honorific prefix",
"type": "string"
},
"name": {
"label": "Name",
"type": "string",
"required": true
},
"native_name": {
"label": "Native name",
"type": "string",
"suggested": true
},
"_subheader": {
"label": "Subheader"
},
"image": {
"label": "Image",
"type": "wiki-file-name"
},
"image_upright": {},
"image_alt": {},
"image_size": {},
"caption": {
"label": "Image caption",
"type": "string"
},
"birth_name": {},
"birth_date": {},
"birth_place": {},
"death_date": {},
"death_place": {},
"death_cause": {},
"nationality": {},
"known": {},
"field": {},
"website": {},
"footnotes": {}
}
}
</templatedata></noinclude>

Latest revision as of 23:33, 3 April 2024

Infobox person

How to use this template:

{{Infobox person
| honorific_prefix =
| name = 
| native_name = 
| image =
| image_size =
| image_upright =
| image_alt =
| caption =
| nationality = 
| known = 
| field =
| birth_name =
| birth_date =
| birth_place =
| death_date =
| death_place =
| death_cause =
| footnotes = 
}}

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Honorific prefixhonorific prefix

no description

Stringoptional
Namename

no description

Stringrequired
Native namenative_name

no description

Stringsuggested
Subheader_subheader

no description

Unknownoptional
Imageimage

no description

Fileoptional
image_uprightimage_upright

no description

Unknownoptional
image_altimage_alt

no description

Unknownoptional
image_sizeimage_size

no description

Unknownoptional
Image captioncaption

no description

Stringoptional
birth_namebirth_name

no description

Unknownoptional
birth_datebirth_date

no description

Unknownoptional
birth_placebirth_place

no description

Unknownoptional
death_datedeath_date

no description

Unknownoptional
death_placedeath_place

no description

Unknownoptional
death_causedeath_cause

no description

Unknownoptional
nationalitynationality

no description

Unknownoptional
knownknown

no description

Unknownoptional
fieldfield

no description

Unknownoptional
websitewebsite

no description

Unknownoptional
footnotesfootnotes

no description

Unknownoptional