Vorlage:Geo: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Zeile 5: Zeile 5:
 
| {{#ifeq: {{#var:region}} |China oder Korea  
 
| {{#ifeq: {{#var:region}} |China oder Korea  
 
   |China{{!}}{{!}}Korea
 
   |China{{!}}{{!}}Korea
   |{{#regex:{{#var:region}}|/\S+/}}
+
   |{{#var:region}}
 
   }}
 
   }}
 
}}<!--
 
}}<!--
Zeile 33: Zeile 33:
 
| {{#if:{{#var: orte}}
 
| {{#if:{{#var: orte}}
 
   | [[styled_term::{{#var: orte}} ]]
 
   | [[styled_term::{{#var: orte}} ]]
   | [[located_in::{{#var: region_q}}]] [[location type::{{#var:location type}}]]
+
   | [[located_in::{{#var: region_q}}]][[location type::{{#var:location type}}]]
 
   }}
 
   }}
 
}}<!--   
 
}}<!--   
Zeile 40: Zeile 40:
  
 
--><div class= "g_map">{{#ask: [[has_coordinates::+]] {{#var:query}}
 
--><div class= "g_map">{{#ask: [[has_coordinates::+]] {{#var:query}}
|?glossar_id
+
|?Has coordinates=
|?styled_term
+
|?Styled term=
|?has_coordinates
+
|?Location type=
| template= smw_map
+
| format=map
| format=map
+
| template=geo_a
 +
| showtitle=off
 
| height= 700
 
| height= 700
 
| type= terrain
 
| type= terrain
 +
| cluster= yes
 
| controls= zoom, type
 
| controls= zoom, type
| icon=Marker icon kl.png
 
 
| limit= 500  
 
| limit= 500  
|default= Kein Ort gefunden
 
 
}}</div>
 
}}</div>
<noinclude>Definiert Abfrage für  [[Formular:Geo]]
 
<templatedata>
 
{
 
"params": {
 
"region": {},
 
"geo_jt": {},
 
"geo_js": {},
 
"geo_c": {},
 
"geo_s": {},
 
"geo_j": {}
 
},
 
"description": ""
 
}
 
</templatedata>
 
</noinclude>
 

Version vom 22. August 2022, 15:00 Uhr