Anonymous user
Template:Infobox officeholder/office: Difference between revisions
From Roses, Tulips, & Liberty
tidy termstart/termend params
(Template:Infobox officeholder/Office without number 1 param) |
(tidy termstart/termend params) |
||
Line 19:
! colspan=2 style="background-color: lavender; text-align: center" {{!}} {{#if:{{{party{{#if:{{{party_election||}}}|_election||}}|}}}|{{{party{{#if:{{{party_election||}}}|_election||}}|}}} }}{{#if:{{{nominee|}}}|{{#if:{{{party{{#if:{{{party_election||}}}|_election||}}|}}}|n|N}}ominee|{{#if:{{{party{{#if:{{{party_election||}}}|_election||}}|}}}|c|C}}andidate}} for<br>{{{{{#if:{{{nominee|}}}|nominee|candidate}}|}}}
{{!}}-
{{!}}colspan=2 style="border-bottom:none; text-align:center"{{!}}{{nowrap|'''Election date'''}}<br />{{#if:{{{election_date|}}}|{{{election_date}}}|
{{!}}-
}}
Line 123:
{{#if:{{{{{#if:{{{nominee|}}}|nominee|candidate}}|}}}||
{{#if:{{{succeeding|}}}|
{{!}}colspan=2 style="border-bottom:none; text-align:center"{{!}}{{nowrap|'''Taking office'''}}<br />
{{!}}-
|{{#if: {{{term|}}}|
Line 129:
{{!}}-
}}
|<!--then term has start and end:-->
{{!}}colspan=2 style="border-bottom:none; text-align:center"{{!}}{{nowrap|'''In office'''}}<br />
{{!}}-
|<!--else:--> <!--term is ongoing-->
Line 138:
{{!}}-
}}
|<!--then nothing else; term has ended-->
|<!--else term is ongoing:-->
{{!}}colspan=2 style="text-align:center"{{!}}{{nowrap|'''Assumed office'''}} <br />
{{!}}-
}}
|