Template:Infobox officeholder/office: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(Allow a custom termlabel to override "Assumed office" for incumbents (prompted by case discussed at Talk:Melania Trump#Edit request to permanently change 'Assumed office' to 'In role')
(Reverted good faith edits by JFG: Unnecessary change; only politicians are described as incumbents. The |term= parameter can be used instead of |term_start to allow the termlabel to appear. (TW))
Line 123: Line 123:
|{{#if:{{{termend|}}}
|{{#if:{{{termend|}}}
|<!--then nothing else; term has ended-->
|<!--then nothing else; term has ended-->
|<!--else term is ongoing:-->{{nowrap|'''{{{termlabel|Assumed office}}}'''}}&#32;<br />{{{termstart}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<br />{{#if:{{{alongside|}}}|Serving|Co-leader}}&#32;with&#32;{{#if:{{{alongside|}}}|{{{alongside}}}|{{{co-leader}}}}}}}
|<!--else term is ongoing:-->{{nowrap|'''Assumed office'''}}&#32;<br />{{{termstart}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<br />{{#if:{{{alongside|}}}|Serving|Co-leader}}&#32;with&#32;{{#if:{{{alongside|}}}|{{{alongside}}}|{{{co-leader}}}}}}}
}}
}}
}}
}}

Revision as of 21:58, 2 July 2018