Jump to content

Template:Infobox official post/doc: Difference between revisions

From the Vrienden Universe, a fictional wiki
No edit summary
Remove unused Wikipedia category assignments
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikidata) -->
{{High-use}}
{{High-use}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
Line 179: Line 179:
{{clear}}
{{clear}}


==TemplateData==
 
<templatedata>
{
"params": {
"post": {
"label": "Post",
"description": "Name of the post, do not include links",
"example": "President",
"type": "string",
"required": true,
"aliases": [
"name"
]
},
"body": {
"label": "Body",
"description": "Name of the body which the post is for",
"example": "the European Commission",
"type": "string",
"suggested": true
},
"native_name": {
"label": "Native name",
"type": "line",
"description": "For non-English speaking countries, the native name of the post",
"example": "{{lang|zh-hans|中华人民共和国主席}}"
},
"flag": {
"label": "Flag image",
"description": "A flag, positional color, or command sign associated with this post, if any",
"type": "wiki-file-name"
},
"flagsize": {
"label": "Flag size",
"example": "150px",
"description": "Size of the flag",
"type": "string"
},
"flagborder": {
"label": "Flag border",
"description": "Set to yes or no",
"example": "yes",
"type": "string"
},
"flagcaption": {
"label": "Flag caption",
"type": "content",
"description": "A caption for the flag image"
},
"insignia": {
"label": "Insignia image",
"type": "wiki-file-name",
"description": "Official insignia of the post",
"example": "Seal of the United States Department of the Treasury.svg"
},
"insigniasize": {
"label": "Insignia size",
"example": "150px",
"description": "Size of the insignia image",
"type": "string"
},
"insigniacaption": {
"label": "Insignia caption",
"type": "string",
"description": "Description of the official insignia of the post",
"example": "Seal of the Department of the Treasury"
},
"image": {
"label": "Image",
"type": "wiki-file-name",
"description": "A picture of the incumbent of this post",
"example": "Steven Mnuchin official photo (cropped).jpg",
"suggested": true
},
"imagesize": {
"label": "Image size",
"example": "150px",
"description": "Size of the image, in px format",
"type": "string"
},
"alt": {
"label": "Alt text",
"description": "Alt text for image",
"type": "string"
},
"imagecaption": {
"label": "Image caption",
"description": "Caption for image",
"type": "string"
},
"incumbent": {
"label": "Incumbent",
"type": "line",
"description": "The name of the person who currently holds this role",
"example": "[[Steven Mnuchin]]",
"suggested": true
},
"acting": {
"label": "Acting",
"description": "Set to y or yes if the incumbent is acting",
"example": "yes",
"aliases": [
"Acting"
]
},
"incumbentsince": {
"label": "Incumbent since",
"description": "Date incumbent took office",
"type": "string"
},
"type": {
"label": "Type",
"type": "string"
},
"status": {
"label": "Status",
"type": "string"
},
"department": {
"label": "Department",
"description": "Entity this official heads or is part of",
"type": "string"
},
"style": {
"label": "Style",
"description": "Manner of address",
"example": "Mister Secretary",
"type": "string"
},
"member_of": {
"label": "Member of",
"description": "Group that this post is a part of",
"example": "Cabinet",
"type": "string",
"aliases": [
"memberof"
]
},
"reports_to": {
"label": "Reports to",
"description": "Immediate superior of this post",
"example": "The President",
"type": "string",
"aliases": [
"reportsto"
]
},
"residence": {
"label": "Residence",
"description": "Name of official residence",
"type": "string"
},
"seat": {
"label": "Seat",
"description": "Location of office",
"type": "string",
"example": "[[Washington, D.C.]]"
},
"nominator": {
"label": "Nominator",
"description": "Name of post or body, not incumbent",
"type": "string"
},
"appointer": {
"label": "Appointer",
"description": "Name of the post or body that appoints this position, not the incumbent",
"type": "string",
"example": "The [[President of the United States|President]]"
},
"appointer_qualified": {
"label": "Appointer qualification",
"example": "with [[United States Senate|Senate]] [[advice and consent]]",
"description": "A qualification message displayed under the name of the appointing office or body",
"type": "line"
},
"termlength": {
"label": "Term length",
"type": "string",
"description": "the length of a term of this official post",
"example": "4 years"
},
"termlength_qualified": {
"label": "Term length qualification",
"description": "A qualification message displayed under the length of terms",
"example": "No restriction on renewal",
"type": "line"
},
"constituting_instrument": {
"label": "Constituting instrument",
"description": "The official document(s) which provide the formal legal basis for the post",
"type": "string"
},
"precursor": {
"label": "Precursor",
"description": "Immediate precursor post",
"type": "string"
},
"formation": {
"label": "Date of formation",
"description": "Date of the creation of the post or the first officeholder taking office",
"type": "string"
},
"first": {
"label": "First holder",
"description": "The first person to hold this post",
"type": "string"
},
"last": {
"label": "Last holder",
"description": "The last person to hold this post",
"type": "string"
},
"abolished": {
"label": "Abolished",
"description": "Date abolished",
"type": "string"
},
"succession": {
"label": "Succession",
"type": "string",
"description": "Rank of succession of this office",
"example": "[[United States presidential line of succession|Fifth]]<ref>https://www.law.cornell.edu/uscode/text/3/19</ref>"
},
"abbreviation": {
"label": "Official abbreviation",
"type": "string"
},
"unofficial_names": {
"label": "Unofficial names",
"type": "string"
},
"deputy": {
"label": "Deputy",
"type": "string",
"description": "Wikilink to the office of this position's deputy",
"example": "[[Vice President of the People's Republic of China|Vice President]]"
},
"salary": {
"label": "Salary",
"type": "content",
"description": "The salary of this office",
"example": "[[Executive Schedule|Executive Schedule, level I]]<ref>{{UnitedStatesCode|5|5312}}</ref>"
},
"website": {
"label": "Website",
"type": "url"
},
"width": {},
"insigniaalt": {},
"flagalt": {},
"inaugural": {},
"footnotes_title": {},
"footnotes": {},
"child": {},
"embed": {},
"incumbentlabel": {},
"superseded_by": {}
},
"description": "Infobox for official posts",
"format": "block"
}
</templatedata>


== Tracking categories ==
== Tracking categories ==
Line 450: Line 189:
<includeonly>{{Sandbox other||
<includeonly>{{Sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Politics and government infobox templates|Official Post]]
 
[[Category:Templates that add a tracking category]]
 


}}</includeonly>
}}</includeonly>

Latest revision as of 14:41, 16 September 2026

This template is intended to be used for a variety of official posts. It is not meant only for "political offices" per se, but can also be used for civil service, diplomatic, ecclesiastical, judicial, law enforcement, military and other posts of an official and permanent nature.

Note that the template is intended to be used on articles about the post, rather than the person holding it for the moment. For the infobox for use on articles about the actual person who is holding the office or held it in the past, see: {{Infobox officeholder}}.

{{{post}}} of {{{body}}}
{{{native_name}}}
[[File:{{{insignia}}}|{{{insigniasize}}}|alt={{{insigniaalt}}}]]
{{{insigniacaption}}}
[[File:{{{flag}}}|{{{flagsize}}}|alt={{{flagalt}}}]]
{{{flagcaption}}}
[[File:{{{image}}}|{{{imagesize}}}|alt={{{alt}}}|border]]
Incumbent
{{{incumbent}}}
since {{{incumbentsince}}}
{{{department}}}
Style{{{style}}}
Type{{{type}}}
Status{{{status}}}
Abbreviation{{{abbreviation}}}
Member of{{{member_of}}}
Reports to{{{reports_to}}}
Residence{{{residence}}}
Seat{{{seat}}}
Nominator{{{nominator}}}
Appointer{{{appointer}}}
{{{appointer_qualified}}}
Term length{{{termlength}}}
{{{termlength_qualified}}}
Constituting instrument{{{constituting_instrument}}}
Precursor{{{precursor}}}
Inaugural holder{{{inaugural}}}
Formation{{{formation}}}
First holder{{{first}}}
Final holder{{{last}}}
Abolished{{{abolished}}}
Superseded by{{{superseded_by}}}
Succession{{{succession}}}
Unofficial names{{{unofficial_names}}}
Deputy{{{deputy}}}
Salary{{{salary}}}
Website{{{website}}}
{{{footnotes}}}

All parameters are optional, except for post. It is preferable to have wikilinks to persons, institutions and other items in the template wherever that is possible.

<syntaxhighlight lang="wikitext" style="overflow:auto;"> </syntaxhighlight>

Parameters

[edit source]

<syntaxhighlight lang="wikitext" style="overflow:auto;"> </syntaxhighlight>


Tracking categories

[edit source]


See also

[edit source]