Template:Infobox official post: Difference between revisions
(Created page with "{{Infobox |style = width:{{#if:{{{width|}}}|{{{width}}}|17.5em}}; |above = <includeonly>{{{name|{{{post}}} <!-- -->{{#if:{{{body|}}}...") |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{#invoke:infobox|infoboxTemplate | ||
|style = width:{{#if:{{{width|}}}|{{{width}}}|17.5em}}; | |style = width:{{#if:{{{width|}}}|{{{width}}}|17.5em}}; | ||
|above = <includeonly>{{{name|{{{post}}} <!-- | |above = <includeonly>{{{name|{{{post}}} <!-- | ||
-->{{#if:{{{body|}}} | -->{{#if:{{{body|}}} | ||
| of {{{body}}} | | of {{{body}}} | ||
}} | }} | ||
}}}</includeonly> | }}}</includeonly> | ||
|abovestyle = font-size: 125%; | |||
|subheader = {{{native_name|}}} | |||
|subheaderstyle = font-size: 125%; font-weight: normal; | |||
|image = {{#invoke:InfoboxImage|InfoboxImage|image={{{insignia|}}}|size={{{insigniasize|}}}|alt={{{insigniaalt|}}}|sizedefault=120px}} | |image = {{#invoke:InfoboxImage|InfoboxImage|image={{{insignia|}}}|size={{{insigniasize|}}}|alt={{{insigniaalt|}}}|sizedefault=120px}} | ||
Line 23: | Line 28: | ||
-->{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}|sizedefault=frameless|alt={{{alt|}}}|border=yes|suppressplaceholder=yes}}</div> | -->{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}|sizedefault=frameless|alt={{{alt|}}}|border=yes|suppressplaceholder=yes}}</div> | ||
}}<!-- | }}<!-- | ||
-->{{#if:{{{incumbent|}}}|'''Incumbent<br/>{{{incumbent}}}{{#ifeq:{{{Acting|{{{acting|}}}}}}|yes|<br />[[Acting (law)|Acting]]'''|{{#ifeq:{{{Acting|{{{acting|}}}}}}|y|<br />[[Acting (law)|Acting]]'''|'''}}}}<!-- | -->{{#if:{{{incumbent|}}}|'''{{{incumbentlabel|Incumbent}}}<br/>{{{incumbent}}}{{#ifeq:{{{Acting|{{{acting|}}}}}}|yes|<br />([[Acting (law)|Acting]])'''|{{#ifeq:{{{Acting|{{{acting|}}}}}}|y|<br />([[Acting (law)|Acting]])'''|'''}}}}<!-- | ||
-->{{#if:{{{incumbentsince|}}} | -->{{#if:{{{incumbentsince|}}} | ||
| <br/>since {{{incumbentsince}}} | | <br/>since {{{incumbentsince}}} | ||
Line 30: | Line 35: | ||
-->}} | -->}} | ||
|data2 = {{{department|}}} | |data2 = {{{department|}}} | ||
|label3 = [[Style ( | |label3 = [[Style (form of address)|Style]] | ||
|data3 = {{{style|}}} | |data3 = {{{style|}}} | ||
|label4 = Type | |label4 = Type | ||
Line 69: | Line 74: | ||
|label18 = Founder | |label18 = Founder | ||
|data18 = {{{founder|}}} | |data18 = {{{founder|}}} | ||
|label19 = Named | |label19 = <span class="nowrap">Named for</span> | ||
|data19 = {{{named_for|}}} | |data19 = {{{named_for|}}} | ||
|label20 = First holder | |label20 = First holder | ||
Line 77: | Line 82: | ||
|label22 = Abolished | |label22 = Abolished | ||
|data22 = {{{abolished|}}} | |data22 = {{{abolished|}}} | ||
|label23 = Succession | |label23 = <span class="nowrap">Superseded by</span> | ||
| | |data23 = {{{superseded_by|}}} | ||
| | |label24 = Succession | ||
| | |data24 = {{{succession|}}} | ||
| | |label25 = Unofficial names | ||
| | |data25 = {{{unofficial_names|}}} | ||
| | |label26 = Deputy | ||
| | |data26 = {{{deputy|}}} | ||
| | |label27 = Salary | ||
| | |data27 = {{{salary|}}} | ||
| | |label28 = Website | ||
| | |data28 = {{{website|}}} | ||
}}<noinclude> | |header29 = {{{footnotes_title|}}} | ||
|data30 = {{{footnotes|}}} | |||
}}{{#if:{{{footnotes_title|}}}|[[Category:Pages using infobox official post with footnotes title]]}}<noinclude> | |||
{{documentation}} | {{documentation}} | ||
[[ | <!---Please add categories to the <includeonly> section at the | ||
bottom of [[Template:Infobox Political post/doc]], | |||
not here - thanks!---> | |||
</noinclude> | </noinclude> |
Latest revision as of 19:54, 26 October 2021
This template uses Lua: |
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}}
.
Usage
{{{post}}} of {{{body}}} | |
---|---|
{{{native_name}}} | |
[[File:{{{insignia}}}|{{{insigniasize}}}|alt={{{insigniaalt}}}]] | |
[[File:{{{flag}}}|{{{flagsize}}}|alt={{{flagalt}}}]] | |
[[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}}} |
Founder | {{{founder}}} |
Named for | {{{named_for}}} |
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.
{{Infobox official post
| post =
| body =
| native_name =
| insignia =
| insigniasize =
| insigniacaption =
| insigniaalt =
| flag =
| flagsize =
| flagalt =
| flagborder =
| flagcaption =
| image =
| imagesize =
| alt =
| imagecaption =
| incumbent =
| acting =
| incumbentsince =
| department =
| style =
| type =
| status =
| abbreviation =
| member_of =
| reports_to =
| residence =
| seat =
| nominator =
| appointer =
| appointer_qualified =
| termlength =
| termlength_qualified =
| constituting_instrument =
| precursor =
| inaugural =
| formation =
| founder =
| named_for =
| first =
| last =
| abolished =
| superseded_by =
| succession =
| unofficial_names =
| deputy =
| salary =
| website =
| footnotes =
}}
Parameters
{{Infobox official post
| post = <!-- Required. No wikilinks here. -->
| body = <!-- Optional. -->
| native_name = <!-- Optional. -->
| insignia = <!-- An insignia; such as a coat of arms, logo, seal, or other symbol associated with this post, if any.
Just the image name, no "File:" or "Image:" coding. -->
| insigniasize = <!-- Example, "150px".
Default size is 120px. -->
| insigniacaption = <!-- Short description of the insignia displayed above. -->
| insigniaalt = <!-- Alt caption. -->
| flag = <!-- A flag, positional color, or command sign associated with this post, if any.
Just the image name, no "File:" or "Image:" coding. -->
| flagsize = <!-- Example "150px".
Default size is 120px. -->
| flagborder = <!-- "yes" to add a border around the flag -->
| flagcaption = <!-- Short description of the flag etcetera displayed above. -->
| flagalt = <!-- Alt caption. -->
| image = <!-- Portrait or other image of the current officeholder.
Just the image name, no "File:" or "Image:" coding. -->
| imagesize = <!-- Example, "150px" -->
| alt = <!-- Alt caption. -->
| imagecaption = <!-- Optional; will be overwritten if 'incumbent' is used -->
| incumbent = <!-- Name of the current officeholder -->
| acting = <!-- "y" or "yes" if incumbent is an acting officeholder -->
| incumbentsince = <!-- Date when current officeholder took office -->
| department = <!-- The organizational entity this official either heads, or is otherwise part of. -->
| style = <!-- The recognized manner of address afforded this post. -->
| type =
| status =
| abbreviation = <!-- Official abbreviation -->
| member_of = <!-- Permanent group that the post (not person) is a member of,
e.g. a cabinet, council, commission, board, junta, politburo etc. -->
| reports_to = <!-- The immediate superior/supervisor for this post.
Does not have to be a single one, could be several. -->
| residence = <!-- Name of official residence, if any. -->
| seat = <!-- Location where the office is located.
If the residence and the workplace are in separate locations, then fill in the workplace here. -->
| nominator = <!-- Name of the post/body (not an incumbent person)
who officially nominates a person to hold this post. -->
| appointer = <!-- Name of the post/body (not an incumbent person)
who officially appoints a person to hold this post. -->
| appointer_qualified = <!-- Space for a qualifying statement. -->
| termlength = <!-- Optional. -->
| termlength_qualified = <!-- Space for a qualifying statement. -->
| constituting_instrument = <!-- The official document(s) which provide the formal legal basis for the post. -->
| precursor = <!-- The immediate predecessor post(s), if any. -->
| inaugural =
| formation = <!-- Date when this post was created, or when the first officeholder took office. -->
| founder =
| named_for =
| first = <!-- Name of the person who first held this post. -->
| last = <!-- Optional. -->
| abolished = <!-- Optional. -->
| succession = <!-- Optional. -->
| unofficial_names = <!-- Any unofficial/traditional names this post is known by. -->
| deputy = <!-- Name of other post(s) with authority to stand-in for this post. -->
| salary = <!-- Official paygrade, or actual amount received. -->
| website = <!-- Link to the official website, if any. -->
| footnotes =
}}
Examples
Example 1
President of the European Commission | |
---|---|
Member of | European Commission |
Seat | Berlaymont building, Brussels, Belgium |
Nominator | European Council on the basis of the latest European elections |
Appointer | European Parliament |
Term length | Five years |
Constituting instrument | Treaties of the European Union |
Inaugural holder | Walter Hallstein |
Formation | 1 January 1958 |
Deputy | Vice-President of the European Commission |
Salary | €24,422.80 per month |
Website | ec.europa.eu/president |
{{Infobox official post
| post = President
| body = the<br />European Commission
| flag = Flag of Europe.svg
| flagsize = 100px
| flagcaption = [[Flag of Europe|Commission emblem (EU flag)]]
| flagalt = Flag of the European Union
| image = José Manuel Barroso MEDEF.jpg
| alt = José Manuel Barroso
| incumbent = [[José Manuel Barroso]]
| incumbentsince = 23 November 2004
| member_of = [[European Commission]]
| seat = [[Berlaymont building]], [[Brussels]], [[Belgium]]
| nominator = [[European Council]]<br />on the basis of the latest [[Elections in the European Union|European elections]]
| appointer = [[European Parliament]]
| termlength = Five years
| constituting_instrument = [[Treaties of the European Union]]
| formation = 1 January 1958
| inaugural = [[Walter Hallstein]]
| deputy = [[Vice-President of the European Commission]]
| salary = €24,422.80 per month
| website = [https://ec.europa.eu/archives/commission_2010-2014/president/index_en.htm ec.europa.eu/president]
}}
Example 2
Secretary of Defense of the United States of America | |
---|---|
Style | Mister Secretary |
Member of | |
Reports to | The President |
Seat | The Pentagon, Arlington County, Virginia |
Appointer | The President with Senate advice and consent |
Term length | No fixed term |
Constituting instrument | |
Precursor | |
Inaugural holder | James Forrestal |
Formation | September 19, 1947 |
Succession | Sixth in the presidential line of succession |
Deputy | Deputy Secretary of Defense (principal deputy Chairman of the Joint Chiefs of Staff (military deputy) |
Salary | Executive Schedule, level 1 |
Website | www |
{{Infobox official post
| post = Secretary of Defense of the United States of America
| flag = Flag of the United States Secretary of Defense.svg
| flagsize = 120px
| flagcaption = Flag of the Secretary of Defense
| flagalt = Secretary of Defense official flag
| insignia = United States Department of Defense Seal.svg
| insigniasize = 110px
| insigniacaption = Seal of the Department of Defense
| insigniaalt = Department of Defense official seal
| incumbentsince = {{start date|2013|02|27}}
| image = Chuck Hagel Defense portrait.jpg
| alt = Chuck Hagel, Secretary of Defense
| incumbent = [[Chuck Hagel]]
| style = ''Mister Secretary''
| member_of = {{ubl|[[United States Cabinet|Cabinet]]|[[United States National Security Council|National Security Council]]}}
| department = {{ubl|[[United States Department of Defense|Department of Defense]]|[[Office of the Secretary of Defense|OSD]]}}
| reports_to = The [[President of the United States|President]]
| seat = [[The Pentagon]], [[Arlington County, Virginia|Arlington County]], [[Virginia]]
| appointer = The [[President of the United States|President]]
| appointer_qualified = with [[United States Senate|Senate]] [[advice and consent]]
| termlength = No fixed term
| constituting_instrument = {{ubl|{{UnitedStatesCode|10|113}}|{{UnitedStatesCode|50|401}}}}
| precursor = {{ubl|[[United States Secretary of War|Secretary of War]]|and [[United States Secretary of the Navy|Secretary of the Navy]]}}
| formation = September 19, 1947
| inaugural = [[James Forrestal]]
| succession = Sixth<br/>in the [[United States presidential line of succession|presidential line of succession]]
| deputy = [[United States Deputy Secretary of Defense|Deputy Secretary of Defense]]<br/>(principal deputy)<br/>[[Chairman of the Joint Chiefs of Staff]]<br/>(military deputy)
| salary = [[Executive Schedule|Executive Schedule, level 1]]
| website = {{URL|https://www.defense.gov/}}
}}
TemplateData
Infobox for official posts
Parameter | Description | Type | Status | |
---|---|---|---|---|
Post | post name | Name of the post, do not include links
| String | required |
Body | body | Name of the body which the post is for
| String | suggested |
Native name | native_name | For non-English speaking countries, the native name of the post
| Line | optional |
Flag image | flag | A flag, positional color, or command sign associated with this post, if any | File | optional |
Flag size | flagsize | Size of the flag
| String | optional |
Flag border | flagborder | Set to yes or no
| String | optional |
Flag caption | flagcaption | A caption for the flag image | Content | optional |
Insignia image | insignia | Official insignia of the post
| File | optional |
Insignia size | insigniasize | Size of the insignia image
| String | optional |
Insignia caption | insigniacaption | Description of the official insignia of the post
| String | optional |
Image | image | A picture of the incumbent of this post
| File | suggested |
Image size | imagesize | Size of the image, in px format
| String | optional |
Alt text | alt | Alt text for image | String | optional |
Image caption | imagecaption | Caption for image | String | optional |
Incumbent | incumbent | The name of the person who currently holds this role
| Line | suggested |
Acting | acting Acting | Set to y or yes if the incumbent is acting
| Unknown | optional |
Incumbent since | incumbentsince | Date incumbent took office | String | optional |
Type | type | no description | String | optional |
Status | status | no description | String | optional |
Department | department | Entity this official heads or is part of | String | optional |
Style | style | Manner of address
| String | optional |
Member of | member_of memberof | Group that this post is a part of
| String | optional |
Reports to | reports_to reportsto | Immediate superior of this post
| String | optional |
Residence | residence | Name of official residence | String | optional |
Seat | seat | Location of office
| String | optional |
Nominator | nominator | Name of post or body, not incumbent | String | optional |
Appointer | appointer | Name of the post or body that appoints this position, not the incumbent
| String | optional |
Appointer qualification | appointer_qualified | A qualification message displayed under the name of the appointing office or body
| Line | optional |
Term length | termlength | the length of a term of this official post
| String | optional |
Term length qualification | termlength_qualified | A qualification message displayed under the length of terms
| Line | optional |
Constituting instrument | constituting_instrument | The official document(s) which provide the formal legal basis for the post | String | optional |
Precursor | precursor | Immediate precursor post | String | optional |
Date of formation | formation | Date of the creation of the post or the first officeholder taking office | String | optional |
First holder | first | The first person to hold this post | String | optional |
Last holder | last | The last person to hold this post | String | optional |
Abolished | abolished | Date abolished | String | optional |
Succession | succession | Rank of succession of this office
| String | optional |
Official abbreviation | abbreviation | no description | String | optional |
Unofficial names | unofficial_names | no description | String | optional |
Deputy | deputy | Wikilink to the office of this position's deputy
| String | optional |
Salary | salary | The salary of this office
| Content | optional |
Website | website | no description | URL | optional |
width | width | no description | Unknown | optional |
insigniaalt | insigniaalt | no description | Unknown | optional |
flagalt | flagalt | no description | Unknown | optional |
inaugural | inaugural | no description | Unknown | optional |
founder | founder | no description | Unknown | optional |
named_for | named_for | no description | Unknown | optional |
footnotes_title | footnotes_title | no description | Unknown | optional |
footnotes | footnotes | no description | Unknown | optional |