साँचा:Polparty

मुक्त ज्ञानकोश विकिपीडिया से
imported>Minorax द्वारा परिवर्तित ०३:०१, १९ मार्च २०२२ का अवतरण (fix lint)
(अन्तर) ← पुराना अवतरण | वर्तमान अवतरण (अन्तर) | नया अवतरण → (अन्तर)
नेविगेशन पर जाएँ खोज पर जाएँ

Given a country and a political party, this template will give an abbreviation that links to the entry on that party.

Usage

{{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 politcal party

Examples

  1. {{Polparty|AU|Labor}} = [[Australian Labor Party|ALP]]
  2. {{Polparty|Canada|NDP}} = [[New Democratic Party|NDP]]
  3. {{Polparty|CZ|KDU-CSL}} = [[Christian and Democratic Union – Czechoslovak People's Party|KDU-ČSL]]
  4. {{Polparty|[[Germany]]|FDP}} = [[Free Democratic Party (Germany)|FDP]]
  5. {{Polparty|USA|D}} = [[Democratic Party (United States)|D]]
  6. Special case: {{Polparty|Independent}} = [[Independent (politician)|Ind.]]

Still under construction

Most 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 (eg. 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

  • Australia (AU)
  • Austria (AT)
  • Canada (CA)
  • Czechia (CZ) (acronyms without diacritics)
  • Germany (DE)
  • The Netherlands (NL)
  • Switzerland (CH)
  • United States of America (US)

Infoboxes using this template