Template:Infobox officeholder: Difference between revisions

m
some code reformatting
(making requested edits)
m (some code reformatting)
Line 2:
|-
<!----------Name---------->
|colspan="2" class="fn" style="text-align: center; font-size:140%;" class="fn"| '''{{{name|{{PAGENAME}}}}}'''
|-
 
Line 17:
<!----------Office---------->
{{#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>
--><div style="background:lavender; font-weight:bold;">{{{order}}}<!--
-->{{#if:{{{office|}}} |<!--then:-->&nbsp;[[{{{office}}}]]}}<!--
-->{{#if:{{{state|}}} |<!--then:-->&nbsp;[[{{{state}}}]]}}<!--
--></div>
{{!-}}
}}
<!----------Term---------->
{{#if:{{{term_start|}}} |<!--then:-->
-->{{#if:{{{term_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}}}
{{!-}}<!--
-->|<!--else:--> <!--term is ongoing:-->
{{!}}colspan="2" style="text-align:center; background:lavender;"{{!}} '''[[Incumbent]]'''
{{!-}}
}}
{{#if:{{{term_end|}}}
|<!--then:--> <!--(nothing else; term has ended)-->
|<!--else term ongoing:-->
{{!}}colspan="2" style="text-align:center;"{{!}} '''Assumed&nbsp;office&nbsp;'''<br/>{{{term_start}}}
{{!-}}
}}
Line 39 ⟶ 43:
<!----------Vice president/s, Vice Prime Minister/s, Deputy/ies, Lieutenant/s---------->
{{#if:{{{vicepresident|}}} |<!--then:-->
! Vice&nbsp;President(s)&nbsp;&nbsp;{{spaces|2}}
{{!}} {{{vicepresident}}}
{{!-}}
}}
{{#if:{{{viceprimeminister|}}} |<!--then:-->
! Vice&nbsp;[[Prime Minister|PM]](s)&nbsp;&nbsp;{{spaces|2}}
{{!}} {{{viceprimeminister}}}
{{!-}}
Line 54 ⟶ 58:
}}
{{#if:{{{lieutenant|}}} |<!--then:-->
! {{#if:{{{office|}}} |<!--then:-->[[Lieutenant {{{office}}}|Lieutenant(s)]]|Lieutenant(s)}}
{{!}} {{{lieutenant}}}
{{!-}}
Line 103 ⟶ 107:
<!----------Second office---------->
{{#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>!--
--><div style="background:lavender;">{{{order2}}}<!--
-->{{#if:{{{office2|}}} |<!--then:-->&nbsp;[[{{{office2}}}]]}}<!--
-->{{#if:{{{state2|}}} |<!--then:-->&nbsp;[[{{{state2}}}]]}}<!--
--></div>
{{!-}}
}}
{{#if:{{{term_start2|}}} |<!--then:-->
{{#if:{{{term_end2|}}}
|<!--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}}}
{{!-}}
|<!--else:--> <!--term is ongoing:-->
{{!}}colspan="2" style="text-align:center; background:lavender;"{{!}} '''[[Incumbent]]'''
{{!-}}
}}
{{#if:{{{term_end2|}}}
|<!--then:--> <!--(nothing else; term has ended)-->
|<!--else term ongoing:-->
{{!}}colspan="2" style="text-align:center;"{{!}} '''Assumed&nbsp;office'''<br/>{{{term_start2}}}
{{!-}}
}}
<!----------Second Vice president/s, Vice Prime Minister/s, Deputy/ies, Lieutenant/s---------->
{{#if:{{{vicepresident2|}}} |<!--then:-->
! Vice&nbsp;President(s)&nbsp;&nbsp;{{spaces|2}}
{{!}} {{{vicepresident2}}}
{{!-}}
}}
{{#if:{{{viceprimeminister2|}}} |<!--then:-->
! Vice&nbsp;[[Prime Minister|PM]](s)&nbsp;&nbsp;{{spaces|2}}
{{!}} {{{viceprimeminister2}}}
{{!-}}
Line 138 ⟶ 146:
}}
{{#if:{{{lieutenant2|}}} |<!--then:-->
! {{#if:{{{office2|}}} |<!--then:-->[[Lieutenant {{{office2}}}|Lieutenant(s)]]|Lieutenant(s)}}
{{!}} {{{lieutenant2}}}
{{!-}}
Line 177 ⟶ 185:
<!----------Third office---------->
{{#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>!--
--><div style="background:lavender;">{{{order3}}}<!--
-->{{#if:{{{office3|}}} |<!--then:-->&nbsp;[[{{{office3}}}]]}}<!--
-->{{#if:{{{state3|}}} |<!--then:-->&nbsp;[[{{{state3}}}]]}}<!--
--></div>
{{!-}}
}}
{{#if:{{{term_start3|}}} |<!--then:-->
{{#if:{{{term_end3|}}}
|<!--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}}}
{{!-}}
|<!--else:--> <!--term is ongoing:-->
{{!}}colspan="2" style="text-align:center; background:lavender;"{{!}} '''[[Incumbent]]'''
{{!-}}
}}
{{#if:{{{term_end3|}}}
|<!--then:--> <!--(nothing else; term has ended)-->
|<!--else term is ongoing:-->
{{!}}colspan="2" style="text-align:center;"{{!}} '''Assumed&nbsp;office'''<br/>{{{term_start3}}}
{{!-}}
}}
}}
<!----------Third Vice president/s, Vice Prime Minister/s, Deputy/ies, Lieutenant/s---------->
{{#if:{{{vicepresident3|}}} |<!--then:-->
! Vice&nbsp;President(s)&nbsp;&nbsp;{{spaces|2}}
{{!}} {{{vicepresident3}}}
{{!-}}
}}
{{#if:{{{viceprimeminister3|}}} |<!--then:-->
! Vice&nbsp;[[Prime Minister|PM]](s)&nbsp;&nbsp;{{spaces|2}}
{{!}} {{{viceprimeminister3}}}
{{!-}}
Line 213 ⟶ 225:
}}
{{#if:{{{lieutenant3|}}} |<!--then:-->
! {{#if:{{{office3|}}} |<!--then:-->[[Lieutenant {{{office3}}}|Lieutenant(s)]]|Lieutenant(s)}}
{{!}} {{{lieutenant3}}}
{{!-}}
Line 251 ⟶ 263:
<!----------Fourth office---------->
{{#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>!--
--><div style="background:lavender;">{{{order4}}}<!--
-->{{#if:{{{office4|}}} |<!--then:-->&nbsp;[[{{{office4}}}]]}}<!--
-->{{#if:{{{state4|}}} |<!--then:-->&nbsp;[[{{{state4}}}]]}}<!--
--></div>
{{!-}}
}}
{{#if:{{{term_start4|}}} |<!--then:-->
{{#if:{{{term_end4|}}}
|<!--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}}}
{{!-}}
|<!--else:--> <!--term is ongoing:-->
{{!}}colspan="2" style="text-align:center; background:lavender;"{{!}} '''[[Incumbent]]'''
{{!-}}
}}
{{#if:{{{term_end4|}}}
|<!--then:--> <!--(nothing else; term has ended)-->
|<!--else term is ongoing:-->
{{!}}colspan="2" style="text-align:center;"{{!}} '''Assumed&nbsp;office'''<br/>{{{term_start4}}}
{{!-}}
}}
}}
<!----------Fourth Vice president/s, Vice Prime Minister/s, Deputy/ies, Lieutenant/s---------->
{{#if:{{{vicepresident4|}}} |<!--then:-->
! Vice&nbsp;President(s)&nbsp;&nbsp;{{spaces|2}}
{{!}} {{{vicepresident4}}}
{{!-}}
}}
{{#if:{{{viceprimeminister4|}}} |<!--then:-->
! Vice&nbsp;[[Prime Minister|PM]](s)&nbsp;&nbsp;{{spaces|2}}
{{!}} {{{viceprimeminister4}}}
{{!-}}
Line 287 ⟶ 303:
}}
{{#if:{{{lieutenant4|}}} |<!--then:-->
! {{#if:{{{office4|}}} |<!--then:-->[[Lieutenant {{{office4}}}|Lieutenant(s)]]|Lieutenant(s)}}
{{!}} {{{lieutenant4}}}
{{!-}}
Line 325 ⟶ 341:
<!----------Birth/Death---------->
|-
|colspan="2"| <hr/>
|-
! Born
Line 373 ⟶ 389:
}}
|}<noinclude>{{clear}}{{pp-template}}
<br/><hr/><br/>{{esoteric}}
 
 
Line 386 ⟶ 402:
==Microformat==
{{UF-hcard-person}}
 
 
<!--Categories-->