Template:Party abbrev linked/sandbox
(Redirected from Template:Party abbrev/sandbox)
![]() | __EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:Party abbrev linked (diff). |
Template:Political abbrev linked returns a wikilink to the provided political party with an abbreviated short name label.
Usage
{{Party abbrev linked|title of Wikipedia party article}}
NOTE: the wikilink will be to the provided input; while there are aliases stored in the module, using them may result in links to disambiguation or redlinked pages. See examples below.
Parameters
{{#section:Template:Political party/doc|Parameters}}
Examples
{{Party abbrev linked|Democratic Unionist Party}}
→ DUP{{Party abbrev linked|Liberal Democrats (UK)}}
→ Lib Dem{{Party abbrev linked|Labour Party (Ireland)}}
→ Lab{{Party abbrev linked|Labour Party (UK)}}
→ Lab{{Party abbrev linked|Social Democratic Party of Germany}}
→ SPD{{Party abbrev linked|Fianna Fáil}}
→ FF{{Party abbrev linked|Sinn Féin}}
→ SF{{Party abbrev linked|Clann na Poblachta}}
→ CnaP
The following is an example of linking to a disambiguation page (top) compared to linking to the intended target (bottom) despite the output text being the same.
{{Party abbrev linked|Independent}}
→ Ind{{Party abbrev linked|Independent politician}}
→ Ind
See also
- Template:Political party - primary template use for the module with options for shortname, abbrev, and color
- Template:Party abbrev - returns a party's abbreviated short name
- Template:Party shortname - returns a party's shortname
- Template:Party shortname linked - used for wikilinking to a party's article with a shortname label