Template:Infobox official post: Difference between revisions
No edit summary |
No edit summary |
||
Line 24: | Line 24: | ||
| <div style="padding-bottom:0.4em; <!-- | | <div style="padding-bottom:0.4em; <!-- | ||
-->border-bottom:solid 1px #ccd2d9; line-height:1.4em;"><!-- | -->border-bottom:solid 1px #ccd2d9; line-height:1.4em;"><!-- | ||
-->{{#if:{{{userid|}}}|{{Avatar|{{{userid}}}|180}}}}<br | -->{{#if:{{{userid|}}}|{{Avatar|{{{userid}}}|180}}}}<br style="line-height: 15px" /><!-- | ||
-->{{#if:{{{incumbent|}}}|'''{{{incumbentlabel|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|}}} |
Revision as of 17:26, 23 March 2023
This template is used on approximately 7,700 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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}}}]] | |
Incumbent | |
{{{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.
{{Infobox official post
| post =
| body =
| native_name = <!--{{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 =
| first =
| last =
| abolished =
| superseded_by =
| succession =
| unofficial_names =
| deputy =
| salary =
| website = <!-- {{url|example.com}}-->
| 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. -->
| 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 | |
---|---|
Incumbent | |
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 | |
---|---|
Incumbent | |
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 |
footnotes_title | footnotes_title | no description | Unknown | optional |
footnotes | footnotes | no description | Unknown | optional |
Tracking category
See also
Lua error: bad argument #2 to 'find' (string expected, got nil).