Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox politician: Difference between revisions

Template page
No edit summary
(Removed parameter check, corrected name of the template in the text model, removed alternative "birthname" parameter)
 
(27 intermediate revisions by 6 users not shown)
Line 12: Line 12:


| imageclass = image
| imageclass = image
| imagestyle = padding-top:.4em;padding-bottom:.3em;
| 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|{{{birthname|}}}}}}|<div style="display:inline" class="nickname">{{{birth_name|{{{birthname}}}}}}</div>}}
  |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 line
| 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}}} }}


}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox revolutionary with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox revolutionary]] with unknown parameter "_VALUE_"|ignoreblank=y| _subheader | 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 | political_line | political_party}}
}}
<noinclude>
<noinclude>
How to use this template:
How to use this template:
  <nowiki>
  <nowiki>
{{Infobox revolutionary
{{Infobox politician
| honorific_prefix =
| honorific_prefix =
| name =  
| name =  
Line 69: Line 69:
| death_place =
| death_place =
| death_cause =
| death_cause =
| political_line =  
| political_orientation =  
| political_party =
| political_party =
| website =
| footnotes =  
| footnotes =  
}}
}}
Line 77: Line 78:
{
{
"params": {
"params": {
"honorific prefix": {},
"_subheader": {},
"_subheader": {},
"image_upright": {},
"image_upright": {},
"image_alt": {},
"image_alt": {},
"image_size": {},
"image_size": {},
"caption": {},
"birth_name": {},
"birth_name": {},
"birthname": {},
"image": {
"birth_date": {},
        "type": "wiki-file-name"
"birth_place": {},
          },
"death_date": {},
"honorific_prefix": {},
"death_place": {},
"death_cause": {},
"nationality": {},
"political_line": {
"description": "Here it goes the ideology or praxis the person followed/follows. For example: Lenin: Marxism, Stalin: Marxism-Leninism."
},
"political_party": {},
"website": {},
"website": {},
"footnotes": {},
"footnotes": {},
"Image": {
"name": {
"description": "Image of the person."
"description": "Name by which the person is most commonly known."
},
},
"image": {},
"native_name": {
"native_name": {
"description": "Complete name, in original language.",
"description": "Complete name, in original language.",
"example": "Mao Zedong would be like: 毛澤東, Lenin would be like: Владимир Ильич Ульянов"
"example": "Mao Zedong would be like: 毛澤東, Lenin would be like: Владимир Ильич Ульянов"
},
},
"Name": {
"caption": {},
"description": "Name by which the person is most commonly known."
"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": [
"paramOrder": [
"honorific prefix",
"honorific_prefix",
"Name",
"name",
"native_name",
"native_name",
"_subheader",
"_subheader",
"Image",
"image_upright",
"image_upright",
"image_alt",
"image_alt",
Line 120: Line 119:
"caption",
"caption",
"birth_name",
"birth_name",
"birthname",
"birth_date",
"birth_date",
"birth_place",
"birth_place",
Line 127: Line 125:
"death_cause",
"death_cause",
"nationality",
"nationality",
"political_line",
"political_orientation",
"political_party",
"political_party",
"website",
"website",

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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
honorific_prefixhonorific_prefix

no description

Unknownoptional
namename

Name by which the person is most commonly known.

Unknownoptional
native_namenative_name

Complete name, in original language.

Example
Mao Zedong would be like: 毛澤東, Lenin would be like: Владимир Ильич Ульянов
Unknownoptional
_subheader_subheader

no description

Unknownoptional
image_uprightimage_upright

no description

Unknownoptional
image_altimage_alt

no description

Unknownoptional
image_sizeimage_size

no description

Unknownoptional
captioncaption

no description

Unknownoptional
birth_namebirth_name

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
political_orientationpolitical_orientation

Here it goes the ideology or praxis the person followed/follows. For example: Lenin: Marxism, Stalin: Marxism-Leninism.

Unknownoptional
political_partypolitical_party

no description

Unknownoptional
websitewebsite

no description

Unknownoptional
footnotesfootnotes

no description

Unknownoptional
imageimage

no description

Fileoptional