Template:Infobox officeholder/office: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(per request on talk page)
(add optional termlabel per request)
Line 111: Line 111:
{{!}}-
{{!}}-
|{{#if: {{{term|}}}|
|{{#if: {{{term|}}}|
{{!}}colspan=2 style="border-bottom:none; text-align:center"{{!}}{{nowrap|'''In role'''}}<br />{{{term}}}{{#if:{{{termstart|}}}{{{termend|}}}|[[Category:Pages using infobox officeholder with both term and term_start or term_end]]}}
{{!}}colspan=2 style="border-bottom:none; text-align:center"{{!}}{{nowrap|'''{{{termlabel|In office}}}'''}}<br />{{{term}}}{{#if:{{{termstart|}}}{{{termend|}}}|[[Category:Pages using infobox officeholder with both term and term_start or term_end]]}}
{{!}}-
{{!}}-
}}
}}
Line 117: Line 117:
{{#if:{{{termend|}}}
{{#if:{{{termend|}}}
|<!--then term has start and end:-->
|<!--then term has start and end:-->
{{!}}colspan=2 style="border-bottom:none; text-align:center"{{!}}{{nowrap|'''In role'''}}<br />{{{termstart}}}{{#iferror:{{#expr:{{{termstart}}}*{{{termend}}}}}|&nbsp;–&#32;|–}}{{{termend}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<br />{{#if:{{{alongside|}}}|Serving|Co-leading}}&#32;with&#32;{{#if:{{{alongside|}}}|{{{alongside}}}|{{{co-leader}}}}}}}
{{!}}colspan=2 style="border-bottom:none; text-align:center"{{!}}{{nowrap|'''{{{termlabel|In office}}}'''}}<br />{{{termstart}}}{{#iferror:{{#expr:{{{termstart}}}*{{{termend}}}}}|&nbsp;–&#32;|–}}{{{termend}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<br />{{#if:{{{alongside|}}}|Serving|Co-leading}}&#32;with&#32;{{#if:{{{alongside|}}}|{{{alongside}}}|{{{co-leader}}}}}}}
{{!}}-
{{!}}-
|<!--else:--> <!--term is ongoing-->
|<!--else:--> <!--term is ongoing-->

Revision as of 20:09, 11 May 2015