Template:Infobox officeholder: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(replacing HTML table code with wikicode)
(making {{{order}}} a required parameter ("Officeholder" needs at least one office), <br>s → <hr>s (divider) to improve sectioning)
Line 17: Line 17:


<!----------Office---------->
<!----------Office---------->
!colspan="2" style="text-align:center; font-size:110%;"| <hr>{{{order}}}
{{#if:{{{order|}}} |<!--then:-->
|-
!colspan="2" style="text-align:center; font-size:110%;"{{!}} {{{order}}}
{{!-}}
}}


<!----------Term---------->
<!----------Term---------->
Line 35: Line 33:
|<!--then:--> <!--(nothing; term has ended)-->
|<!--then:--> <!--(nothing; term has ended)-->
|<!--else:-->
|<!--else:-->
{{!}}colspan="2" style="text-align:center;"{{!}} '''In&nbsp;office&nbsp;since'''&nbsp;{{{term_start}}}<br>
{{!}}colspan="2" style="text-align:center;"{{!}} '''In&nbsp;office&nbsp;since'''&nbsp;&nbsp;{{{term_start}}}<br>
{{!-}}
{{!-}}
}}
}}
Line 71: Line 69:
<!----------Second office---------->
<!----------Second office---------->
{{#if:{{{order2|}}} |<!--then:-->
{{#if:{{{order2|}}} |<!--then:-->
!colspan="2" style="text-align:center; font-size:110%;"{{!}} <br>{{{order2}}}
!colspan="2" style="text-align:center; font-size:110%;"{{!}} <hr>{{{order2}}}
{{!-}}
{{!-}}
}}
}}
Line 86: Line 84:
|<!--then:--> <!--(nothing; term has ended)-->
|<!--then:--> <!--(nothing; term has ended)-->
|<!--else:-->
|<!--else:-->
{{!}}colspan="2" style="text-align:center;"{{!}} '''In&nbsp;office&nbsp;since'''<br>{{{term_start2}}<br>
{{!}}colspan="2" style="text-align:center;"{{!}} '''In&nbsp;office&nbsp;since'''&nbsp;&nbsp;{{{term_start2}}}<br>
{{!-}}
{{!-}}
}}
}}
Line 112: Line 110:
<!----------Birth/Death---------->
<!----------Birth/Death---------->
|-
|-
|colspan="2"| <hr>
! <!--carriage-return to aid layout:-->
|-
Born
! Born
| {{{birth_date|}}}<br/>{{{birth_place|}}}
| {{{birth_date|}}}<br/>{{{birth_place|}}}
|-
|-

Revision as of 17:12, 6 November 2006