Jump to content

Template:DeLocMaps

From Wikimedia Commons, the free media repository
English (en): Locator map
Template documentation[ view · edit · history · purge ]
This documentation is transcluded from Template:DeLocMaps/doc.

No description yet available.

Usage

{{DeLocMap |wikidata= |asofdate= }}

Template parameters

ParameterDescriptionDefaultStatus
wikidataWikidataID of the Wikidata item of the displayed area, i.e. Q6109 for “Landkreis Uckermark”. If specified, all other parameters except asofdate are ignored.emptyrequired
asofdateAs of datedate when the map where valid, i.e. 2009-07-30emptyoptional
munMunicipality (German)German name of municipality (optional; if not specified, it is assumed that the location map is for a district in a federal state)emptyoptional
munlinkMunicipality link (German)Link to the German municipality article (optional; if not specified, use the link defined in mun).emptyoptional
lkLandkreis name (German)German name of the Landkreis (district)emptyoptional
lklinkLandkreis link (German)Link to the German Landkreis article (optional; if not specified, use the link defined in lk).emptyoptional
landFederal state (German)German Name of the Bundesland (federal state)emptyoptional
landlinkFederal state link (German)Link to German federal state article (optional; if not specified, use link as defined in country).emptyoptional
enmunMunicipality (English)English name of municipality (optional; if not specified, it is assumed that the location map is for a district in a federal state)emptyoptional
enmunlinkMunicipality link (English)Link to the English municipality article (optional; if not specified, use the link defined in mun).emptyoptional
enlkLandkreis name (English)English name of the Landkreis (district)emptyoptional
enlklinkLandkreis link (English)Link to the English Landkreis article (optional; if not specified, use the link defined in lk).emptyoptional
enlandFederal state (English)English Name of the Bundesland (federal state)emptyoptional
enlandlinkFederal state link (English)Link to English federal state article (optional; if not specified, use link as defined in country).emptyoptional
frmunMunicipality (French)French name of municipality (optional; if not specified, it is assumed that the location map is for a district in a federal state)emptyoptional
frmunlinkMunicipality link (French)Link to the French municipality article (optional; if not specified, use the link defined in mun).emptyoptional
frlkLandkreis name (French)French name of the Landkreis (district)emptyoptional
frlklinkLandkreis link (French)Link to the French Landkreis article (optional; if not specified, use the link defined in lk).emptyoptional
frlandFederal state (French)French Name of the Bundesland (federal state)emptyoptional
frlandlinkFederal state link (French)Link to French federal state article (optional; if not specified, use link as defined in country).emptyoptional
hsbmunMunicipality (Upper Sorbian)Upper Sorbian name of municipality (optional; if not specified, it is assumed that the location map is for a district in a federal state)emptyoptional
hsbmunlinkMunicipality link (Upper Sorbian)Link to the Upper Sorbian municipality article (optional; if not specified, use the link defined in mun).emptyoptional
hsblkLandkreis name (Upper Sorbian)Upper Sorbian name of the Landkreis (district)emptyoptional
hsblklinkLandkreis link (Upper Sorbian)Link to the Upper Sorbian Landkreis article (optional; if not specified, use the link defined in lk).emptyoptional
hsblandFederal state (Upper Sorbian)Upper Sorbian Name of the Bundesland (federal state)emptyoptional
hsblandlinkFederal state link (Upper Sorbian)Link to Upper Sorbian federal state article (optional; if not specified, use link as defined in country).emptyoptional
<templatedata>JSON</templatedata> ./. {{TemplateBox}}
TemplateData

TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.


Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either ‎useTemplateData=1 or ‎useTemplateData=only on the ‎/doc subpage and transcluding it with {{Documentation}} into the template. ‎<nowiki>-tags can be wrapped around the arguments, if required, to avoid templates being expanded.

Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw ‎<templatedata>-tags into the Wikitext of the template, as described in various Wikipediae.


Wikipedia's help about TemplateDataCommons-specific information

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
As of dateasofdate

date when the map where valid, i.e. 2009-07-30

Dateoptional
Federal state (English)enland

English Name of the Bundesland (federal state)

Lineoptional
Federal state link (English)enlandlink

Link to English federal state article (optional; if not specified, use link as defined in country).

Page nameoptional
Landkreis name (English)enlk

English name of the Landkreis (district)

Lineoptional
Landkreis link (English)enlklink

Link to the English Landkreis article (optional; if not specified, use the link defined in lk).

Page nameoptional
Municipality (English)enmun

English name of municipality (optional; if not specified, it is assumed that the location map is for a district in a federal state)

Lineoptional
Municipality link (English)enmunlink

Link to the English municipality article (optional; if not specified, use the link defined in mun).

Page nameoptional
Federal state (French)frland

French Name of the Bundesland (federal state)

Lineoptional
Federal state link (French)frlandlink

Link to French federal state article (optional; if not specified, use link as defined in country).

Page nameoptional
Landkreis name (French)frlk

French name of the Landkreis (district)

Lineoptional
Landkreis link (French)frlklink

Link to the French Landkreis article (optional; if not specified, use the link defined in lk).

Page nameoptional
Municipality (French)frmun

French name of municipality (optional; if not specified, it is assumed that the location map is for a district in a federal state)

Lineoptional
Municipality link (French)frmunlink

Link to the French municipality article (optional; if not specified, use the link defined in mun).

Page nameoptional
Federal state (Upper Sorbian)hsbland

Upper Sorbian Name of the Bundesland (federal state)

Lineoptional
Federal state link (Upper Sorbian)hsblandlink

Link to Upper Sorbian federal state article (optional; if not specified, use link as defined in country).

Page nameoptional
Landkreis name (Upper Sorbian)hsblk

Upper Sorbian name of the Landkreis (district)

Lineoptional
Landkreis link (Upper Sorbian)hsblklink

Link to the Upper Sorbian Landkreis article (optional; if not specified, use the link defined in lk).

Page nameoptional
Municipality (Upper Sorbian)hsbmun

Upper Sorbian name of municipality (optional; if not specified, it is assumed that the location map is for a district in a federal state)

Lineoptional
Municipality link (Upper Sorbian)hsbmunlink

Link to the Upper Sorbian municipality article (optional; if not specified, use the link defined in mun).

Page nameoptional
Federal state (German)land

German Name of the Bundesland (federal state)

Lineoptional
Federal state link (German)landlink

Link to German federal state article (optional; if not specified, use link as defined in country).

Page nameoptional
Landkreis name (German)lk

German name of the Landkreis (district)

Lineoptional
Landkreis link (German)lklink

Link to the German Landkreis article (optional; if not specified, use the link defined in lk).

Page nameoptional
Municipality (German)mun

German name of municipality (optional; if not specified, it is assumed that the location map is for a district in a federal state)

Lineoptional
Municipality link (German)munlink

Link to the German municipality article (optional; if not specified, use the link defined in mun).

Page nameoptional
Wikidatawikidata

ID of the Wikidata item of the displayed area, i.e. Q6109 for “Landkreis Uckermark”. If specified, all other parameters except asofdate are ignored.

Linerequired

Additional information

The template is intended to be used in the following namespaces: unknown

The template is intended to be used by the following user groups: all users

Beispiele

Kurzversion Beispiel 1

English (en): Locator map of Herford in Kreis Herford, Nordrhein-Westfalen, Germany.
{{DeLocMaps
|mun=Herford
|lk=Kreis Herford
|land=Nordrhein-Westfalen
}}


Mittellange Version, Beispiel 2

English (en): Locator map of Herford in District of Herford, North Rhine-Westphalia, Germany.
{{DeLocMaps
|mun=Herford
|lk=Kreis Herford
|land=Nordrhein-Westfalen
|enlk=District of Herford
|enland=North Rhine-Westphalia
}}

Langversion Beispiel 3

English (en): Locator map of Hanover in Region of Hannover, Lower Saxony, Germany.
{{DeLocMaps
|mun=Hannover
|munlink=Hannover
|lk=Region Hannover
|lklink=Region Hannover
|land=Niedersachsen
|landlink=Niedersachsen
|enmun=Hanover
|enmunlink=Hanover
|enlk=Region of Hannover
|enlklink=Hanover (district)
|enland=Lower Saxony
|enlandlink=Lower Saxony
}}


Fehler, Beispiel 4

English (en): Locator map of Herford in district unknown, Nordrhein-Westfalen, Germany.
{{DeLocMaps
|mun=Herford
|lk=
|land=Nordrhein-Westfalen
}}

Landkreiskarte, Beispiel 5

English (en): Locator map of District of Munich in Bavaria, Germany.
{{DeLocMaps
|lk=Landkreis München
|enlk=District of Munich
|land=Bayern
|enland=Bavaria
}}