Template:Infobox constituency: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
|bodyclass | |bodyclass = ib-phinbella-electoral | ||
|templatestyles=Infobox constituency/styles.css | |||
|headerstyle = background: #efefef; | |headerstyle = background: #efefef; | ||
Line 61: | Line 62: | ||
|label15 = {{#if:{{{members_label|{{{member_label|}}}}}}|{{{members_label|{{{member_label}}}}}}|Member(s)}} | |label15 = {{#if:{{{members_label|{{{member_label|}}}}}}|{{{members_label|{{{member_label}}}}}}|Member(s)}} | ||
|data15 = {{#ifeq:{{lc:{{{state-status}}} }}|active|<table class="ib- | |data15 = {{#ifeq:{{lc:{{{state-status}}} }}|active|<table class="ib-phinbella-electoral-status"><tr><td {{#ifexpr:{{#ifeq:{{{state|}}}|xyz|1|0}} + {{#ifeq:{{{region|}}}|xyz|1|0}} + {{#ifeq:{{{member|}}}|Vacant|1|0}}| {{Phinbellan party colour|XX|Other|background}} | {{Phinbellan party colour|<!--{{MASStateName|{{{region}}}}}-->|{{{party}}}|background}} }}> {{#ifeq:{{{member|}}}|Vacant||<br /> }}</td><td> </td></tr></table> {{#ifexpr:{{#ifeq:{{{region|}}}|xyz|1|0}} + {{#ifeq:{{{region|}}}|xyz|1|0}}|{{#ifexist: {{{member}}} | [[{{{member|{{{members}}}}}}]] | {{{member|{{{members}}}}}} }} | {{#ifeq:{{{member|}}}|Vacant|Vacant| {{#ifexist: {{{member}}} | [[{{{member|{{{members}}}}}}]] | {{{member|{{{members}}}}}} }}{{#if:{{{party|}}} }} }} }} }} | ||
|label16 = {{#if:{{{local_council_label|}}}|{{{local_council_label}}}|Local council}} | |label16 = {{#if:{{{local_council_label|}}}|{{{local_council_label}}}|Local council}} | ||
Line 92: | Line 93: | ||
|data30 = {{{module|{{{embedded|}}}}}} | |data30 = {{{module|{{{embedded|}}}}}} | ||
}}<noinclude> | }}<noinclude>[[Category: Infobox templates]] | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 18:56, 22 November 2021
{{{name}}} | |
{{{type}}} Constituency | |
Current | |
---|---|
Party | {{{party}}} |
[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. |