Vorlage:CoordinateComplex: Unterschied zwischen den Versionen

Aus HuskyWiki
Die Seite wurde neu angelegt: „<onlyinclude>{{Coordinate{{#if:{{{map|}}} | Map | {{#switch: {{{NS|}}} ||/|//|///|///N|///S=NO{{#if: {{NAMESPACE}} | x }} | {{#switch: {{{EW|}}}…“
 
K 1 Version importiert
 
(2 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
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= <!-- 250 ??? -->
  |event|forest|landscape=10000
  |airport=5000
  |railwaystation=1000
   |landmark|building= 250 <!-- ??? -->
   |#default= 500<!--DMS-->
   |#default= 500<!--DMS-->
   }}
   }}
   | {{#ifeq: {{{type}}} | landmark
   | {{{dim}}}
  | {{#ifexpr: 250>{{{dim}}}
}}
     | {{{dim}}}
|dim= {{#ifeq: {{{dim|}}}x|x
    | 250
  | <!--void--><!--explicit default dims for types not supported by geohack-->
   }}
     {{#switch: {{{type}}}
   | {{{dim}}}
  |continent=10000000
  |event|landscape=10000
  |airport=5000
  |railwaystation=1000
   |building=250
   |#default=
   }}
   }}
  | {{{dim|}}}
  }}
  }}
|dim= {{{dim|}}}
  |region= {{{region|}}}
  |region= {{{region|}}}
  |globe= {{#ifeq: {{{globe}}} | earth
  |globe= {{#ifeq: {{{globe}}} | earth
Zeile 105: Zeile 114:
  |maptrenner = {{{maptrenner|}}}
  |maptrenner = {{{maptrenner|}}}
}}</onlyinclude>
}}</onlyinclude>
{{Dokumentation}}

Aktuelle Version vom 10. September 2024, 16:02 Uhr

Koordinaten fehlen! Hilf mit.