Template:Infobox officeholder: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(making requested edits)
m (some code reformatting)
Line 2: Line 2:
|-
|-
<!----------Name---------->
<!----------Name---------->
|colspan="2" style="text-align: center; font-size:140%;" class="fn"| '''{{{name|{{PAGENAME}}}}}'''
|colspan="2" class="fn" style="text-align:center; font-size:140%;"| '''{{{name|{{PAGENAME}}}}}'''
|-
|-


Line 17: Line 17:
<!----------Office---------->
<!----------Office---------->
{{#if:{{{order|}}} |<!--then:-->
{{#if:{{{order|}}} |<!--then:-->
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}} <hr><div style="background:lavender; font-weight:bold">{{{order}}}{{#if:{{{office|}}}|&nbsp;[[{{{office}}}]]}}{{#if:{{{state|}}}|&nbsp;[[{{{state}}}]]}}</div>
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}} <hr/><!--
--><div style="background:lavender; font-weight:bold;">{{{order}}}<!--
-->{{#if:{{{office|}}} |<!--then:-->&nbsp;[[{{{office}}}]]}}<!--
-->{{#if:{{{state|}}} |<!--then:-->&nbsp;[[{{{state}}}]]}}<!--
--></div>
{{!-}}
{{!-}}
}}
}}
<!----------Term---------->
<!----------Term---------->
{{#if:{{{term_start|}}} |<!--then:-->
{{#if:{{{term_start|}}} |<!--then:
{{#if:{{{term_end|}}}
-->{{#if:{{{term_end|}}}<!--
|<!--then:--> <!--term has start and end-->
-->|<!--then term has start and end:-->
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''In&nbsp;office'''<br>{{{term_start}}}&nbsp;&ndash;&nbsp;{{{term_end}}}
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''In&nbsp;office'''<br/>{{{term_start}}}&nbsp;&ndash;&nbsp;{{{term_end}}}
{{!-}}
{{!-}}<!--
|<!--else:--> <!--term is ongoing-->
-->|<!--else term is ongoing:-->
{{!}}colspan="2" style="text-align:center; background:lavender;"{{!}} '''[[Incumbent]]'''
{{!}}colspan="2" style="text-align:center; background:lavender;"{{!}} '''[[Incumbent]]'''
{{!-}}
{{!-}}
}}
}}
{{#if:{{{term_end|}}}
{{#if:{{{term_end|}}}
|<!--then:--> <!--(nothing; term has ended)-->
|<!--then nothing else; term has ended-->
|<!--else:-->
|<!--else term ongoing:-->
{{!}}colspan="2" style="text-align:center;"{{!}} '''Assumed&nbsp;office&nbsp;'''<br>{{{term_start}}}
{{!}}colspan="2" style="text-align:center;"{{!}} '''Assumed&nbsp;office&nbsp;'''<br/>{{{term_start}}}
{{!-}}
{{!-}}
}}
}}
Line 39: Line 43:
<!----------Vice president/s, Vice Prime Minister/s, Deputy/ies, Lieutenant/s---------->
<!----------Vice president/s, Vice Prime Minister/s, Deputy/ies, Lieutenant/s---------->
{{#if:{{{vicepresident|}}} |<!--then:-->
{{#if:{{{vicepresident|}}} |<!--then:-->
! Vice&nbsp;President(s)&nbsp;&nbsp;
! Vice&nbsp;President(s){{spaces|2}}
{{!}} {{{vicepresident}}}
{{!}} {{{vicepresident}}}
{{!-}}
{{!-}}
}}
}}
{{#if:{{{viceprimeminister|}}} |<!--then:-->
{{#if:{{{viceprimeminister|}}} |<!--then:-->
! Vice&nbsp;[[Prime Minister|PM]](s)&nbsp;&nbsp;
! Vice&nbsp;[[Prime Minister|PM]](s){{spaces|2}}
{{!}} {{{viceprimeminister}}}
{{!}} {{{viceprimeminister}}}
{{!-}}
{{!-}}
Line 54: Line 58:
}}
}}
{{#if:{{{lieutenant|}}} |<!--then:-->
{{#if:{{{lieutenant|}}} |<!--then:-->
! {{#if:{{{office|}}}|[[Lieutenant {{{office}}}|Lieutenant(s)]]|Lieutenant(s)}}
! {{#if:{{{office|}}} |<!--then:-->[[Lieutenant {{{office}}}|Lieutenant(s)]]|Lieutenant(s)}}
{{!}} {{{lieutenant}}}
{{!}} {{{lieutenant}}}
{{!-}}
{{!-}}
Line 103: Line 107:
<!----------Second office---------->
<!----------Second office---------->
{{#if:{{{order2|}}} |<!--then:-->
{{#if:{{{order2|}}} |<!--then:-->
!colspan="2" style="text-align:center; font-size:110%;"{{!}} <hr><div style="background:lavender;">{{{order2}}}{{#if:{{{office2|}}}|&nbsp;[[{{{office2}}}]]}}{{#if:{{{state2|}}}|&nbsp;[[{{{state2}}}]]}}</div>
!colspan="2" style="text-align:center; font-size:110%;"{{!}} <hr/><!--
--><div style="background:lavender;">{{{order2}}}<!--
-->{{#if:{{{office2|}}} |<!--then:-->&nbsp;[[{{{office2}}}]]}}<!--
-->{{#if:{{{state2|}}} |<!--then:-->&nbsp;[[{{{state2}}}]]}}<!--
--></div>
{{!-}}
{{!-}}
}}
}}
{{#if:{{{term_start2|}}} |<!--then:-->
{{#if:{{{term_start2|}}} |<!--then:-->
{{#if:{{{term_end2|}}}
{{#if:{{{term_end2|}}}
|<!--then:--> <!--term has start and end-->
|<!--then term has start and end:-->
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''In&nbsp;office'''<br>{{{term_start2}}}&nbsp;&ndash;&nbsp;{{{term_end2}}}
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''In&nbsp;office'''<br/>{{{term_start2}}}&nbsp;&ndash;&nbsp;{{{term_end2}}}
{{!-}}
{{!-}}
|<!--else:--> <!--term is ongoing-->
|<!--else term is ongoing:-->
{{!}}colspan="2" style="text-align:center; background:lavender;"{{!}} '''[[Incumbent]]'''
{{!}}colspan="2" style="text-align:center; background:lavender;"{{!}} '''[[Incumbent]]'''
{{!-}}
{{!-}}
}}
}}
{{#if:{{{term_end2|}}}
{{#if:{{{term_end2|}}}
|<!--then:--> <!--(nothing; term has ended)-->
|<!--then nothing else; term has ended-->
|<!--else:-->
|<!--else term ongoing:-->
{{!}}colspan="2" style="text-align:center;"{{!}} '''Assumed&nbsp;office'''<br>{{{term_start2}}}
{{!}}colspan="2" style="text-align:center;"{{!}} '''Assumed&nbsp;office'''<br/>{{{term_start2}}}
{{!-}}
{{!-}}
}}
}}
<!----------Second Vice president/s, Vice Prime Minister/s, Deputy/ies, Lieutenant/s---------->
<!-------Second Vice president/s, Vice Prime Minister/s, Deputy/ies, Lieutenant/s------>
{{#if:{{{vicepresident2|}}} |<!--then:-->
{{#if:{{{vicepresident2|}}} |<!--then:-->
! Vice&nbsp;President(s)&nbsp;&nbsp;
! Vice&nbsp;President(s){{spaces|2}}
{{!}} {{{vicepresident2}}}
{{!}} {{{vicepresident2}}}
{{!-}}
{{!-}}
}}
}}
{{#if:{{{viceprimeminister2|}}} |<!--then:-->
{{#if:{{{viceprimeminister2|}}} |<!--then:-->
! Vice&nbsp;[[Prime Minister|PM]](s)&nbsp;&nbsp;
! Vice&nbsp;[[Prime Minister|PM]](s){{spaces|2}}
{{!}} {{{viceprimeminister2}}}
{{!}} {{{viceprimeminister2}}}
{{!-}}
{{!-}}
Line 138: Line 146:
}}
}}
{{#if:{{{lieutenant2|}}} |<!--then:-->
{{#if:{{{lieutenant2|}}} |<!--then:-->
! {{#if:{{{office2|}}}|[[Lieutenant {{{office2}}}|Lieutenant(s)]]|Lieutenant(s)}}
! {{#if:{{{office2|}}} |<!--then:-->[[Lieutenant {{{office2}}}|Lieutenant(s)]]|Lieutenant(s)}}
{{!}} {{{lieutenant2}}}
{{!}} {{{lieutenant2}}}
{{!-}}
{{!-}}
Line 177: Line 185:
<!----------Third office---------->
<!----------Third office---------->
{{#if:{{{order3|}}} |<!--then:-->
{{#if:{{{order3|}}} |<!--then:-->
!colspan="2" style="text-align:center; font-size:110%;"{{!}} <hr><div style="background:lavender;">{{{order3}}}{{#if:{{{office3|}}}|&nbsp;[[{{{office3}}}]]}}{{#if:{{{state3|}}}|&nbsp;[[{{{state3}}}]]}}</div>
!colspan="2" style="text-align:center; font-size:110%;"{{!}} <hr/><!--
--><div style="background:lavender;">{{{order3}}}<!--
-->{{#if:{{{office3|}}} |<!--then:-->&nbsp;[[{{{office3}}}]]}}<!--
-->{{#if:{{{state3|}}} |<!--then:-->&nbsp;[[{{{state3}}}]]}}<!--
--></div>
{{!-}}
{{!-}}
}}
}}
{{#if:{{{term_start3|}}} |<!--then:-->
{{#if:{{{term_start3|}}} |<!--then:-->
{{#if:{{{term_end3|}}}
{{#if:{{{term_end3|}}}
|<!--then:--> <!--term has start and end-->
|<!--then term has start and end:-->
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''In&nbsp;office'''<br>{{{term_start3}}}&nbsp;&ndash;&nbsp;{{{term_end3}}}
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''In&nbsp;office'''<br/>{{{term_start3}}}&nbsp;&ndash;&nbsp;{{{term_end3}}}
{{!-}}
{{!-}}
|<!--else:--> <!--term is ongoing-->
|<!--else term is ongoing:-->
{{!}}colspan="2" style="text-align:center; background:lavender;"{{!}} '''[[Incumbent]]'''
{{!}}colspan="2" style="text-align:center; background:lavender;"{{!}} '''[[Incumbent]]'''
{{!-}}
{{!-}}
}}
}}
{{#if:{{{term_end3|}}}
{{#if:{{{term_end3|}}}
|<!--then:--> <!--(nothing; term has ended)-->
|<!--then nothing else; term has ended-->
|<!--else:-->
|<!--else term is ongoing:-->
{{!}}colspan="2" style="text-align:center;"{{!}} '''Assumed&nbsp;office'''<br>{{{term_start3}}}
{{!}}colspan="2" style="text-align:center;"{{!}} '''Assumed&nbsp;office'''<br/>{{{term_start3}}}
{{!-}}
{{!-}}
}}
}}
}}
}}
<!----------Third Vice president/s, Vice Prime Minister/s, Deputy/ies, Lieutenant/s---------->
<!-------Third Vice president/s, Vice Prime Minister/s, Deputy/ies, Lieutenant/s------>
{{#if:{{{vicepresident3|}}} |<!--then:-->
{{#if:{{{vicepresident3|}}} |<!--then:-->
! Vice&nbsp;President(s)&nbsp;&nbsp;
! Vice&nbsp;President(s){{spaces|2}}
{{!}} {{{vicepresident3}}}
{{!}} {{{vicepresident3}}}
{{!-}}
{{!-}}
}}
}}
{{#if:{{{viceprimeminister3|}}} |<!--then:-->
{{#if:{{{viceprimeminister3|}}} |<!--then:-->
! Vice&nbsp;[[Prime Minister|PM]](s)&nbsp;&nbsp;
! Vice&nbsp;[[Prime Minister|PM]](s){{spaces|2}}
{{!}} {{{viceprimeminister3}}}
{{!}} {{{viceprimeminister3}}}
{{!-}}
{{!-}}
Line 213: Line 225:
}}
}}
{{#if:{{{lieutenant3|}}} |<!--then:-->
{{#if:{{{lieutenant3|}}} |<!--then:-->
! {{#if:{{{office3|}}}|[[Lieutenant {{{office3}}}|Lieutenant(s)]]|Lieutenant(s)}}
! {{#if:{{{office3|}}} |<!--then:-->[[Lieutenant {{{office3}}}|Lieutenant(s)]]|Lieutenant(s)}}
{{!}} {{{lieutenant3}}}
{{!}} {{{lieutenant3}}}
{{!-}}
{{!-}}
Line 251: Line 263:
<!----------Fourth office---------->
<!----------Fourth office---------->
{{#if:{{{order4|}}} |<!--then:-->
{{#if:{{{order4|}}} |<!--then:-->
!colspan="2" style="text-align:center; font-size:110%;"{{!}} <hr><div style="background:lavender;">{{{order4}}}{{#if:{{{office4|}}}|&nbsp;[[{{{office4}}}]]}}{{#if:{{{state4|}}}|&nbsp;[[{{{state4}}}]]}}</div>
!colspan="2" style="text-align:center; font-size:110%;"{{!}} <hr/><!--
--><div style="background:lavender;">{{{order4}}}<!--
-->{{#if:{{{office4|}}} |<!--then:-->&nbsp;[[{{{office4}}}]]}}<!--
-->{{#if:{{{state4|}}} |<!--then:-->&nbsp;[[{{{state4}}}]]}}<!--
--></div>
{{!-}}
{{!-}}
}}
}}
{{#if:{{{term_start4|}}} |<!--then:-->
{{#if:{{{term_start4|}}} |<!--then:-->
{{#if:{{{term_end4|}}}
{{#if:{{{term_end4|}}}
|<!--then:--> <!--term has start and end-->
|<!--then term has start and end:-->
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''In&nbsp;office'''<br>{{{term_start4}}}&nbsp;&ndash;&nbsp;{{{term_end4}}}
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''In&nbsp;office'''<br/>{{{term_start4}}}&nbsp;&ndash;&nbsp;{{{term_end4}}}
{{!-}}
{{!-}}
|<!--else:--> <!--term is ongoing-->
|<!--else term is ongoing:-->
{{!}}colspan="2" style="text-align:center; background:lavender;"{{!}} '''[[Incumbent]]'''
{{!}}colspan="2" style="text-align:center; background:lavender;"{{!}} '''[[Incumbent]]'''
{{!-}}
{{!-}}
}}
}}
{{#if:{{{term_end4|}}}
{{#if:{{{term_end4|}}}
|<!--then:--> <!--(nothing; term has ended)-->
|<!--then nothing else; term has ended-->
|<!--else:-->
|<!--else term is ongoing:-->
{{!}}colspan="2" style="text-align:center;"{{!}} '''Assumed&nbsp;office'''<br>{{{term_start4}}}
{{!}}colspan="2" style="text-align:center;"{{!}} '''Assumed&nbsp;office'''<br/>{{{term_start4}}}
{{!-}}
{{!-}}
}}
}}
}}
}}
<!----------Fourth Vice president/s, Vice Prime Minister/s, Deputy/ies, Lieutenant/s---------->
<!-------Fourth Vice president/s, Vice Prime Minister/s, Deputy/ies, Lieutenant/s------>
{{#if:{{{vicepresident4|}}} |<!--then:-->
{{#if:{{{vicepresident4|}}} |<!--then:-->
! Vice&nbsp;President(s)&nbsp;&nbsp;
! Vice&nbsp;President(s){{spaces|2}}
{{!}} {{{vicepresident4}}}
{{!}} {{{vicepresident4}}}
{{!-}}
{{!-}}
}}
}}
{{#if:{{{viceprimeminister4|}}} |<!--then:-->
{{#if:{{{viceprimeminister4|}}} |<!--then:-->
! Vice&nbsp;[[Prime Minister|PM]](s)&nbsp;&nbsp;
! Vice&nbsp;[[Prime Minister|PM]](s){{spaces|2}}
{{!}} {{{viceprimeminister4}}}
{{!}} {{{viceprimeminister4}}}
{{!-}}
{{!-}}
Line 287: Line 303:
}}
}}
{{#if:{{{lieutenant4|}}} |<!--then:-->
{{#if:{{{lieutenant4|}}} |<!--then:-->
! {{#if:{{{office4|}}}|[[Lieutenant {{{office4}}}|Lieutenant(s)]]|Lieutenant(s)}}
! {{#if:{{{office4|}}} |<!--then:-->[[Lieutenant {{{office4}}}|Lieutenant(s)]]|Lieutenant(s)}}
{{!}} {{{lieutenant4}}}
{{!}} {{{lieutenant4}}}
{{!-}}
{{!-}}
Line 325: Line 341:
<!----------Birth/Death---------->
<!----------Birth/Death---------->
|-
|-
|colspan="2"| <hr>
|colspan="2"| <hr/>
|-
|-
! Born
! Born
Line 373: Line 389:
}}
}}
|}<noinclude>{{clear}}{{pp-template}}
|}<noinclude>{{clear}}{{pp-template}}
<br><hr><br>{{esoteric}}
<br/><hr/><br/>{{esoteric}}




Line 386: Line 402:
==Microformat==
==Microformat==
{{UF-hcard-person}}
{{UF-hcard-person}}



<!--Categories-->
<!--Categories-->

Revision as of 14:26, 27 April 2007

Infobox officeholder

Born




Template:Esoteric


Please use the most appropriate name when placing this template on a page (i.e. the following all redirect here):

  • Infobox Chancellor
  • Infobox Governor General
  • Infobox Mayor
  • Infobox President
  • Infobox Prime Minister
  • Infobox Vice President

Microformat

The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.

ast:Plantilla:Info presidentes bg:Шаблон:Президент инфо bs:Šablon:Infokutija predsjednik cs:Šablona:Infobox PrezidentUSA cy:Nodyn:Arlywydd UDA eu:Txantiloi:Presidente infotaula fi:Malline:Hallitsija hu:Sablon:President infobox ms:Templat:Politik fr:Modèle:FichePresidentUS ga:Teimpléad:Bosca Sonraí Uachtaráin he:תבנית:נשיא ארצות הברית id:Templat:Politikus ja:Template:大統領 lb:Template:Minister mk:Шаблон:Инфокутија државник nl:Sjabloon:Amerikaanse President no:Mal:Infoboks president USA nn:Mal:Infoboks leiar ps:Template:ولسمشربکس pl:Szablon:Polityk infobox ru:Шаблон:Правитель ro:Format:Functie oficiala simple:Template:Infobox President sk:Šablóna:Prezident USA sl:Predloga:Infopolje Predsednik sv:Mall:Regeringschef vi:Tiêu bản:Tổng thống ta:வார்ப்புரு:தகவற்சட்டம் தலைவர்கள் tr:Şablon:Bilgikutusu Başkan zh:Template:Infobox President