Template:Members of the European Parliament for Foo/doc

From IxWiki
Revision as of 20:12, 25 April 2020 by imported>Vanisaac (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Displays standardized category navigation for the national sub-categories of Category:Members of the European Parliament by country, required by Wikipedia:Naming conventions (categories)#Occupation.

Usage

Most commonly used parameters in horizontal format

{{Members of the European Parliament for Foo |Nationality= |Country= }}

The parameter nocat may be used to suppress categories.

Categories

Adds three standard parent categories:

  • [[Category:Legislators in Country|European Parliament]] if it exists
    • othewrise [[Category:Political office-holders in Country|European Parliament]]
  • [[Category:Members of the European Parliament by country|Nationality]]
  • [[Category:Country and the European Union|Parliament]]
  • [[Category:Nationality expatriates in Belgium|European Parliament]]
  • [[Category:Nationality expatriates in France|European Parliament]]

Examples

Example from Category:Members of the European Parliament for Sweden:

{{Members of the European Parliament for Foo |Nationality=Swedish | Country=Sweden }}

Example using nocat to suppress categories:

{{Members of the European Parliament for Foo |Country=Ruritania |Nationality=Ruritanian |nocat=yes}}

Example output

{{Members of the European Parliament for Foo |Nationality=Spanish | Country=Spain }}

Lua error in mw.title.lua at line 346: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').


Substitution

In most cases, should not be substituted.

See also