Template:Infobox person: Difference between revisions
imported>Neos No edit summary |
imported>Neos No edit summary |
||
| Line 78: | Line 78: | ||
| political_party = | | political_party = | ||
| religion = | | religion = | ||
| website = | |||
| birth_name = | | birth_name = | ||
| birth_date = | | birth_date = | ||
Revision as of 06:52, 21 January 2024
<templatestyles src="Template:Infobox/styles.css"/>{{#invoke:Infobox|infobox}}{{#invoke:Check for unknown parameters|check|unknown={{#switch:
{{#if:
| {{{demospace}}}
| {{#ifeq:Template|
| main
| other
}}
}}
| main = | other | #default = }}|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 | honorific prefix | image | image_alt | image_size | image_upright | name | native_name | nationality | known}}
How to use this template:
{{Infobox person
| honorific_prefix =
| name =
| native_name =
| image =
| image_size =
| image_upright =
| image_alt =
| caption =
| nationality =
| known =
| occupation =
| field =
| ideology =
| political_party =
| religion =
| website =
| birth_name =
| birth_date =
| birth_place =
| death_date =
| death_place =
| death_cause =
| footnotes =
}}
<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": {}, "occupation": {}, "field": {}, "ideology": {}, "political_party": {}, "religion": {}, "website": {}, "footnotes": {} } } </templatedata>