Vorlage:CoordinateComplex: Unterschied zwischen den Versionen
Die Seite wurde neu angelegt: „<onlyinclude>{{Coordinate{{#if:{{{map|}}} | Map | {{#switch: {{{NS|}}} ||/|//|///|///N|///S=NO{{#if: {{NAMESPACE}} | x }} | {{#switch: {{{EW|}}}…“ |
de>Herzi Pinki zur Sicherheit, falls dim fehlt |
||
Zeile 32: | Zeile 32: | ||
}} | }} | ||
|type_safe = {{#switch: {{{type}}} | |type_safe = {{#switch: {{{type}}} | ||
|country|state|adm1st|adm2nd|city|isle|airport|mountain|waterbody|forest|landmark={{{type}}} | |continent|country|state|adm1st|adm2nd|city|isle|airport|mountain|waterbody|forest|landscape|landmark|event|railwaystation|building={{{type}}} | ||
|example={{#if:{{NAMESPACE}} | |example={{#if:{{NAMESPACE}} | ||
| example <!--{{{type}}}--> | | example <!--{{{type}}}--> | ||
Zeile 58: | Zeile 58: | ||
}} | }} | ||
}} | }} | ||
|dim_safe = {{#iferror: {{#expr: 1*({{{dim}}}) = ({{{dim}}}) }} | |dim_safe = {{#iferror: {{#expr: 1*({{{dim}}}) = ({{{dim}}}) }}<!-- leer oder keine Zahl --> | ||
| {{#switch: {{{type}}} | | {{#switch: {{{type}}} | ||
|continent=10000000 | |||
|country|state=500001<!--D--> | |country|state=500001<!--D--> | ||
|adm1st|adm2nd|city|mountain|isle= 10001<!--DM--> | |adm1st|adm2nd|city|mountain|isle= 10001<!--DM--> | ||
|landmark= <!-- | |event|forest|landscape=10000 | ||
|airport=5000 | |||
|railwaystation=1000 | |||
|landmark|building= 250 <!-- ??? --> | |||
|#default= 500<!--DMS--> | |#default= 500<!--DMS--> | ||
}} | }} | ||
| {{ | | {{{dim}}} | ||
}} | |||
|dim= {{#ifeq: {{{dim|}}}x|x | |||
| <!--void--><!--explicit default dims for types not supported by geohack--> | |||
{{#switch: {{{type}}} | |||
| | |continent=10000000 | ||
|event|landscape=10000 | |||
|airport=5000 | |||
|railwaystation=1000 | |||
|building=250 | |||
|#default= | |||
}} | }} | ||
| {{{dim|}}} | |||
}} | }} | ||
|region= {{{region|}}} | |region= {{{region|}}} | ||
|globe= {{#ifeq: {{{globe}}} | earth | |globe= {{#ifeq: {{{globe}}} | earth | ||
Zeile 105: | Zeile 114: | ||
|maptrenner = {{{maptrenner|}}} | |maptrenner = {{{maptrenner|}}} | ||
}}</onlyinclude> | }}</onlyinclude> | ||
{{Dokumentation}} |