Jump to content

Template:Germany by state category navigation/doc

From Wikipedia, the free encyclopedia

A category navigation template, designed to be used on any by-state category for any of the 16 current states of Germany.

It creates a navbox with links to identically-named categories for other states. For example, on Category:Landforms of Baden-Württemberg, it creates links to Category:Landforms of Bavaria, Category:Landforms of Brandenburg etc.

Non-existent categories are not linked. Instead, they are listed in grey, i.e. greyed out.

If there are no navigable links, the navbox will not be displayed, and the page will be categorised in Category:Germany by state category navigation with all grey links.

Usage

[edit]

{{Germany by state category navigation}}

No parameters are available.

Examples

[edit]

See the template in use on e.g.

Errors

[edit]

If the template is used on page which is not a category, or on a category page whose title does not include a valid state of Germany, then no navbox is built. An error message is displayed, and the page is categorised in Category:Germany by state category navigation on invalid category

Tracking categories

[edit]

Purge this page to update those counts.

Development

[edit]

This template was adapted in September 2019 from {{All Ireland by county category navigation}}, which began as a proposal at WP:WikiProject Ireland/CatNavProposal. The idea was refined through discussion at WT:WikiProject Ireland/CatNavProposal, and deployed in May 2018 after a 15-day trial on 150 pages.

See also

[edit]