Template:Infobox election/shortname: Difference between revisions

+
 
Administrator (talk | contribs)
Remove linking
Tag: Replaced
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#ifeq:{{{link}}}|no
{{{name|}}}
|{{{name|}}}
|{{#ifeq:{{#invoke:delink|delink|{{#invoke:if empty|main|{{{name|}}}|¬}}|wikilinks=target}}|{{{name|}}}
    |{{#switch:{{{name}}}
      | Independent | Independents = [[Independent politician|{{{name}}}]]
      | Miscellaneous = [[Independent politician|DIV]]
      | Other | Others = Others
      | Other parties and independents = Others & [[Independent politician|IND]]
      | Regionalists = [[Regionalism (politics)|Regionalists]]
      | TBC = [[To be announced|TBC]]
      | TBD = [[To be announced|TBD]]
      | Vacant = [[Casual vacancy|Vacant]]
      | [[{{{name}}}|{{#invoke:Political party|fetch|{{{name}}}|shortname}}]]
      }}
    |{{{name|}}}
  }}
}}<noinclude>
{{documentation}}</noinclude>