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----------> |
||
⚫ | |||
{{#if:{{{order|}}} |<!--then:--> |
|||
|- |
|||
⚫ | |||
{{!-}} |
|||
}} |
|||
<!----------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 office since''' {{{term_start}}}<br> |
{{!}}colspan="2" style="text-align:center;"{{!}} '''In office since''' {{{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%;"{{!}} < |
!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 office since''' |
{{!}}colspan="2" style="text-align:center;"{{!}} '''In office since''' {{{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|}}} |
||
|- |
|- |