Template:Infobox person: Difference between revisions
imported>Neos No edit summary |
imported>Neos No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 39: | Line 39: | ||
| class5 = category | | class5 = category | ||
| data5 = {{{known|}}} | | data5 = {{{known|}}} | ||
| label8 = Occupation | |||
| data8 = {{{occupation|}}} | |||
| label6 = Field of study | | label6 = Field of study | ||
| data6 = {{{field|}}} | | data6 = {{{field|}}} | ||
| label9 = Ideology | |||
| data9 = {{{ideology|}}} | |||
| label10 = Political Party | |||
| data10 = {{{political_party|}}} | |||
| label11 = Religious affiliation | |||
| data11 = {{{religion|}}} | |||
| header75 = {{#if:{{{website|}}} |Website}} | | header75 = {{#if:{{{website|}}} |Website}} | ||
| Line 69: | Line 81: | ||
| political_party = | | political_party = | ||
| religion = | | religion = | ||
| website = | |||
| birth_name = | | birth_name = | ||
| birth_date = | | birth_date = | ||
Latest revision as of 07:12, 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>