Template:InheritEpsg: Difference between revisions
[checked revision] | [checked revision] |
(Vorlagenlöschung im Kommentar berücksichtigt) |
(→Dependencies: syntax) |
||
Line 15: | Line 15: | ||
**heightEpsgCode_de: a German comment on the altitude reference system | **heightEpsgCode_de: a German comment on the altitude reference system | ||
===Dependencies=== | ===Dependencies=== | ||
This template depends on [[Template:Attr]] and [[Template | This template depends on [[Template:Attr]] and [[Template:AddAnn]]. | ||
==Example== | ==Example== | ||
<nowiki>{{InheritEpsg | <nowiki>{{InheritEpsg |
Revision as of 16:56, 16 September 2020
Usage
This template supports <geoCoord> with two commented attribute items, that can both be commented in English and German.
Arguments
The template has two obligatory and four optional arguments:
- obligatory
- codeAttribute: an URI for the reference system of the coordinates
- heightCodeAttribute: an URI for the altitude reference system of the coordinates
- optional:
- epsgCode: an English comment on the reference system
- epsgCode_de: a German comment on the reference system
- heightEpsgCode: an English comment on the altitude reference system
- heightEpsgCode_de: a German comment on the altitude reference system
Dependencies
This template depends on Template:Attr and Template:AddAnn.
Example
{{InheritEpsg |codeAttribute = epsgCode |heightCodeAttribute = heightEpsgCode}}
delivers (in a box)
|
{{InheritEpsg |codeAttribute = epsgCode |heightCodeAttribute = heightEpsgCode |epsgCode=an English comment on the reference system |epsgCode_de=a German comment on the reference system |heightEpsgCode=an English comment on the altitude reference system |heightEpsgCode_de=a German comment on the altitude reference system}}
delivers (in a box)
|
The template is employed indirectly via Template:InheritGeoCoord e.g. in IS:geoCoord