Help:List of infobox templates and Template:Election box candidate with party link alt: Difference between pages
(Difference between pages)
frontierpediav5>WikiSysop No edit summary |
frontierpediav5>WikiSysop mNo edit summary |
||
Line 1: | Line 1: | ||
<!-- Election candidates and results template | |||
See Template_talk:Election box for details of how to use this template | |||
{{#if:1| ... }} allows for list markup | |||
--> | |||
|- class="vcard" | |||
| style="background-color: {{Template:{{{party}}}/meta/color}}; width: 5px;" | | |||
| class="org" style="width: 130px" | {{#if:{{{party|}}}|[[{{{party}}}|{{Template:{{{party}}}/meta/shortname}}]]}}{{{party_note|}}} | |||
| class="fn" | {{#if:1|{{{candidate}}}}} {{!}} | |||
{{!}} style="background: <!--#ececec-->; color: #2C2C2C; vertical-align: middle; font-size: smaller; text-align: center;" class="table-na" {{!}} <!--{{abbr|N/A|Not available}}--> | | |||
{{#if:{{{percentage|}}}|{{#ifeq:{{{percentage|}}}|-| | |||
{{!}} 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|}}} }}| | |||
{{!}} style="background: <!--#ececec-->; color: #2C2C2C; vertical-align: middle; font-size: smaller; text-align: center;" class="table-na" {{!}} <!--{{abbr|N/A|Not available}}--> }} | |||
{{#if:{{{change|}}}| | |||
{{!}} 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>{{documentation}}</noinclude> |
Revision as of 02:14, 22 September 2021
|- class="vcard" | style="background-color: {{Template:{{{party}}}/meta/color}}; width: 5px;" | | class="org" style="width: 130px" | | class="fn" | {{{candidate}}} | | style="background: ; color: #2C2C2C; vertical-align: middle; font-size: smaller; text-align: center;" class="table-na" | | | style="background: ; color: #2C2C2C; vertical-align: middle; font-size: smaller; text-align: center;" class="table-na" | | style="background: ; color: #2C2C2C; vertical-align: middle; font-size: smaller; text-align: center;" class="table-na" |
|-
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]