Template:DGA map/doc

From PsychonautWiki
Jump to navigation Jump to search

This template is to be used, when a file is, in either full extent or partially, based on open public geographic data from the Danish Geodata Agency. The list of data where this license is applicable can be found on this page, however only in Danish.

The template automatically sets the following categories: Category:Danish Geodata Agency open public geographic data maps of Denmark

Usage

{{DGA map |1= |2= }}

⧼templatedata-doc-params⧽

ParameterDescriptionDefaultStatus
1Date when the set(s) of data were retrieved from the Danish Geodata Agency in ISO-format (YYYY-MM-DD)emptyrequired
2Name of source data set from Danish Geodata Agencyemptyrequired

Additional information

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

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

Placement: In the "⧼wm-license-information-permission⧽" parameter of the {{Information}} template (or the respective parameter of similar templates) or in the "Licencing" section

Localization

English |

This template is localized through {{Autotranslate}}.

To add your language to the list of languages supported by this template, please copy the code of Template:DGA map/en (or any other language version you prefer to translate) and replace the text strings in there (the form below can be used to create a translation, the English version is preloaded in the edit box). Please change the parameter lang from en (or whatever language you are translating) to the language code of your language.

<inputbox> type=create preload=Template:DGA map/en default=Template:DGA map/⧼Lang⧽ </inputbox>

Example

Good

{{DGA map|1=2025-08-11|2=D25_57-76_6175_700 (DTK/4-cm kort (trykt 1957-1976))}} gives: Lua error in mw.title.lua at line 209: too many expensive function calls.

Missing date

{{DGA map|2=D25_57-76_6175_700 (DTK/4-cm kort (trykt 1957-1976))}} gives: Lua error in mw.title.lua at line 209: too many expensive function calls.

Missing source set

{{DGA map|1=2025-08-11}} gives: Lua error in mw.title.lua at line 209: too many expensive function calls.

Missing date and source set

{{DGA map}} gives: Lua error in mw.title.lua at line 209: too many expensive function calls.