Jump to content

Template:Infobox person

From InfraWiki
Revision as of 06:50, 21 January 2024 by imported>Neos

<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 =
| 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>