Template:Infobox officeholder/office: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
(fix bug with the succeeding parameter, per talk) |
(Undid revision 522046495 by Philosopher (talk) rv self - apparently I didn't test it thoroughly enough?) |
||
Line 34: | Line 34: | ||
}} |
}} |
||
{{#if:{{{state_senate|}}}| |
{{#if:{{{state_senate|}}}| |
||
! colspan=2 style="background-color: lavender; text-align: center" {{!}} Member |
! colspan=2 style="background-color: lavender; text-align: center" {{!}} Member of the [[{{{state_senate}}} Senate]]<br />from the {{{district}}} district{{#if:{{{prior_term|}}}| |
||
<br /><small>{{{prior_term}}}</small>}} |
<br /><small>{{{prior_term}}}</small>}} |
||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
{{#if:{{{state_legislature|}}}| |
{{#if:{{{state_legislature|}}}| |
||
! colspan=2 style="background-color: lavender; text-align: center" {{!}} Member |
! colspan=2 style="background-color: lavender; text-align: center" {{!}} Member of the [[{{{state_legislature}}} Legislature]]<br />from the {{{district}}} district |
||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
Line 101: | Line 101: | ||
{{#if:{{{state_legislature|}}}{{{state_senate|}}}{{{jr/sr|}}}{{{jr/sr and state|}}}|| |
{{#if:{{{state_legislature|}}}{{{state_senate|}}}{{{jr/sr|}}}{{{jr/sr and state|}}}|| |
||
{{#if:{{{district|}}}| |
{{#if:{{{district|}}}| |
||
{{#if:{{{succeeding|}}}| |
|||
! colspan=2 style="background-color: lavender; text-align: center" {{!}} Member{{#if:{{{succeeding|}}} |-elect}} of the [[{{#if:{{{state_house|}}} |{{{state_house}}}|{{#if:{{{state_delegate|}}}|{{{state_delegate}}}|United States }}}} {{#if:{{{state_delegate|}}}|House of Delegates|House of Representatives}}|{{#if:{{{state_house|}}} |{{{state_house}}}|{{#if:{{{state_delegate|}}}|{{{state_delegate}}}|U.S.}}}} {{#if:{{{state_delegate|}}}|House of Delegates|{{#if:{{{state_house|}}}| }}House of Representatives}}]]<br />from {{#if:{{{state_delegate|}}}|the |{{#if:{{{state_house|}}}|the |{{{state}}}'s}}}} {{{district}}} district{{#if:{{{prior_term|}}}| |
|||
! colspan=2 style="background-color: lavender; text-align: center" {{!}} Member-elect of the [[United States House of Representatives|U.S. House of Representatives]]{{#if:{{{state|}}}| from<br />{{{state}}}'s {{{district}}}}} district |
|||
<br /><small>{{{prior_term}}}</small>}} |
|||
{{!}}-|{{#if:{{{state_assembly|}}}| |
|||
! colspan=2 style="background-color: lavender; text-align: center" {{!}} Member of the [[{{{state_assembly|}}} {{#ifeq:{{{state_assembly|}}}|Nevada||{{#ifeq:{{{state_assembly|}}}|New Jersey|General|State}}}} Assembly]]<br />from {{#if:{{{state_assembly|}}}|the {{{district}}}}} district |
|||
{{!}}- |
{{!}}- |
||
|{{#if:{{{district|}}}| |
|{{#if:{{{district|}}}| |
||
Line 108: | Line 110: | ||
<br /><small>{{{prior_term}}}</small>}} |
<br /><small>{{{prior_term}}}</small>}} |
||
{{!}}- |
{{!}}- |
||
}} |
|||
}} |
|||
}} |
}} |
||
}} |
}} |