Template:Infobox officeholder: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
(We all know how #if works, and this seems to be breaking it. Some of the 'then's were placed misleadingly too.) |
(partial rv; removed parameters are needed) |
||
Line 149: | Line 149: | ||
{{#if:{{{constituency_{{#if:{{{constituency_AM|}}}|AM|MP}}|}}}| |
{{#if:{{{constituency_{{#if:{{{constituency_AM|}}}|AM|MP}}|}}}| |
||
{{!}}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> |
{{!}}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> |
||
{{!}}- |
|||
}} |
|||
{{#if:{{{riding|}}}| |
|||
{{!}}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 {{{riding}}}</div> |
|||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
Line 421: | Line 425: | ||
{{#if:{{{constituency_{{#if:{{{constituency_AM1|}}}|AM|MP}}1|}}}| |
{{#if:{{{constituency_{{#if:{{{constituency_AM1|}}}|AM|MP}}1|}}}| |
||
{{!}}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> |
{{!}}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> |
||
{{!}}- |
|||
}} |
|||
{{#if:{{{riding1|}}}| |
|||
{{!}}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 {{{riding1}}}</div> |
|||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
Line 694: | Line 702: | ||
{{#if:{{{constituency_{{#if:{{{constituency_AM2|}}}|AM|MP}}2|}}}| |
{{#if:{{{constituency_{{#if:{{{constituency_AM2|}}}|AM|MP}}2|}}}| |
||
{{!}}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> |
{{!}}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> |
||
{{!}}- |
|||
}} |
|||
{{#if:{{{riding2|}}}| |
|||
{{!}}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 {{{riding2}}}</div> |
|||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
Line 967: | Line 979: | ||
{{#if:{{{constituency_{{#if:{{{constituency_AM3|}}}|AM|MP}}3|}}}| |
{{#if:{{{constituency_{{#if:{{{constituency_AM3|}}}|AM|MP}}3|}}}| |
||
{{!}}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> |
{{!}}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> |
||
{{!}}- |
|||
}} |
|||
{{#if:{{{riding3|}}}| |
|||
{{!}}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 {{{riding3}}}</div> |
|||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
Line 1,239: | Line 1,255: | ||
{{#if:{{{constituency_{{#if:{{{constituency_AM4|}}}|AM|MP}}4|}}}| |
{{#if:{{{constituency_{{#if:{{{constituency_AM4|}}}|AM|MP}}4|}}}| |
||
{{!}}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> |
{{!}}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> |
||
{{!}}- |
|||
}} |
|||
{{#if:{{{riding4|}}}| |
|||
{{!}}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 {{{riding4}}}</div> |
|||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
Line 1,511: | Line 1,531: | ||
{{#if:{{{constituency_{{#if:{{{constituency_AM5|}}}|AM|MP}}5|}}}| |
{{#if:{{{constituency_{{#if:{{{constituency_AM5|}}}|AM|MP}}5|}}}| |
||
{{!}}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> |
{{!}}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> |
||
{{!}}- |
|||
}} |
|||
{{#if:{{{riding5|}}}| |
|||
{{!}}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 {{{riding5}}}</div> |
|||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
Line 1,783: | Line 1,807: | ||
{{#if:{{{constituency_{{#if:{{{constituency_AM6|}}}|AM|MP}}6|}}}| |
{{#if:{{{constituency_{{#if:{{{constituency_AM6|}}}|AM|MP}}6|}}}| |
||
{{!}}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> |
{{!}}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> |
||
{{!}}- |
|||
}} |
|||
{{#if:{{{riding6|}}}| |
|||
{{!}}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 {{{riding6}}}</div> |
|||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
Line 2,055: | Line 2,083: | ||
{{#if:{{{constituency_{{#if:{{{constituency_AM7|}}}|AM|MP}}7|}}}| |
{{#if:{{{constituency_{{#if:{{{constituency_AM7|}}}|AM|MP}}7|}}}| |
||
{{!}}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> |
{{!}}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> |
||
{{!}}- |
|||
}} |
|||
{{#if:{{{riding7|}}}| |
|||
{{!}}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 {{{riding7}}}</div> |
|||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
Line 2,327: | Line 2,359: | ||
{{#if:{{{constituency_{{#if:{{{constituency_AM8|}}}|AM|MP}}8|}}}| |
{{#if:{{{constituency_{{#if:{{{constituency_AM8|}}}|AM|MP}}8|}}}| |
||
{{!}}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> |
{{!}}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> |
||
{{!}}- |
|||
}} |
|||
{{#if:{{{riding8|}}}| |
|||
{{!}}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 {{{riding8}}}</div> |
|||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
Line 2,599: | Line 2,635: | ||
{{#if:{{{constituency_{{#if:{{{constituency_AM9|}}}|AM|MP}}9|}}}| |
{{#if:{{{constituency_{{#if:{{{constituency_AM9|}}}|AM|MP}}9|}}}| |
||
{{!}}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> |
{{!}}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> |
||
{{!}}- |
|||
}} |
|||
{{#if:{{{riding9|}}}| |
|||
{{!}}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 {{{riding9}}}</div> |
|||
{{!}}- |
{{!}}- |
||
}} |
}} |
||
Line 2,874: | Line 2,914: | ||
! Profession |
! Profession |
||
{{!}} {{{profession}}} |
{{!}} {{{profession}}} |
||
{{!}}- |
|||
}} |
|||
{{#if:{{{cabinet|}}}| |
|||
! Cabinet |
|||
{{!}} {{{cabinet}}} |
|||
{{!}}- |
|||
}} |
|||
{{#if:{{{portfolio|}}}| |
|||
! Portfolio |
|||
{{!}} {{{portfolio}}} |
|||
{{!}}- |
|||
}} |
|||
{{#if:{{{portfolio 2|}}}| |
|||
! Portfolio |
|||
{{!}} {{{portfolio 2}}} |
|||
{{!}}- |
{{!}}- |
||
}} |
}} |