Template:STV Election box candidate2: Difference between revisions
Content deleted Content added
Undid revision 1219589869 by Iveagh Gardens (talk) that removed links from all parties |
fetch shortname, regardless of page existing Tag: Reverted |
||
Line 1: | Line 1: | ||
|- |
|- |
||
| style="background-color: {{#invoke:political party|fetch|{{{party}}}|color|error=none}}" | |
| style="background-color: {{#invoke:political party|fetch|{{{party}}}|color|error=none}}" | |
||
| {{#ifeq:{{{party}}}|Independent|[[Independent politician|Independent]]|{{#ifexist:{{{party}}}|[[{{{party}}}|{{#invoke:political party|fetch|{{{party}}}|shortname}}]]|{{{party}}}}}}}{{#if: |
| {{#ifeq:{{{party}}}|Independent |
||
|[[Independent politician|Independent]] |
|||
|{{#ifexist:{{{party}}} |
|||
|[[{{{party}}}|{{#invoke:political party|fetch|{{{party}}}|shortname}}]] |
|||
|{{#invoke:political party|fetch|{{{party}}}|shortname}} |
|||
}} |
|||
}}{{#if:{{{unregistered|}}}|<ref name="unreg" group="pn">Not a registered party: name did not appear on ballot.</ref>}} |
|||
| {{{candidate}}} |
| {{{candidate}}} |
||
| style="text-align:right;" | {{{percentage}}} |
| style="text-align:right;" | {{{percentage}}} |
||
Line 95: | Line 101: | ||
}} |
}} |
||
}} |
}} |
||
|-<noinclude> |
|||
|- |
|||
[[Category:STV election infobox templates]] |
|||
</noinclude> |
Revision as of 17:22, 27 April 2024
|- | style="background-color: none" | | {{{party}}} | {{{candidate}}} | style="text-align:right;" | {{{percentage}}} | style="text-align:right;" | {{{count1}}}
|-