• 首页
  • 随机
  • 登录
  • 设置
  • 关于悠日計画 維基百科 ~ Yuuni Wiki
  • 免责声明
悠日計画 維基百科 ~ Yuuni Wiki

模板:Polparty

  • 语言
  • 监视
  • 查看源代码
文件:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]

目录

  • 1 Usage
  • 2 Usage
    • 2.1 Examples
    • 2.2 Still under construction
  • 3 Countries currently supported
  • 4 Infoboxes using this template
  • 5 See also

Usage

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 political 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 (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

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

Infoboxes using this template

  • {{Infobox City}}
  • {{Infobox German location}}
  • {{Infobox Romanian subdivision}}

See also

The above documentation is transcluded from 模板:Polparty/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
检索自“https://wiki.czzzz.work/index.php?title=模板:Polparty&oldid=664”
最后编辑于2022年9月18日 (星期日) 21:24

语言

    此页面在其他语言不可用。

    悠日計画 維基百科 ~ Yuuni Wiki
    • 此页面最后编辑于2022年9月18日 (星期日) 21:24。
    • 除非另有声明,本网站内容采用知识共享署名-非商业性使用-相同方式共享授权。
    • 隐私政策
    • 关于悠日計画 維基百科 ~ Yuuni Wiki
    • 免责声明
    • 桌面版