Template:Infobox officeholder/office: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
m (compensate margin) |
m (1.2 = normal) |
||
Line 1:
{{#if:{{{speaker|}}}{{{state_legislature|}}}{{{state_assembly|}}}{{{speaker_office|}}}{{{state_delegate|}}}{{{state_house|}}}{{{prior_term|}}}{{{nominee|}}}{{{candidate|}}}{{{termstart|}}}{{{election_date|}}}{{{majority_leader|}}}{{{minority_floor_leader|}}}{{{minority_leader|}}}{{{majority_floor_leader|}}}{{{jr/sr|}}}{{{succeeding|}}}{{{state|}}}{{{jr/sr and state|}}}{{{state_senate|}}}{{{district|}}}{{{ambassador_from|}}}{{{minister_from|}}}{{{order|}}}{{{office|}}}{{{title|}}}{{{country|}}}{{{constituency_AM|}}}{{{constituency_MP|}}}{{{parliament|}}}{{{assembly|}}}{{{constituency_|}}}{{{riding|}}}{{{term|}}}{{{termend|}}}{{{alongside|}}}{{{co-leader|}}}
|{{infobox|child=yes|decat=yes
| headerstyle = background:{{{color|lavender}}};padding:0.2em 0.2em;line-height:
| datastyle = border-bottom:none
Line 116:
|{{#if:{{{termstart|}}}
| {{#if:{{{termend|}}}
|<!--then: term has start and end:-->{{nowrap|'''{{{termlabel|In office}}}'''}}<br />{{{termstart}}}{{#iferror:{{#expr:{{{termstart}}}*{{{termend}}}}}| – |–}}{{{termend}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<br />{{#if:{{{alongside|}}}|Serving|Co-leading}} with {{#if:{{{alongside|}}}|<div style="line-height:
|{{#if:{{{status|}}}|<div style="width:100%; margin:0; margin-bottom:-0.1em; padding:0; background-color: {{{color|lavender}}}">'''{{{status}}}'''</div>|<!--else: term is ongoing--><div style="width:100%; margin:0; margin-bottom:-0.1em; padding:0; background-color: {{{color|lavender}}}">'''[[Incumbent]]'''</div>}}
}}
Line 128:
|{{#if:{{{termend|}}}
|<!--then nothing else; term has ended-->
|<!--else term is ongoing:-->{{nowrap|'''Assumed office'''}} <br />{{{termstart}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<br />{{#if:{{{alongside|}}}|Serving|Co-leader}} with {{#if:{{{alongside|}}}|<div style="line-height:
}}
}}
|