Template:Infobox official post: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 8: Line 8:
}}}</includeonly>
}}}</includeonly>
|labelstyle = line-height:1.2em; font-size:135%
|labelstyle = line-height:1.2em; font-size:135%
|<!--thenF:
|image = {{#if:{{{flag|}}}
-----------------------------------------------------------
| [[Image:{{{flag}}}|{{px|{{{flagsize|}}}|120px}}]]
Flag provided, so display it and coat-of-arms (or other symbol) if provided:
}}
-----------------------------------------------------------
|imagestyle = padding-bottom:0.4em; border-bottom:solid 1px #ccd2d9;
--><tr class="mergedtoprow">
|caption = {{#if:{{{flagcaption|}}}
<td class="maptable" colspan="3" align="center" style="padding:0.5em 0;"><!--
| '''{{{flagcaption}}}'''
--------------------------------------------------
}}
Subtable to format coat-of-arms (or symbol)
|abovestyle = line-height:1.2em; font-size:135%;
display. Align="center"s and "width:auto;"s
|image = {{#if:{{{insignia|}}}
| [[Image:{{{insignia}}}|{{px|{{{insigniasize|}}}|120px}}]]
are for sake of Internet Explorer.
--------------------------------------------------
}}
--><table align="center" style="width:100%; background:none;"><!--
|imagestyle = padding-bottom:0.4em; border-bottom:solid 1px #ccd2d9;
-----------Image/s-----------
|caption = {{#if:{{{insigniacaption|}}}
--><tr>
| '''{{{insigniacaption}}}'''<br/>{{{department|}}}
}}
<td align="center"
style="{{#if:{{{image_coat|}}}{{{image_symbol|}}}
|<!--then:-->
{{#if:{{{flag_width|}}}
|<!--then:-->width:{{{flag_width}}};<!--
-->|<!--else:-->width:58%;<!--(58% as flags usually wider than coats-of-arms/symbols. Also accommodates IE.)--><!--
-->}}
}} vertical-align:middle;"><!--
-->[[File:{{{image_flag}}}|125px|border|alt={{{alt_flag|}}}|Flag of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}}]]<!--end border:--><!--
--></td>
{{#if:{{{image_coat|}}}{{{image_symbol|}}}
|<!--then:--><td align="center" style="width:auto; vertical-align:middle;"><!--
-->[[File:{{{image_coat|{{{image_symbol|}}}}}} |{{{symbol_width|85px}}} |alt={{{alt_coat|{{{alt_symbol|}}}}}}|{{{symbol_type|Coat of arms}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}}]]<!--
--></td>
}}
</tr><!--
----------Caption/s----------
--><tr>
{{#if:{{{common_name|}}}{{{linking_name|}}}{{{name|}}} |<!--then:
--><td align="center"><small>{{#ifexist:Flag of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} |<!--then:-->[[Flag of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} |{{{flag_caption|Flag}}}]]}}</small></td>
}}
{{#if:{{{image_coat|}}}{{{image_symbol|}}} |<!--then:
--><td align="center"><small>{{#ifexist:{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} |<!--then:-->[[{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} |{{{symbol_type|Coat of arms}}}]]}}</small></td>
}}
</tr><!--
---------End subtable:---------
--></table>
</td>
</tr><!--

-->|<!--elseF:
------------------------------------------------------------
Flag not provided, so display coat-of-arms or other symbol (if provided):
------------------------------------------------------------
-->{{#if:{{{image_coat|}}}{{{image_symbol|}}}
|<!--thenS2:
--><tr class="mergedtoprow">
<td class="maptable" colspan="3" align="center" style="padding:0.5em 0;"><!--
-----------------------------------------------
Subtable to format coat-of-arms (or symbol)
display. Align="center"s and "width:auto;"s
are for sake of Internet Explorer.
-----------------------------------------------
--><table align="center" style="width:100%; background:none;"><!--
-----------Image-----------
--><tr>
<td align="center"
style="width:auto; vertical-align:middle;"><!--
-->[[File:{{{image_coat|{{{image_symbol|}}}}}} |{{{symbol_width|100px}}} |alt={{{alt_coat|{{{alt_symbol|}}}}}}|{{{symbol_type|Coat of arms}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}}]]</td>
</tr><!--
----------Caption----------
--><tr>
<td align="center"><!--
--><small>{{#ifexist:{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} |<!--then:--> [[{{{symbol_type_article|{{{symbol_type|Coat of arms}}}}}} of {{{common_name|{{{linking_name|{{{name|{{PAGENAME}}}}}}}}}}} |{{{symbol_type|Coat of arms}}}]]}}</small><!--
--></td>
</tr><!--
---------End subtable:----------
--></table>
</td>
</tr><!--
-->}}<!--(endS2)
-->}}<!--(endF)

|captionstyle = padding-top:0.2em;
|captionstyle = padding-top:0.2em;
|labelstyle = padding:0 0.5em 0 0; background:transparent; line-height:1.2em;
|labelstyle = padding:0 0.5em 0 0; background:transparent; line-height:1.2em;
|datastyle = padding:0; line-height:1.2em; vertical-align:middle;
|datastyle = padding:0; line-height:1.2em; vertical-align:middle;

|data1 = {{#if:{{{incumbent|}}}
|data1 = {{#if:{{{incumbent|}}}
| <div style="padding-bottom:0.4em; <!--
| <div style="padding-bottom:0.4em; <!--

Revision as of 21:03, 25 September 2011

border-bottom:solid 1px #ccd2d9; line-height:1.4em;">Incumbent
{{{incumbent}}}
}}

|label2 = Style |data2 = |label3 = Residence |data3 = |label4 = Nominator |data4 = |label5 = Appointer |data5 = |label6 = Term length |data6 = |label7 = Inaugural holder |data7 = |label8 = Formation |data8 = |label9 = First holder |data9 = |label10 = Final holder |data10 = |label11 = Abolished |data11 = |label12 = Succession |data12 = |label13 = Deputy |data13 = |label14 = Salary |data14 = |label15 = Website |data15 = }}

}}

|label2 = Style |data2 = |label3 = Residence |data3 = |label4 = Nominator |data4 = European Council
on the basis of the latest European elections |label5 = Appointer |data5 = European Parliament |label6 = Term length |data6 = Five years |label7 = Inaugural holder |data7 = Walter Hallstein |label8 = Formation |data8 = 1 January 1958 |label9 = First holder |data9 = |label10 = Final holder |data10 = |label11 = Abolished |data11 = |label12 = Succession |data12 = |label13 = Deputy |data13 = Vice-President of the European Commission |label14 = Salary |data14 = €24,422.80 per month |label15 = Website |data15 = 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 /><small>on the basis of the latest [[Elections in the European Union|European elections]]</small>
| 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

border-bottom:solid 1px #ccd2d9; line-height:1.4em;">

Chuck Hagel, Secretary of Defense

Incumbent
Chuck Hagel

since February 27, 2013 (2013-02-27)}}

|label2 = Style |data2 = Mister Secretary |label3 = Residence |data3 = |label4 = Nominator |data4 = |label5 = Appointer |data5 = The President |label6 = Term length |data6 = No fixed term |label7 = Inaugural holder |data7 = James Forrestal |label8 = Formation |data8 = September 19, 1947 |label9 = First holder |data9 = |label10 = Final holder |data10 = |label11 = Abolished |data11 = |label12 = Succession |data12 = Sixth
in the presidential line of succession |label13 = Deputy |data13 = Deputy Secretary of Defense
(principal deputy)
Chairman of the Joint Chiefs of Staff
(military deputy) |label14 = Salary |data14 = Executive Schedule, level 1 |label15 = Website |data15 = www.defense.gov }}

{{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/><small>in the [[United States presidential line of succession|presidential line of succession]]</small>
| deputy                   = [[United States Deputy Secretary of Defense|Deputy Secretary of Defense]]<br/><small>(principal deputy)</small><br/>[[Chairman of the Joint Chiefs of Staff]]<br/><small>(military deputy)</small>
| salary                   = [[Executive Schedule|Executive Schedule, level 1]]
| website                  = {{URL|https://www.defense.gov/}}
}}

TemplateData

Infobox for official posts

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Postpost name

Name of the post, do not include links

Example
President
Stringrequired
Bodybody

Name of the body which the post is for

Example
the European Commission
Stringsuggested
Native namenative_name

For non-English speaking countries, the native name of the post

Example
{{lang|zh-hans|中华人民共和国主席}}
Lineoptional
Flag imageflag

A flag, positional color, or command sign associated with this post, if any

Fileoptional
Flag sizeflagsize

Size of the flag

Example
150px
Stringoptional
Flag borderflagborder

Set to yes or no

Example
yes
Stringoptional
Flag captionflagcaption

A caption for the flag image

Contentoptional
Insignia imageinsignia

Official insignia of the post

Example
Seal of the United States Department of the Treasury.svg
Fileoptional
Insignia sizeinsigniasize

Size of the insignia image

Example
150px
Stringoptional
Insignia captioninsigniacaption

Description of the official insignia of the post

Example
Seal of the Department of the Treasury
Stringoptional
Imageimage

A picture of the incumbent of this post

Example
Steven Mnuchin official photo (cropped).jpg
Filesuggested
Image sizeimagesize

Size of the image, in px format

Example
150px
Stringoptional
Alt textalt

Alt text for image

Stringoptional
Image captionimagecaption

Caption for image

Stringoptional
Incumbentincumbent

The name of the person who currently holds this role

Example
[[Steven Mnuchin]]
Linesuggested
Actingacting Acting

Set to y or yes if the incumbent is acting

Example
yes
Unknownoptional
Incumbent sinceincumbentsince

Date incumbent took office

Stringoptional
Typetype

no description

Stringoptional
Statusstatus

no description

Stringoptional
Departmentdepartment

Entity this official heads or is part of

Stringoptional
Stylestyle

Manner of address

Example
Mister Secretary
Stringoptional
Member ofmember_of memberof

Group that this post is a part of

Example
Cabinet
Stringoptional
Reports toreports_to reportsto

Immediate superior of this post

Example
The President
Stringoptional
Residenceresidence

Name of official residence

Stringoptional
Seatseat

Location of office

Example
[[Washington, D.C.]]
Stringoptional
Nominatornominator

Name of post or body, not incumbent

Stringoptional
Appointerappointer

Name of the post or body that appoints this position, not the incumbent

Example
The [[President of the United States|President]]
Stringoptional
Appointer qualificationappointer_qualified

A qualification message displayed under the name of the appointing office or body

Example
with [[United States Senate|Senate]] [[advice and consent]]
Lineoptional
Term lengthtermlength

the length of a term of this official post

Example
4 years
Stringoptional
Term length qualificationtermlength_qualified

A qualification message displayed under the length of terms

Example
No restriction on renewal
Lineoptional
Constituting instrumentconstituting_instrument

The official document(s) which provide the formal legal basis for the post

Stringoptional
Precursorprecursor

Immediate precursor post

Stringoptional
Date of formationformation

Date of the creation of the post or the first officeholder taking office

Stringoptional
First holderfirst

The first person to hold this post

Stringoptional
Last holderlast

The last person to hold this post

Stringoptional
Abolishedabolished

Date abolished

Stringoptional
Successionsuccession

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>
Stringoptional
Official abbreviationabbreviation

no description

Stringoptional
Unofficial namesunofficial_names

no description

Stringoptional
Deputydeputy

Wikilink to the office of this position's deputy

Example
[[Vice President of the People's Republic of China|Vice President]]
Stringoptional
Salarysalary

The salary of this office

Example
[[Executive Schedule|Executive Schedule, level I]]<ref>{{UnitedStatesCode|5|5312}}</ref>
Contentoptional
Websitewebsite

no description

URLoptional
widthwidth

no description

Unknownoptional
insigniaaltinsigniaalt

no description

Unknownoptional
flagaltflagalt

no description

Unknownoptional
inauguralinaugural

no description

Unknownoptional
founderfounder

no description

Unknownoptional
named_fornamed_for

no description

Unknownoptional
footnotes_titlefootnotes_title

no description

Unknownoptional
footnotesfootnotes

no description

Unknownoptional

Tracking category

See also