Template:InheritEpsg: Difference between revisions
[checked revision] | [checked revision] |
No edit summary |
(Common geoCoord page) |
||
Line 47: | Line 47: | ||
|} | |} | ||
The template is employed indirectly via [[Template:InheritGeoCoord]] e.g. in [[IS: | The template is employed indirectly via [[Template:InheritGeoCoord]] e.g. in [[IS:geoCoord]] | ||
[[Category:AttributeTemplate]]</noinclude> | [[Category:AttributeTemplate]]</noinclude> |
Revision as of 23:12, 14 September 2020
Usage
This template supports Template:InheritGeoCoord 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 AddAnn. It is employed solely via Template:InheritGeoCoord.
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