Template:Party abbrev linked
Appearance
Template:Political abbrev linked returns a wikilink to the provided political party with an abbreviated short name label.
Usage
[edit]{{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
[edit]Parameter | Description |
---|---|
1 | The political party's name. If a party is not found, place a request at the talk page. |
error | Optional, this parameter will return the provided |error= value if the module does not contain the requested party or color.
|
Examples
[edit]{{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
[edit]- 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