More languages
More actions
mNo edit summary |
(Removed parameter check, corrected name of the template in the text model, removed alternative "birthname" parameter) |
||
(34 intermediate revisions by 6 users not shown) | |||
Line 12: | Line 12: | ||
| imageclass = image | | imageclass = image | ||
| imagestyle = | | imagestyle = text-align:center;padding:0.5em 0; | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|upright={{{image_upright|0.8}}}|alt={{{image_alt|}}}|size={{{image_size|}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|upright={{{image_upright|0.8}}}|alt={{{image_alt|}}}|size={{{image_size|}}}}} | ||
| caption = {{{caption|}}} | | caption = {{{caption|}}} | ||
Line 22: | Line 22: | ||
| label1 = Born | | label1 = Born | ||
| data1 = {{br separated entries | | data1 = {{br separated entries | ||
|1 = {{#if:{{{birth_name | |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 36: | Line 36: | ||
| data4 = {{{nationality|}}} | | data4 = {{{nationality|}}} | ||
| label5 = Political | | label5 = Political orientation | ||
| class5 = category | | class5 = category | ||
| data5 = {{{political_line|}}} | | data5 = {{{political_orientation|{{{political_line|}}}}}} | ||
| label6 = Political party | | label6 = Political party | ||
Line 49: | Line 49: | ||
| below = {{#if:{{{footnotes|}}} |<hr/>{{{footnotes}}} }} | | below = {{#if:{{{footnotes|}}} |<hr/>{{{footnotes}}} }} | ||
}} | |||
<noinclude> | <noinclude> | ||
How to use this template: | How to use this template: | ||
<nowiki> | <nowiki> | ||
{{Infobox | {{Infobox politician | ||
| honorific_prefix = | | honorific_prefix = | ||
| name = | | name = | ||
Line 69: | Line 69: | ||
| death_place = | | death_place = | ||
| death_cause = | | death_cause = | ||
| | | political_orientation = | ||
| political_party = | | political_party = | ||
| website = | |||
| footnotes = | | footnotes = | ||
}} | }} | ||
</nowiki> | </nowiki> | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"_subheader": {}, | |||
"image_upright": {}, | |||
"image_alt": {}, | |||
"image_size": {}, | |||
"birth_name": {}, | |||
"image": { | |||
"type": "wiki-file-name" | |||
}, | |||
"honorific_prefix": {}, | |||
"website": {}, | |||
"footnotes": {}, | |||
"name": { | |||
"description": "Name by which the person is most commonly known." | |||
}, | |||
"native_name": { | |||
"description": "Complete name, in original language.", | |||
"example": "Mao Zedong would be like: 毛澤東, Lenin would be like: Владимир Ильич Ульянов" | |||
}, | |||
"caption": {}, | |||
"birth_name": {}, | |||
"birth_date": {}, | |||
"birth_place": {}, | |||
"political_orientation": { | |||
"description": "Here it goes the ideology or praxis the person followed/follows. For example: Lenin: Marxism, Stalin: Marxism-Leninism." | |||
}, | |||
"political_party": {}, | |||
"nationality": {}, | |||
"death_place": {}, | |||
"death_cause": {}, | |||
"death_date": {} | |||
}, | |||
"paramOrder": [ | |||
"honorific_prefix", | |||
"name", | |||
"native_name", | |||
"_subheader", | |||
"image_upright", | |||
"image_alt", | |||
"image_size", | |||
"caption", | |||
"birth_name", | |||
"birth_date", | |||
"birth_place", | |||
"death_date", | |||
"death_place", | |||
"death_cause", | |||
"nationality", | |||
"political_orientation", | |||
"political_party", | |||
"website", | |||
"footnotes", | |||
"image" | |||
] | |||
} | |||
</templatedata></noinclude> |
Latest revision as of 21:39, 3 April 2024
Infobox politician |
---|
How to use this template:
{{Infobox politician | honorific_prefix = | name = | native_name = | image = | image_size = | image_upright = | image_alt = | caption = | nationality = | birth_name = | birth_date = | birth_place = | death_date = | death_place = | death_cause = | political_orientation = | political_party = | website = | footnotes = }}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
honorific_prefix | honorific_prefix | no description | Unknown | optional |
name | name | Name by which the person is most commonly known. | Unknown | optional |
native_name | native_name | Complete name, in original language.
| Unknown | optional |
_subheader | _subheader | no description | Unknown | optional |
image_upright | image_upright | no description | Unknown | optional |
image_alt | image_alt | no description | Unknown | optional |
image_size | image_size | no description | Unknown | optional |
caption | caption | no description | Unknown | optional |
birth_name | birth_name | no description | Unknown | optional |
birth_date | birth_date | no description | Unknown | optional |
birth_place | birth_place | no description | Unknown | optional |
death_date | death_date | no description | Unknown | optional |
death_place | death_place | no description | Unknown | optional |
death_cause | death_cause | no description | Unknown | optional |
nationality | nationality | no description | Unknown | optional |
political_orientation | political_orientation | Here it goes the ideology or praxis the person followed/follows. For example: Lenin: Marxism, Stalin: Marxism-Leninism. | Unknown | optional |
political_party | political_party | no description | Unknown | optional |
website | website | no description | Unknown | optional |
footnotes | footnotes | no description | Unknown | optional |
image | image | no description | File | optional |