Template:Infobox officeholder/Office: Difference between revisions
From Cibernética Americana
Jump to navigationJump to search
(Created page with '<includeonly> <!----------Speaker of the House----------> {{#if:{{{speaker|}}}| {{#if:{{{state_legislature|}}}| !colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><...') |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<!----------Speaker of the House----------> | <!----------Speaker of the House----------> | ||
{{#if:{{{speaker|}}}| | {{#if:{{{speaker|}}}| | ||
{{#if:{{{state_legislature|}}}| | {{#if:{{{state_legislature|}}}| | ||
!colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background: | !colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:maroon;">{{{speaker}}} [[Speaker of the {{{legislature|}}} Legislature]]</div> | ||
{{!}}- | {{!}}- | ||
|{{#if:{{{state_assembly|}}}| | |{{#if:{{{state_assembly|}}}| | ||
!colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background: | !colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:maroon;">{{{speaker}}} [[Speaker of the {{{state_assembly|}}} {{#ifeq:{{{state_assembly|}}}|Nevada||{{#ifeq:{{{state_assembly|}}}|New Jersey|General|State}}}} Assembly]]</div> | ||
{{!}}- | {{!}}- | ||
|{{#if:{{{speaker|}}}| | |{{#if:{{{speaker|}}}| | ||
!colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background: | !colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:maroon;">{{{speaker}}} {{#if:{{{speaker_office|}}}|{{{speaker_office}}}|[[Speaker of the {{#if:{{{state_delegate|}}} |{{{state_delegate}}}|{{#if:{{{state_house|}}} |{{{state_house}}}|United States}}}} House of {{#if:{{{state_delegate|}}}|Delegates|Representatives}}|Speaker of the {{#if:{{{state_delegate|}}} |{{{state_delegate}}}|{{#if:{{{state_house|}}} |{{{state_house}}}|U.S.}}}} House of {{#if:{{{state_delegate|}}}|Delegates|Representatives}}]]}}</div> | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 17: | Line 18: | ||
<!----------Office----------> | <!----------Office----------> | ||
{{#if:{{{{{#if:{{{nominee{{{1}}}|}}}|nominee|candidate}}{{{1}}}|}}}| | {{#if:{{{{{#if:{{{nominee{{{1}}}|}}}|nominee|candidate}}{{{1}}}|}}}| | ||
!colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background: | !colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:maroon;"> {{#if:{{{party{{#if:{{{party_election{{{1}}}||}}}|_election{{{1}}}||}}|}}}|{{{party{{#if:{{{party_election{{{1}}}||}}}|_election{{{1}}}||}}|}}} }}{{#if:{{{nominee{{{1}}}|}}}|{{#if:{{{party{{#if:{{{party_election{{{1}}}||}}}|_election{{{1}}}||}}|}}}|n|N}}ominee|{{#if:{{{party{{#if:{{{party_election{{{1}}}||}}}|_election{{{1}}}||}}|}}}|c|C}}andidate}} for<br>{{{{{#if:{{{nominee{{{1}}}|}}}|nominee|candidate}}{{{1}}}|}}}</div> | ||
{{!}}- | {{!}}- | ||
{{#if:{{{term{{#if:{{{termstart{{{1}}}|}}}||_}}start{{{1}}}|}}}{{{election_date{{{1}}}|}}} | | {{#if:{{{term{{#if:{{{termstart{{{1}}}|}}}||_}}start{{{1}}}|}}}{{{election_date{{{1}}}|}}} | | ||
Line 26: | Line 27: | ||
{{#if:{{{majority_leader{{{1}}}|}}}{{{majorityleader{{{1}}}|}}}{{{minority_floor_leader{{{1}}}|}}}{{{minority_leader{{{1}}}|}}}{{{majority_floor_leader{{{1}}}|}}}|| | {{#if:{{{majority_leader{{{1}}}|}}}{{{majorityleader{{{1}}}|}}}{{{minority_floor_leader{{{1}}}|}}}{{{minority_leader{{{1}}}|}}}{{{majority_floor_leader{{{1}}}|}}}|| | ||
{{#if:{{{jr/sr{{{1}}}|}}}| | {{#if:{{{jr/sr{{{1}}}|}}}| | ||
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background: | {{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:maroon; font-weight:bold;">[[United States Senate|<!--Changed code to eliminate "Junior/Senior" distinction for U.S. Senators per [[Template talk:Infobox Officeholder#Senior/Junior U.S. Senators]]{{{jr/sr}}}-->United States Senator{{#if:{{{succeeding{{{1}}}|}}} |-elect}}]]<br />from {{{state{{{1}}}}}}</div> | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{jr/sr and state{{{1}}}|}}}| | {{#if:{{{jr/sr and state{{{1}}}|}}}| | ||
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background: | {{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:maroon; font-weight:bold;">{{{jr/sr and state{{{1}}}}}}</div> | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{state_senate{{{1}}}|}}}| | {{#if:{{{state_senate{{{1}}}|}}}| | ||
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background: | {{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:maroon; font-weight:bold">Member of the [[{{{state_senate{{{1}}}}}} Senate]]<br />from the {{{district{{{1}}}}}} district{{#if:{{{prior_term{{{1}}}|}}}| | ||
<br /><small>{{{prior_term{{{1}}}}}}</small>}} | <br /><small>{{{prior_term{{{1}}}}}}</small>}} | ||
</div> | </div> | ||
Line 40: | Line 41: | ||
}} | }} | ||
{{#if:{{{state_legislature{{{1}}}|}}}| | {{#if:{{{state_legislature{{{1}}}|}}}| | ||
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background: | {{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:maroon; font-weight:bold">Member of the [[{{{state_legislature{{{1}}}}}} Legislature]]<br />from the {{{district{{{1}}}}}} district</div> | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 47: | Line 48: | ||
{{#if:{{{order{{{1}}}|}}} | | {{#if:{{{order{{{1}}}|}}} | | ||
!colspan="2" style="text-align:center; font-size:110%;"{{!}} <hr/><!-- | !colspan="2" style="text-align:center; font-size:110%;"{{!}} <hr/><!-- | ||
--><div style="background: | --><div style="background:maroon;">{{{order{{{1}}}}}}<!-- | ||
-->{{#if:{{{office{{{1}}}|}}} | [[{{{office{{{1}}}}}}]]}}<!-- | -->{{#if:{{{office{{{1}}}|}}} | [[{{{office{{{1}}}}}}]]}}<!-- | ||
-->{{#if:{{{state{{{1}}}|}}} | [[{{{state{{{1}}}}}}]]}}<!-- | -->{{#if:{{{state{{{1}}}|}}} | [[{{{state{{{1}}}}}}]]}}<!-- | ||
Line 54: | Line 55: | ||
{{!}}-| | {{!}}-| | ||
{{#if:{{{office{{{1}}}|}}}| | {{#if:{{{office{{{1}}}|}}}| | ||
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr><div style="background: | {{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr><div style="background:maroon; font-weight:bold">{{{office{{{1}}}}}}</div> | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{title{{{1}}}|}}}| | {{#if:{{{title{{{1}}}|}}}| | ||
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr><div style="background: | {{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr><div style="background:maroon; font-weight:bold">{{{title{{{1}}}}}}</div> | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 66: | Line 67: | ||
{{#if:{{{{{#if:{{{ambassador_from{{{1}}}|}}}|ambassador|minister}}_from{{{1}}}|}}}| | {{#if:{{{{{#if:{{{ambassador_from{{{1}}}|}}}|ambassador|minister}}_from{{{1}}}|}}}| | ||
{{#if:{{{country{{{1}}}|}}}| | {{#if:{{{country{{{1}}}|}}}| | ||
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background: | {{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:maroon; font-weight:bold;">{{#if:{{{order{{{1}}}|}}}|{{{order{{{1}}}}}}}} [[{{{{{#if:{{{ambassador_from{{{1}}}|}}}|ambassador|minister}}_from{{{1}}}}}} Ambassador to {{{country{{{1}}}}}}{{#if:{{{minister_from{{{1}}}|}}}|{{!}}{{{minister_from{{{1}}}}}} Minister to {{{country{{{1}}}}}}}}]]</div> | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 72: | Line 73: | ||
<!----------MP----------> | <!----------MP----------> | ||
{{#if:{{{constituency_{{#if:{{{constituency_AM{{{1}}}|}}}|AM|MP}}{{{1}}}|}}}| | {{#if:{{{constituency_{{#if:{{{constituency_AM{{{1}}}|}}}|AM|MP}}{{{1}}}|}}}| | ||
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background: | {{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:maroon; font-weight:bold;">{{#ifeq:{{{parliament{{{1}}}|}}}|Ireland|[[Teachta Dála]]|{{#if:{{{constituency_AM{{{1}}}|}}}|{{#if:{{{assembly{{{1}}}|}}}|Member of the [[{{{assembly{{{1}}}}}} Assembly]]|Assembly Member}}|Member of {{#if:{{{parliament{{{1}}}|}}}|the [[{{{parliament{{{1}}}}}} Parliament]]|Parliament}}}}}}<br />for {{{constituency_{{#if:{{{constituency_AM{{{1}}}|}}}|AM|MP}}{{{1}}}}}}</div> | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{riding{{{1}}}|}}}| | {{#if:{{{riding{{{1}}}|}}}| | ||
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background: | {{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:maroon; font-weight:bold;">{{#if:{{{constituency_AM{{{1}}}|}}}|{{#if:{{{assembly{{{1}}}|}}}|Member of the [[{{{assembly{{{1}}}}}} Assembly]]|Assembly Member}}|Member of {{#if:{{{parliament{{{1}}}|}}}|the [[{{{parliament{{{1}}}}}} Parliament]]|Parliament}}}}<br />for {{{riding{{{1}}}}}}</div> | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
<!----------Majority Leader (State Senate)----------> | <!----------Majority Leader (State Senate)----------> | ||
{{#if:{{{majority_leader{{{1}}}|}}}| | {{#if:{{{majority_leader{{{1}}}|}}}| | ||
!colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background: | !colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:maroon;">{{{majority_leader{{{1}}}}}} [[Majority Leader of the {{{state_senate{{{1}}}}}} Senate|Majority Leader of the {{{state_senate{{{1}}}}}} Senate]]</div> | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
<!----------Majority Floor Leader (State Senate)----------> | <!----------Majority Floor Leader (State Senate)----------> | ||
{{#if:{{{majority_floor_leader{{{1}}}|}}}| | {{#if:{{{majority_floor_leader{{{1}}}|}}}| | ||
!colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background: | !colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:maroon;">{{{majority_floor_leader{{{1}}}}}} [[Majority Floor Leader of the {{{state_senate{{{1}}}}}} Senate|Majority Floor Leader of the {{{state_senate{{{1}}}}}} Senate]]</div> | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
<!----------Minority Leader (State Senate)----------> | <!----------Minority Leader (State Senate)----------> | ||
{{#if:{{{minority_leader{{{1}}}|}}}| | {{#if:{{{minority_leader{{{1}}}|}}}| | ||
!colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background: | !colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:maroon;">{{{minority_leader{{{1}}}}}} [[Minority Leader of the {{{state_senate{{{1}}}}}} Senate|Minority Leader of the {{{state_senate{{{1}}}}}} Senate]]</div> | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
<!----------Minority Floor Leader (State Senate)----------> | <!----------Minority Floor Leader (State Senate)----------> | ||
{{#if:{{{minority_floor_leader{{{1}}}|}}}| | {{#if:{{{minority_floor_leader{{{1}}}|}}}| | ||
!colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background: | !colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:maroon;">{{{minority_floor_leader{{{1}}}}}} [[Minority Floor Leader of the {{{state_senate{{{1}}}}}} Senate|Minority Floor Leader of the {{{state_senate{{{1}}}}}} Senate]]</div> | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
<!----------Majority Leader----------> | <!----------Majority Leader----------> | ||
{{#if:{{{majorityleader{{{1}}}|}}}| | {{#if:{{{majorityleader{{{1}}}|}}}| | ||
!colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background: | !colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:maroon;">{{{majorityleader{{{1}}}}}} [[United States Senate Majority Leader]]</div> | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 107: | Line 108: | ||
{{#if:{{{state_legislature{{{1}}}|}}}{{{state_senate{{{1}}}|}}}{{{jr/sr{{{1}}}|}}}{{{jr/sr and state{{{1}}}|}}}|| | {{#if:{{{state_legislature{{{1}}}|}}}{{{state_senate{{{1}}}|}}}{{{jr/sr{{{1}}}|}}}{{{jr/sr and state{{{1}}}|}}}|| | ||
{{#if:{{{district{{{1}}}|}}}| | {{#if:{{{district{{{1}}}|}}}| | ||
{{#if:{{{succeeding{{{1}}}|}}}|{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background: | {{#if:{{{succeeding{{{1}}}|}}}|{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:maroon; font-weight:bold;">Member-elect of the [[United States House of Representatives|U.S. House of Representatives]]{{#if:{{{state{{{1}}}|}}}| from<br />{{{state{{{1}}}}}}'s {{{district{{{1}}}}}}}} district | ||
{{!}}-|{{#if:{{{state_assembly{{{1}}}|}}}| | {{!}}-|{{#if:{{{state_assembly{{{1}}}|}}}| | ||
!colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background: | !colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:maroon;">Member of the [[{{{state_assembly{{{1}}}|}}} {{#ifeq:{{{state_assembly{{{1}}}|}}}|Nevada||{{#ifeq:{{{state_assembly{{{1}}}|}}}|New Jersey|General|State}}}} Assembly]]<br />from {{#if:{{{state_assembly{{{1}}}|}}}|the {{{district{{{1}}}}}}}} district</div> | ||
{{!}}- | {{!}}- | ||
|{{#if:{{{district{{{1}}}|}}}| | |{{#if:{{{district{{{1}}}|}}}| | ||
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background: | {{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:maroon; font-weight:bold;">Member of the [[{{#if:{{{state_house{{{1}}}|}}} |{{{state_house{{{1}}}}}}|{{#if:{{{state_delegate{{{1}}}|}}}|{{{state_delegate{{{1}}}}}}|United States }}}} {{#if:{{{state_delegate{{{1}}}|}}}|House of Delegates|House of Representatives}}|{{#if:{{{state_house{{{1}}}|}}} |{{{state_house{{{1}}}}}}|{{#if:{{{state_delegate{{{1}}}|}}}|{{{state_delegate{{{1}}}}}}|U.S.}}}} {{#if:{{{state_delegate{{{1}}}|}}}|House of Delegates|{{#if:{{{state_house{{{1}}}|}}}| }}House of Representatives}}]]<br />from {{#if:{{{state_delegate{{{1}}}|}}}|the |{{#if:{{{state_house{{{1}}}|}}}|the |{{{state{{{1}}}}}}'s}}}} {{{district{{{1}}}}}} district{{#if:{{{prior_term{{{1}}}|}}}| | ||
<br /><small>{{{prior_term{{{1}}}}}}</small>}} | <br /><small>{{{prior_term{{{1}}}}}}</small>}} | ||
</div> | </div> | ||
Line 136: | Line 137: | ||
{{!}}- | {{!}}- | ||
|<!--else:--> <!--term is ongoing--> | |<!--else:--> <!--term is ongoing--> | ||
{{!}}colspan="2" style="text-align:center; background: | {{!}}colspan="2" style="text-align:center; background:maroon;"{{!}} '''[[Incumbent]]''' | ||
{{!}}- | {{!}}- | ||
}} | }} |
Latest revision as of 01:07, 26 June 2011
[create] Template documentation
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |