Template:Infobox constituency: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 58: | Line 58: | ||
|label14 = {{#if:{{{party_label|}}}|{{{party_label}}}|Party}} | |label14 = {{#if:{{{party_label|}}}|{{{party_label}}}|Party}} | ||
|data14 = {{{party|}}} | |data14 = {{#ifeq:{{lc:{{{state-status}}} }}|active|<table class="ib-malaysia-electoral-status"><tr><td {{#ifexpr:{{#ifeq:{{{state|}}}|xyz|1|0}} + {{#ifeq:{{{state|}}}|xyz|1|0}} + {{#ifeq:{{{state-rep|}}}|Vacant|1|0}}| {{Malaysian party colour|XX|Other|background}} | {{Malaysian party colour|<!--{{MASStateName|{{{state}}}}}-->|{{{state-rep-party}}}|background}} }}> {{#ifeq:{{{state-rep|}}}|Vacant||<br /> }}</td><td> </td></tr></table> {{#ifexpr:{{#ifeq:{{{state|}}}|xyz|1|0}} + {{#ifeq:{{{state|}}}|xyz|1|0}}|{{#ifexist: {{{state-rep}}} | [[{{{state-rep}}}]] | {{{state-rep}}} }} | {{#ifeq:{{{state-rep|}}}|Vacant|Vacant| {{#ifexist: {{{state-rep}}} | [[{{{state-rep}}}]] | {{{state-rep}}} }}{{#if:{{{state-rep-party|}}}|<br/>{{Malaysian party colour|<!--{{MASStateName|{{{state}}}}}-->|{{{state-rep-party}}}|name}} }} }} }} }}{{{party|}}} | ||
|label15 = {{#if:{{{members_label|{{{member_label|}}}}}}|{{{members_label|{{{member_label}}}}}}|Member(s)}} | |label15 = {{#if:{{{members_label|{{{member_label|}}}}}}|{{{members_label|{{{member_label}}}}}}|Member(s)}} |
Revision as of 14:39, 16 November 2021
{{{name}}} | |
{{{type}}} Constituency | |
Current |
---|
[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. |