Template:Infobox person: Difference between revisions

Template page
m (Alma mater test)
m (Troubleshooting)
(5 intermediate revisions by 3 users not shown)
Line 39: Line 39:
| class5 = category
| class5 = category
|  data5 = {{{known|}}}
|  data5 = {{{known|}}}
| label6 = Field of study
| data6 = {{{field|}}}


| header75 = {{#if:{{{website|}}} |Website}}
| header75 = {{#if:{{{website|}}} |Website}}
Line 46: 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 | alma_mater | birth_date | birth_name | birth_place | caption | death_cause | death_date | death_place | honorific_prefix | image | image_alt | image_size | image_upright | name | native_name | nationality | known}}
}}{{#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 | birthname | birth_place | caption | death_cause | death_date | death_place | field | honorific_prefix |  honorific prefix | image | image_alt | image_size | image_upright | name | native_name | nationality | known| website}}
<noinclude>
<noinclude>
How to use this template:
How to use this template:
Line 61: Line 64:
| nationality =  
| nationality =  
| known =  
| known =  
| field =
| birth_name =
| birth_name =
| birth_date =
| birth_date =
Line 70: 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": {},
"birthname": {},
"birth_date": {},
"birth_place": {},
"death_date": {},
"death_place": {},
"death_cause": {},
"nationality": {},
"known": {},
"field": {},
"website": {},
"footnotes": {}
}
}
</templatedata></noinclude>

Revision as of 14:30, 28 March 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
birthnamebirthname

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