Template:TSP Election/campaign/candidate: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
(New template for regional election campaigns)
Tag: 2017 source edit
 
m (Added running alias parameter)
Tag: 2017 source edit
 
Line 2: Line 2:
| title="{{{party|Independent}}}" style="background: #{{TSP Election/meta/party|{{{party|Independent}}}}}; width: 5px;" |  
| title="{{{party|Independent}}}" style="background: #{{TSP Election/meta/party|{{{party|Independent}}}}}; width: 5px;" |  
| {{#if: {{{flag|}}} | [[{{{flag}}}|75px]] |  }}
| {{#if: {{{flag|}}} | [[{{{flag}}}|75px]] |  }}
| style="background: lavender; {{#switch: {{{1|}}} | withdrawn=font-style: italic; | disqualified=text-decoration: line-through; | incumbent=font-weight: bold; | incumbent withdrawn|withdrawn incumbent=font-style: italic; font-weight: bold; | incumbent disqualified|disqualified incumbent=text-decoration: line-through; font-weight: bold; |}}" | {{{name|}}}
| style="background: lavender; {{#switch: {{{1|}}} | withdrawn=font-style: italic; | disqualified=text-decoration: line-through; | incumbent=font-weight: bold; | incumbent withdrawn|withdrawn incumbent=font-style: italic; font-weight: bold; | incumbent disqualified|disqualified incumbent=text-decoration: line-through; font-weight: bold; |}}" | {{{name|}}}{{#if: {{{running_as|}}} | <br>{{small|as ''{{{running_as}}}''}} |}}
| '''{{{primary_office|}}}'''{{#if: {{{assumed_primary|}}} | <br>{{Small|(since {{{assumed_primary}}})}} |}}{{#if: {{{other_offices|}}} | <br>{{hidden | Other offices | contentstyle=text-align: center; | {{{other_offices}}} }} |}}
| '''{{{primary_office|}}}'''{{#if: {{{assumed_primary|}}} | <br>{{Small|(since {{{assumed_primary}}})}} |}}{{#if: {{{other_offices|}}} | <br>{{hidden | Other offices | contentstyle=text-align: center; | {{{other_offices}}} }} |}}
| {{#if: {{{campaign|}}} | {{{campaign}}} | No campaign}}</includeonly></onlyinclude>
| {{#if: {{{campaign|}}} | {{{campaign}}} | No campaign}}</includeonly></onlyinclude>

Latest revision as of 11:50, 12 November 2022