This is a documentation subpage for Template:Polparty. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 28,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
editGiven a country and a political party, this template will give an abbreviation that links to the entry on that party.
Usage
edit{{Polparty|country_name|political_party}}
- country_name: Name of country (common name or abbreviation), with or without Wikilinking.
- political_party: Name, abbreviation or acronym of political party
Examples
edit- {{Polparty|AU|Labor}} = [[Australian Labor Party|ALP]]
- {{Polparty|Canada|NDP}} = [[New Democratic Party|NDP]]
- {{Polparty|CZ|KDU-CSL}} = [[Christian and Democratic Union – Czechoslovak People's Party|KDU-ČSL]]
- {{Polparty|[[Germany]]|FDP}} = [[Free Democratic Party (Germany)|FDP]]
- {{Polparty|USA|D}} = [[Democratic Party (United States)|D]]
- Special case: {{Polparty|Independent}} = [[Independent politician|Ind.]]
Still under construction
editMost countries are not yet covered.
Do NOT substitute this template at this time, it transludes the entire #switch construction instead of just the link you want.
When adding entries within the template, list countries in alphabetical order. Give wikilinked and non-wikilinked names, as well as any possible abbreviations (e.g. United States, USA).
Each country contains 2 switch groups: one for acronyms, another for non-acronyms. This second group should always end with the Independent and default options.
Countries currently supported
edit- Australia (AU)
- Austria (AT)
- Canada (CA)
- Czech Republic (CZ) (acronyms without diacritics)
- Germany (DE)
- The Netherlands (NL)
- Romania (RO)
- Switzerland (CH)
- Turkey (TR)
- United States of America (US)
- South Africa (ZA)