Template:Election box candidate with party link alt: Difference between revisions

From Frontierpedia, the Microsoft Agent encyclopedia
frontierpediav5>WikiSysop
mNo edit summary
m (10 revisions imported)
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
<!-- Election candidates and results template
<!-- Election candidates and results template
     See Template_talk:Election box for details of how to use this template
     See Template_talk:Election box for details of how to use this template
    {{#if:1| ... }} allows for list markup
     -->
     -->
|- class="vcard"
|- class="vcard"
| style="background-color: {{Template:{{{party}}}/meta/color}}; width: 5px;" |
| style="background-color: {{Template:{{{party}}}/meta/color}}; width: 5px;" |
| class="org" style="width: 130px" | {{#if:{{{party|}}}|[[{{{party}}}|{{Template:{{{party}}}/meta/shortname}}]]}}{{{party_note|}}}
| class="org" style="width: 130px" | [[{{{party}}}|{{Template:{{{party}}}/meta/shortname}}]]
| class="fn" | {{#if:1|{{{candidate}}}}} {{!}}
| class="fn" | {{{candidate}}}  
{{!}} style="background: <!--#ececec-->; color: #2C2C2C; vertical-align: middle; font-size: smaller; text-align: center;" class="table-na" {{!}} <!--{{abbr|N/A|Not available}}--> |
| style="text-align: right; margin-right: 0.5em" | {{{percentage}}}
{{#if:{{{percentage|}}}|{{#ifeq:{{{percentage|}}}|-|
| style="text-align: right; margin-right: 0.5em" | {{{change}}}
{{!}} style="background: <!--#ececec-->; color: #2C2C2C; vertical-align: middle; font-size: smaller; text-align: center;" class="table-na" {{!}} <!--{{abbr|N/A|Not available}}--> |
|-<noinclude>
{{!}} style="text-align: right; margin-right: 0.5em" {{!}} {{{percentage|}}} }}|
 
{{!}} style="background: <!--#ececec-->; color: #2C2C2C; vertical-align: middle; font-size: smaller; text-align: center;" class="table-na" {{!}} <!--{{abbr|N/A|Not available}}--> }}
{{documentation}}
{{#if:{{{change|}}}|
[[Category:Templates generating hCards]]
{{!}} style="text-align: right; margin-right: 0.5em" {{!}} {{{change|}}}|
[[Category:Election and referendum infobox templates]]</noinclude>
{{!}} style="background: <!--#ececec-->; color: #2C2C2C; vertical-align: middle; font-size: smaller; text-align: center;" class="table-na" {{!}} <!--{{abbr|N/A|Not available}}--> }}
|-<noinclude>{{documentation}}</noinclude>

Latest revision as of 17:26, 9 October 2022

|- class="vcard" | style="background-color: {{Template:{{{party}}}/meta/color}}; width: 5px;" | | class="org" style="width: 130px" | [[{{{party}}}|{{Template:{{{party}}}/meta/shortname}}]] | class="fn" | {{{candidate}}} | style="text-align: right; margin-right: 0.5em" | {{{percentage}}} | style="text-align: right; margin-right: 0.5em" | {{{change}}} |-