Template:Infobox officeholder/office: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
m (1 revision imported) |
m (1 revision imported) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | 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|}}} |
{{#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 |
|{{infobox|child=yes|decat=yes |
||
| headerstyle = background:{{{color|lavender}}} |
| headerstyle = background:{{{color|lavender}}};line-height:normal;padding:0.2em 0.2em |
||
| datastyle = border-bottom:none |
| datastyle = border-bottom:none |
||
Line 100: | Line 100: | ||
<!--------Term---------> |
<!--------Term---------> |
||
| data19 = {{#if:{{{ |
| data19 = {{#if:{{{termend|}}}{{{succeeding|}}}| |
||
{{#if:{{{status|}}} |
|||
| <div style="width:100%; margin:0; background-color: {{{color|lavender}}}">'''{{{status}}}'''</div>|}}| |
|||
}} |
|||
| data20 = {{#if:{{{nominee|}}}{{{candidate|}}}|| |
|||
{{#if:{{{succeeding|}}} |
{{#if:{{{succeeding|}}} |
||
| {{nowrap|'''Assuming office'''}}<br />{{{termstart}}}{{#if:{{{term|}}}{{{termend|}}}|[[Category:Pages using infobox officeholder with succeeding and term or termend]]}} |
| {{nowrap|'''Assuming office'''}}<br />{{{termstart}}}{{#if:{{{term|}}}{{{termend|}}}|[[Category:Pages using infobox officeholder with succeeding and term or termend]]}} |
||
Line 106: | Line 111: | ||
}} }} |
}} }} |
||
| |
| data21 = {{#if:{{{nominee|}}}{{{candidate|}}}|| |
||
{{#if:{{{succeeding|}}} |
{{#if:{{{succeeding|}}} |
||
| |
| |
||
|{{#if:{{{termstart|}}} |
|{{#if:{{{termstart|}}} |
||
| {{#if:{{{termend|}}} |
| {{#if:{{{termend|}}} |
||
|<!--then: term has start and end:-->{{nowrap|'''{{{termlabel|In office}}}'''}}<br />{{{termstart}}}{{#iferror:{{#expr:{{{termstart}}}*{{{termend}}}}}| – |–}}{{{termend}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|< |
|<!--then: term has start and end:-->{{nowrap|'''{{{termlabel|In office}}}'''}}<br />{{{termstart}}}{{#iferror:{{#expr:{{{termstart}}}*{{{termend}}}}}| – |–}}{{{termend}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<div style="line-height:normal; padding-top:0.2em; padding-bottom:0.1em">{{#if:{{{alongside|}}}|Serving|Co-leading}} with {{#if:{{{alongside|}}}|{{{alongside}}}|{{{co-leader}}}}}</div>}} |
||
|<!--else: term is ongoing--><div style="width:100%; margin |
|{{#if:{{{status|}}}|<div style="width:100%; margin:0; background-color: {{{color|lavender}}}">'''{{{status}}}'''</div>|<!--else: term is ongoing--><div style="width:100%; margin:0; background-color: {{{color|lavender}}}">'''[[Incumbent]]'''</div>}} |
||
}} |
}} |
||
}} |
}} |
||
}} }} |
}} }} |
||
| |
| data22 = {{#if:{{{nominee|}}}{{{candidate|}}}|| |
||
{{#if:{{{succeeding|}}} |
{{#if:{{{succeeding|}}} |
||
| |
| |
||
Line 123: | Line 128: | ||
|{{#if:{{{termend|}}} |
|{{#if:{{{termend|}}} |
||
|<!--then nothing else; term has ended--> |
|<!--then nothing else; term has ended--> |
||
|<!--else term is ongoing:-->{{nowrap|'''Assumed office'''}} <br />{{{termstart}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|< |
|<!--else term is ongoing:-->{{nowrap|'''Assumed office'''}} <br />{{{termstart}}}{{#if:{{{alongside|}}}{{{co-leader|}}}|<div style="line-height:normal; padding-top:0.2em; padding-bottom:0.1em">{{#if:{{{alongside|}}}|Serving|Co-leader}} with {{#if:{{{alongside|}}}|{{{alongside}}}|{{{co-leader}}}}}</div>}} |
||
}} |
}} |
||
}} |
}} |