Template:Infobox politician: Difference between revisions

Template page
No edit summary
Tag: Reverted
(Removed parameter check, corrected name of the template in the text model, removed alternative "birthname" parameter)
 
(16 intermediate revisions by 2 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 19: Line 19:
| labelstyle = line-height:1.3em;
| labelstyle = line-height:1.3em;
| datastyle = line-height:1.3em;
| datastyle = line-height:1.3em;
| order              =
 
| office            =
| status            =  <!--If this is specified, overrides Incumbent.-->
| term_start        =
| term_end          =  <!-- Add data only when the actual term has ended, not for terms Which will end in the future. (Per usage guideline.) -->
| subterm            =
| suboffice          =
| alongside          =  <!--For two or more people serving in the same position from the Same district.  (e.g. United States senators.)-->
| monarch            =
| president          =
| governor_general  =
| primeminister      =
| taoiseach          =
| chancellor        =
| governor          =
| co-leader          =
| vicepresident      =
| viceprimeminister  =
| deputy            =
| lieutenant        =
| succeeding        =  <!--For President-elect or equivalent-->
| parliamentarygroup =
| constituency      =
| majority          =
| predecessor        =
| successor          =  <!-- should not be filled until the successor takes office-->
| prior_term        =
| order2            =  <!--Can be repeated up to 16 times by changing the number-->
| office2            =  <!--Can be repeated up to 16 times by changing the number-->
| term_start2        =  <!--Can be repeated up to 16 times by changing the number-->
| term_end2          =  <!--Can be repeated up to 16 times by changing the number-->
| subterm2          =  <!--Can be repeated up to 16 times by changing the number-->
| suboffice2        =  <!--Can be repeated up to 16 times by changing the number-->
| alongside2        =  <!--Can be repeated up to 16 times by changing the number-->
| monarch2          =  <!--Can be repeated up to 16 times by changing the number-->
| president2        =  <!--Can be repeated up to 16 times by changing the number-->
| governor_general2  =  <!--Can be repeated up to 16 times by changing the number-->
| primeminister2    =  <!--Can be repeated up to 16 times by changing the number-->
| chancellor2        =  <!--Can be repeated up to 16 times by changing the number-->
| taoiseach2        =  <!--Can be repeated up to 16 times by changing the number-->
| governor2          =  <!--Can be repeated up to 16 times by changing the number-->
| co-leader2        =  <!--Can be repeated up to 16 times by changing the number-->
| vicepresident2    =  <!--Can be repeated up to 16 times by changing the number-->
| viceprimeminister2 =  <!--Can be repeated up to 16 times by changing the number-->
| deputy2            =  <!--Can be repeated up to 16 times by changing the number-->
| lieutenant2        =  <!--Can be repeated up to 16 times by changing the number-->
| succeeding2        =  <!--Can be repeated up to 16 times by changing the number-->
| predecessor2      =  <!--Can be repeated up to 16 times by changing the number-->
| successor2        =  <!--Can be repeated up to 16 times by changing the number-->
| parliamentarygroup2=  <!--Can be repeated up to 16 times by changing the number-->
| constituency2      =  <!--Can be repeated up to 16 times by changing the number-->
| majority2          =  <!--Can be repeated up to 16 times by changing the number-->
| prior_term2        =  <!--Can be repeated up to 16 times by changing the number-->
| 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 101: 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 123: Line 71:
| political_orientation =  
| political_orientation =  
| political_party =
| political_party =
| website =
| footnotes =  
| footnotes =  
| order              =
| office            =
| status            =  <!--If this is specified, overrides Incumbent.-->
| term_start        =
| term_end          =  <!-- Add data only when the actual term has ended, not for terms Which will end in the future. (Per usage guideline.) -->
| subterm            =
| suboffice          =
| alongside          =  <!--For two or more people serving in the same position from the Same district.  (e.g. United States senators.)-->
| monarch            =
| president          =
| governor_general  =
| primeminister      =
| taoiseach          =
| chancellor        =
| governor          =
| co-leader          =
| vicepresident      =
| viceprimeminister  =
| deputy            =
| lieutenant        =
| succeeding        =  <!--For President-elect or equivalent-->
| parliamentarygroup =
| constituency      =
| majority          =
| predecessor        =
| successor          =  <!-- should not be filled until the successor takes office-->
| prior_term        =
| order2            =  <!--Can be repeated up to 16 times by changing the number-->
| office2            =  <!--Can be repeated up to 16 times by changing the number-->
| term_start2        =  <!--Can be repeated up to 16 times by changing the number-->
| term_end2          =  <!--Can be repeated up to 16 times by changing the number-->
| subterm2          =  <!--Can be repeated up to 16 times by changing the number-->
| suboffice2        =  <!--Can be repeated up to 16 times by changing the number-->
| alongside2        =  <!--Can be repeated up to 16 times by changing the number-->
| monarch2          =  <!--Can be repeated up to 16 times by changing the number-->
| president2        =  <!--Can be repeated up to 16 times by changing the number-->
| governor_general2  =  <!--Can be repeated up to 16 times by changing the number-->
| primeminister2    =  <!--Can be repeated up to 16 times by changing the number-->
| chancellor2        =  <!--Can be repeated up to 16 times by changing the number-->
| taoiseach2        =  <!--Can be repeated up to 16 times by changing the number-->
| governor2          =  <!--Can be repeated up to 16 times by changing the number-->
| co-leader2        =  <!--Can be repeated up to 16 times by changing the number-->
| vicepresident2    =  <!--Can be repeated up to 16 times by changing the number-->
| viceprimeminister2 =  <!--Can be repeated up to 16 times by changing the number-->
| deputy2            =  <!--Can be repeated up to 16 times by changing the number-->
| lieutenant2        =  <!--Can be repeated up to 16 times by changing the number-->
| succeeding2        =  <!--Can be repeated up to 16 times by changing the number-->
| predecessor2      =  <!--Can be repeated up to 16 times by changing the number-->
| successor2        =  <!--Can be repeated up to 16 times by changing the number-->
| parliamentarygroup2=  <!--Can be repeated up to 16 times by changing the number-->
| constituency2      =  <!--Can be repeated up to 16 times by changing the number-->
| majority2          =  <!--Can be repeated up to 16 times by changing the number-->
| prior_term2        =  <!--Can be repeated up to 16 times by changing the number-->
}}
}}
</nowiki>
</nowiki>
Line 186: Line 82:
"image_alt": {},
"image_alt": {},
"image_size": {},
"image_size": {},
"birthname": {},
"birth_name": {},
"image": {
"image": {
         "type": "wiki-file-name"
         "type": "wiki-file-name"
           },
           },
"Honorific prefix": {},
"honorific_prefix": {},
"Website": {},
"website": {},
"Footnotes": {},
"footnotes": {},
"name": {
"name": {
"description": "Name by which the person is most commonly known."
"description": "Name by which the person is most commonly known."
Line 214: Line 110:
},
},
"paramOrder": [
"paramOrder": [
"Honorific prefix",
"honorific_prefix",
"name",
"name",
"native_name",
"native_name",
Line 223: Line 119:
"caption",
"caption",
"birth_name",
"birth_name",
"birthname",
"birth_date",
"birth_date",
"birth_place",
"birth_place",
Line 232: Line 127:
"political_orientation",
"political_orientation",
"political_party",
"political_party",
"Website",
"website",
"Footnotes",
"footnotes",
"image"
"image"
]
]
}
}
</templatedata></noinclude>
</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.

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