Template:Landkreis Wittenberg municipalities
Showcase
Without coats of arms (usually used, exemplary prefix value):
{{Landkreis Wittenberg municipalities|prefix=:Category:}}
- Urban municipalities:Annaburg · Coswig · Gräfenhainichen · Jessen · Kemberg · Oranienbaum-Wörlitz · Schmiedeberg · Wittenberg · Zahna-Elster
With coats of arms (and another exemplary prefix value):
{{Landkreis Wittenberg municipalities|prefix=:Category:Buildings in|coats=yes}}
- Urban municipalities:Annaburg · Coswig · Gräfenhainichen · Jessen · Kemberg · Oranienbaum-Wörlitz · Schmiedeberg · Wittenberg · Zahna-Elster
Use only coats of arms (affects accessibility negatively (!)), unless a coats of arms image is absent for an entry:
{{Landkreis Wittenberg municipalities|prefix=:Category:Buildings in|coats=only}}
{{Landkreis Wittenberg municipalities|prefix=:Category:Buildings in|coats=only|compact=yes}}
With added indentation (differs from legacy Template:Catnav layout (!), may alternatively be enabled via user customization):
- Effects of
indent
may only be visible in a narrow browser window.
- Effects of
{{Landkreis Wittenberg municipalities|prefix=:Category:|indent=1}}
- Urban municipalities:Annaburg · Coswig · Gräfenhainichen · Jessen · Kemberg · Oranienbaum-Wörlitz · Schmiedeberg · Wittenberg · Zahna-Elster
{{Landkreis Wittenberg municipalities|prefix=:Category:Buildings in|indent=1|coats=yes}}
- Urban municipalities:Annaburg · Coswig · Gräfenhainichen · Jessen · Kemberg · Oranienbaum-Wörlitz · Schmiedeberg · Wittenberg · Zahna-Elster
Test cases
all=2
is used for testing. It is a shortcut to saying all=1|article=the
. This template does not set individual grammar articles per item, so if article
is set, it will be used for all entries in the same manor. For productive use of the template try to avoid both, all
and article
parameters.
If the result shows two blue links for a pair, then one of them should be a redirect page:
{{Landkreis Wittenberg municipalities|prefix=:Category:|indent=1|all=2|article=in}}
- Urban municipalities:Annaburg ≈ Annaburg · Coswig ≈ Coswig · Gräfenhainichen ≈ Gräfenhainichen · Jessen ≈ Jessen · Kemberg ≈ Kemberg · Oranienbaum-Wörlitz ≈ Oranienbaum-Wörlitz · Schmiedeberg ≈ Schmiedeberg · Wittenberg ≈ Wittenberg · Zahna-Elster ≈ Zahna-Elster
all=1
will not set a default article and only show redlinks for those link targets sparing a grammar article.
{{Landkreis Wittenberg municipalities|prefix=|all=1}}
- Urban municipalities:Annaburg · Coswig · Gräfenhainichen · Jessen · Kemberg · Oranienbaum-Wörlitz · Schmiedeberg · Wittenberg · Zahna-Elster
Additional tests may be found in Template:Landkreis Wittenberg municipalities/tests.
Customization
You can css style the output of this template using class catnav_landkreis_wittenberg_municipalities
in your common.css settings.
/* styling variant with centered elements */
.catnav_landkreis_wittenberg_municipalities {
text-align: center;
background: transparent;
border: none;
}
/* achieve the same effect as if indent=1 was passed to the template
(to apply this to all catnav instances driven by Module:Catnav
remove "_landkreis_wittenberg_municipalities" suffix)
*/
.catnav_landkreis_wittenberg_municipalities .catnav_seq {
display: table-row !important;
}
.catnav_landkreis_wittenberg_municipalities .catnav_seqdata {
display: table-cell !important;
padding-top: .4em;
}
.catnav_landkreis_wittenberg_municipalities .catnav_seqlabel br {
display: none;
}
.catnav_landkreis_wittenberg_municipalities .catnav_seqlabel {
display: table-cell !important;
white-space: nowrap;
text-align: right;
vertical-align: top;
padding-right: .4em;
padding-top: .4em;
}
/* color the background of the last sequential listing of municipalities beige (e.g. if
there are urban, rural and former, colors background of former municipalities),
may not work with all browsers
*/
.catnav_landkreis_wittenberg_municipalities > div:nth-last-of-type(2) {
background:beige;
}
Maintenance
- Category:Template:Landkreis Wittenberg municipalities maintenance/redlink users (callers of this template which pass all=yes, all=true, all=1 or all=2)
Generic Description
Category navigational template - template to assist navigation across related categories, e.g. Buildings in X where X is replaced by place names listed in the built template.
Usage
{{Landkreis Wittenberg municipalities |all= |prefix= |suffix= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
all | show all items, including items where no page exists (red links). Set to 1 if you want to list all names (useful when the template is used in a parent directory for helping the creation of missing pages with coherent names). When it is empty by default, this list will be filtered from missing pages.
| no | optional | |
prefix | parameter to customise target page names of links, with text added before the relevant link parameter, e.g. :Category:Buildings in , or :Template:Seasons in . Without the prefix, the links will point to gallery pages of the main namespace. | empty | optional | |
suffix | parameter to customise template use, with text added after the relevant link parameter, e.g. (example needed) | empty | optional |
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: all users
Placement: At the top of the page
Relies on:
Module:Catnav
Localization
To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation
" (xx
being the code of your language)
Navigation templates for municipalities of other districts in Saxony-Anhalt
- Template:Landkreis Wittenberg municipalities maintenance/redlink users
- Category navigational templates for municipalities of districts of Germany
- Category navigational templates for districts of Saxony-Anhalt
- Category navigational templates for Landkreis Wittenberg
- Municipalities in Landkreis Wittenberg