• Home
  • Random
  • Log in
  • Settings
  • About English Wikipedia @ Freddythechick
English Wikipedia @ Freddythechick

Template:Party abbrev linked/sandbox

  • Language
  • Watch
  • View source
< Template:Party abbrev linked
__EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:Party abbrev linked (diff).
Template documentation[view] [edit] [history] [purge]

Template:Political abbrev linked returns a wikilink to the provided political party with an abbreviated short name label.

Contents

  • 1 Usage
  • 2 Parameters
  • 3 Examples
  • 4 See also

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
The above documentation is transcluded from Template:Party abbrev linked/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://enwiki.freddythechick.net/index.php?title=Template:Party_abbrev_linked/sandbox&oldid=10397177"
Last edited on 31 January 2023, at 20:18

Languages

      This page is not available in other languages.

      English Wikipedia @ Freddythechick
      • This page was last edited on 31 January 2023, at 20:18.
      • Content is available under Creative Commons Attribution-ShareAlike 4.0 unless otherwise noted.
      • About English Wikipedia @ Freddythechick
      • Desktop