Template:Infobox officeholder: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
(Per talkpage request, copying in new code by Philip Stevens) |
(fixes for the constituency field, per editprotected by User:Barryob, coding by User:Philip Stevens) |
||
Line 145: | Line 145: | ||
{{!-}} |
{{!-}} |
||
}} |
}} |
||
}} |
|||
<!----------MP----------> |
|||
{{#if:{{{constituency_{{#if:{{{constituency_AM|}}}|AM|MP}}|}}}|<!--then:--> |
|||
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender; font-weight:bold;">{{#if:{{{constituency_AM|}}}|{{#if:{{{assembly|}}}|Member of the [[{{{assembly}}} Assembly]]|Assembly Member}}|Member of {{#if:{{{parliament|}}}|the [[{{{parliament}}} Parliament]]|Parliament}}}}<br />for {{{constituency_{{#if:{{{constituency_AM|}}}|AM|MP}}}}}</div> |
|||
{{!-}} |
|||
}} |
}} |
||
<!----------Majority Leader (State Senate)----------> |
<!----------Majority Leader (State Senate)----------> |
||
Line 397: | Line 402: | ||
{{!-}} |
{{!-}} |
||
}} |
}} |
||
}} |
|||
<!----------MP----------> |
|||
{{#if:{{{constituency_{{#if:{{{constituency_AM1|}}}|AM|MP}}1|}}}|<!--then:--> |
|||
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender; font-weight:bold;">{{#if:{{{constituency_AM1|}}}|{{#if:{{{assembly1|}}}|Member of the [[{{{assembly1}}} Assembly]]|Assembly Member}}|Member of {{#if:{{{parliament1|}}}|the [[{{{parliament1}}} Parliament]]|Parliament}}}}<br />for {{{constituency_{{#if:{{{constituency_AM1|}}}|AM|MP}}1}}}</div> |
|||
{{!-}} |
|||
}} |
}} |
||
<!----------Majority Leader (State Senate)----------> |
<!----------Majority Leader (State Senate)----------> |
||
Line 650: | Line 660: | ||
{{!-}} |
{{!-}} |
||
}} |
}} |
||
}} |
|||
<!----------MP----------> |
|||
{{#if:{{{constituency_{{#if:{{{constituency_AM2|}}}|AM|MP}}2|}}}|<!--then:--> |
|||
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender; font-weight:bold;">{{#if:{{{constituency_AM2|}}}|{{#if:{{{assembly2|}}}|Member of the [[{{{assembly2}}} Assembly]]|Assembly Member}}|Member of {{#if:{{{parliament2|}}}|the [[{{{parliament2}}} Parliament]]|Parliament}}}}<br />for {{{constituency_{{#if:{{{constituency_AM2|}}}|AM|MP}}2}}}</div> |
|||
{{!-}} |
|||
}} |
}} |
||
<!----------Majority Leader (State Senate)----------> |
<!----------Majority Leader (State Senate)----------> |
||
Line 903: | Line 918: | ||
{{!-}} |
{{!-}} |
||
}} |
}} |
||
}} |
|||
<!----------MP----------> |
|||
{{#if:{{{constituency_{{#if:{{{constituency_AM3|}}}|AM|MP}}3|}}}|<!--then:--> |
|||
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender; font-weight:bold;">{{#if:{{{constituency_AM3|}}}|{{#if:{{{assembly3|}}}|Member of the [[{{{assembly3}}} Assembly]]|Assembly Member}}|Member of {{#if:{{{parliament3|}}}|the [[{{{parliament3}}} Parliament]]|Parliament}}}}<br />for {{{constituency_{{#if:{{{constituency_AM3|}}}|AM|MP}}3}}}</div> |
|||
{{!-}} |
|||
}} |
}} |
||
<!----------Majority Leader (State Senate)----------> |
<!----------Majority Leader (State Senate)----------> |
||
Line 1,155: | Line 1,175: | ||
{{!-}} |
{{!-}} |
||
}} |
}} |
||
}} |
|||
<!----------MP----------> |
|||
{{#if:{{{constituency_{{#if:{{{constituency_AM4|}}}|AM|MP}}4|}}}|<!--then:--> |
|||
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender; font-weight:bold;">{{#if:{{{constituency_AM4|}}}|{{#if:{{{assembly4|}}}|Member of the [[{{{assembly4}}} Assembly]]|Assembly Member}}|Member of {{#if:{{{parliament4|}}}|the [[{{{parliament4}}} Parliament]]|Parliament}}}}<br />for {{{constituency_{{#if:{{{constituency_AM4|}}}|AM|MP}}4}}}</div> |
|||
{{!-}} |
|||
}} |
}} |
||
<!----------Majority Leader (State Senate)----------> |
<!----------Majority Leader (State Senate)----------> |
||
Line 1,407: | Line 1,432: | ||
{{!-}} |
{{!-}} |
||
}} |
}} |
||
}} |
|||
<!----------MP----------> |
|||
{{#if:{{{constituency_{{#if:{{{constituency_AM5|}}}|AM|MP}}5|}}}|<!--then:--> |
|||
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender; font-weight:bold;">{{#if:{{{constituency_AM5|}}}|{{#if:{{{assembly5|}}}|Member of the [[{{{assembly5}}} Assembly]]|Assembly Member}}|Member of {{#if:{{{parliament5|}}}|the [[{{{parliament5}}} Parliament]]|Parliament}}}}<br />for {{{constituency_{{#if:{{{constituency_AM5|}}}|AM|MP}}5}}}</div> |
|||
{{!-}} |
|||
}} |
}} |
||
<!----------Majority Leader (State Senate)----------> |
<!----------Majority Leader (State Senate)----------> |
||
Line 1,659: | Line 1,689: | ||
{{!-}} |
{{!-}} |
||
}} |
}} |
||
}} |
|||
<!----------MP----------> |
|||
{{#if:{{{constituency_{{#if:{{{constituency_AM6|}}}|AM|MP}}6|}}}|<!--then:--> |
|||
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender; font-weight:bold;">{{#if:{{{constituency_AM6|}}}|{{#if:{{{assembly6|}}}|Member of the [[{{{assembly6}}} Assembly]]|Assembly Member}}|Member of {{#if:{{{parliament6|}}}|the [[{{{parliament6}}} Parliament]]|Parliament}}}}<br />for {{{constituency_{{#if:{{{constituency_AM6|}}}|AM|MP}}6}}}</div> |
|||
{{!-}} |
|||
}} |
}} |
||
<!----------Majority Leader (State Senate)----------> |
<!----------Majority Leader (State Senate)----------> |
||
Line 1,911: | Line 1,946: | ||
{{!-}} |
{{!-}} |
||
}} |
}} |
||
}} |
|||
<!----------MP----------> |
|||
{{#if:{{{constituency_{{#if:{{{constituency_AM7|}}}|AM|MP}}7|}}}|<!--then:--> |
|||
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender; font-weight:bold;">{{#if:{{{constituency_AM7|}}}|{{#if:{{{assembly7|}}}|Member of the [[{{{assembly7}}} Assembly]]|Assembly Member}}|Member of {{#if:{{{parliament7|}}}|the [[{{{parliament7}}} Parliament]]|Parliament}}}}<br />for {{{constituency_{{#if:{{{constituency_AM7|}}}|AM|MP}}7}}}</div> |
|||
{{!-}} |
|||
}} |
}} |
||
<!----------Majority Leader (State Senate)----------> |
<!----------Majority Leader (State Senate)----------> |
||
Line 2,163: | Line 2,203: | ||
{{!-}} |
{{!-}} |
||
}} |
}} |
||
}} |
|||
<!----------MP----------> |
|||
{{#if:{{{constituency_{{#if:{{{constituency_AM8|}}}|AM|MP}}8|}}}|<!--then:--> |
|||
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender; font-weight:bold;">{{#if:{{{constituency_AM8|}}}|{{#if:{{{assembly8|}}}|Member of the [[{{{assembly8}}} Assembly]]|Assembly Member}}|Member of {{#if:{{{parliament8|}}}|the [[{{{parliament8}}} Parliament]]|Parliament}}}}<br />for {{{constituency_{{#if:{{{constituency_AM8|}}}|AM|MP}}8}}}</div> |
|||
{{!-}} |
|||
}} |
}} |
||
<!----------Majority Leader (State Senate)----------> |
<!----------Majority Leader (State Senate)----------> |
||
Line 2,415: | Line 2,460: | ||
{{!-}} |
{{!-}} |
||
}} |
}} |
||
}} |
|||
<!----------MP----------> |
|||
{{#if:{{{constituency_{{#if:{{{constituency_AM9|}}}|AM|MP}}9|}}}|<!--then:--> |
|||
{{!}}colspan="2" style="text-align:center; font-size:110%;"{{!}}<hr/><div style="background:lavender; font-weight:bold;">{{#if:{{{constituency_AM9|}}}|{{#if:{{{assembly9|}}}|Member of the [[{{{assembly9}}} Assembly]]|Assembly Member}}|Member of {{#if:{{{parliament9|}}}|the [[{{{parliament9}}} Parliament]]|Parliament}}}}<br />for {{{constituency_{{#if:{{{constituency_AM9|}}}|AM|MP}}9}}}</div> |
|||
{{!-}} |
|||
}} |
}} |
||
<!----------Majority Leader (State Senate)----------> |
<!----------Majority Leader (State Senate)----------> |