Anonymous user
Template:Infobox officeholder: Difference between revisions
{{inuse}}
(tried to fix problem for Incumbents) |
({{inuse}}) |
||
Line 1:
{{inuse}}
{| class="infobox" style="width:23em; font-size:90%; text-align:left; padding-left:0.5em; padding-right:0.5em;"
Line 23 ⟶ 24:
<!----------Term---------->
{{#if:{{{term_start|}}} |<!--then:-->
{{#if:{{{term_end|}}}
|<!--then:--> <!--term has start and end-->
-->{{#if:{{{term_end|}}}|<!--then--> |<!--else--><tr><th>In office since</th><td>{{{term_start}}}</td></tr>}}}}▼
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''In office'''<br>{{{term_start}}} – {{{term_end}}}<br>
{{!-}}
|<!--else:--> <!--term is ongoing-->
{{!}}colspan="2" style="text-align:center; background:#b0c4de;"{{!}} '''[[Incumbent]]'''<br>
{{!-}}
}}
{{#if:{{{term_end|}}}
|<!--then:--> <!--(nothing; term has ended)-->
|<!--else:-->
▲
{{!-}}
}}
}}
<!----------Vice president/s, Vice prime minister/s, Deputy/ies---------->
Line 61 ⟶ 75:
{{!-}}
}}
{{#if:{{{term_start2|}}} |<!--then:-->
{{#if:{{{term_end|}}}
-->{{#if:{{{term_end2|}}}|<!--then--> |<!--else--><tr><th>In office since</th><td>{{{term_start2}}}</td></tr>}}}}▼
|<!--then:--> <!--term has start and end-->
{{!}}colspan="2" style="border-bottom:none; text-align:center;"{{!}} '''In office'''<br>{{{term_start2}}} – {{{term_end2}}}<br>
{{!-}}
|<!--else:--> <!--term is ongoing-->
{{!}}colspan="2" style="text-align:center; background:#b0c4de;"{{!}} '''[[Incumbent]]'''<br>
{{!-}}
}}
{{#if:{{{term_end2|}}}
|<!--then:--> <!--(nothing; term has ended)-->
|<!--else:-->
▲
{{!-}}
}}
}}
<!----------President---------->
|