Sandbox: Unterschied zwischen den Versionen

Aus Wiki der Stadt Grenchen
Zur Navigation springen Zur Suche springen
(Der Seiteninhalt wurde durch einen anderen Text ersetzt: „{{#multimaps: | Marker = 10.001,10.001 ~ Test ~ Hallo | Marker = 10.002,10.002 ~ Test ~ Hallo }}“)
Markierung: Ersetzt
(Eine dazwischenliegende Version von einem anderen Benutzer wird nicht angezeigt)
Zeile 1: Zeile 1:
<mapframe text="Downtown [[wikipedia:San Francisco|San Francisco]]" width=250 height=250 zoom=13 latitude=37.8013 longitude=-122.3988 />
+
{{#multimaps:
 
+
| Marker = 10.001,10.001 ~ Test ~ Hallo
<mapframe latitude="52" longitude="-110" zoom="3" width="500" height="500" text="Governors of US states with their party affiliation">
+
| Marker = 10.002,10.002 ~ Test ~ Hallo
{
+
}}
  "type": "ExternalData",
 
  "service": "geoshape",
 
  "query": "SELECT ?id ?head (SAMPLE(?img) as ?img_) (min(?partyId) as ?party) (if(?party = '0', '#800000', if(?party = '1', '#000080', '#008000')) as ?fill) (concat('[[wikipedia:', substr(str(?link),31,500),  '{{!}}', ?headLabel, ']]') as ?title) (concat(?stateLabel, '\\n', '[[File:', substr(str(?img_), 52, 500), '{{!}}200px]]') as ?description) WHERE { ?id wdt:P31 wd:Q35657 . ?id wdt:P6 ?head . ?head wdt:P102 ?party . BIND(if(?party = wd:Q29468, '0', if(?party = wd:Q29552, '1', '2')) as ?partyId) SERVICE wikibase:label { bd:serviceParam wikibase:language 'en' . ?head rdfs:label ?headLabel . ?id rdfs:label ?stateLabel . } OPTIONAL { ?head wdt:P18 ?img . } ?link schema:about ?head . ?link schema:isPartOf <https://en.wikipedia.org/> .} GROUP BY ?id ?head ?headLabel ?link ?stateLabel"
 
}
 
</mapframe>
 
 
 
<mapframe text="San Francisco museums" width=350 height=350 zoom=13 latitude=37.8013 longitude=-122.3988>
 
{
 
  "type": "Feature",
 
  "geometry": { "type": "Point", "coordinates": [-122.3988, 37.8013] },
 
  "properties": {
 
    "title": "[[wikipedia:Exploratorium|Exploratorium]]",
 
    "description": "[[File:Giant_Mirror_at_the_Exploratorium.jpeg|200px]]",
 
    "marker-symbol": "museum",
 
    "marker-size": "large",
 
    "marker-color": "0050d0"
 
  }
 
}
 
</mapframe>
 
 
 
<maplink zoom="13" latitude="37.8103" longitude="-122.3995" />
 
 
 
<mapframe text="Map of [[wikipedia:London|London]]" latitude="51.505" longitude="-0.126" zoom="8" width="300" height="300" align="left">
 
{
 
  "type": "FeatureCollection",
 
  "features": [
 
    {
 
      "type": "Feature",
 
      "properties": {
 
          "title": "[[wikipedia:London|London]] is the capital of [[wikipedia:United Kingdom|United Kingdom]]",
 
          "description": "[[File:Houses_of_Parliament.jpg|Houses of Parliament|280px]]",
 
          "marker-symbol": "town-hall",
 
          "marker-size": "large",
 
          "marker-color": "f00"
 
      },
 
      "geometry": {
 
        "type": "Point",
 
        "coordinates": [
 
          -0.1226806780323386,
 
          51.515268213580114
 
        ]
 
      }
 
    }
 
  ]
 
}</mapframe>
 
 
 
<mapframe text="San Francisco museums" width="350" height="350" zoom="13" latitude="37.81032643553478" longitude="-122.39953994750977">
 
{
 
  "type": "Feature",
 
  "geometry": { "type": "Point", "coordinates": [-122.3988, 37.8013] },
 
  "properties": {
 
    "title": "[[wikipedia:Exploratorium|Exploratorium]]",
 
    "description": "[[File:Giant_Mirror_at_the_Exploratorium.jpeg|200px]]",
 
    "marker-symbol": "museum",
 
    "marker-size": "large",
 
    "marker-color": "0050d0"
 
  }
 
}
 
</mapframe>
 
 
 
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2711.221626254678!2d7.392558915442959!3d47.19267452447317!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x478e208c9ab6e9bb%3A0x6ac9e6a3413bcb40!2sAbsyte%2C%202540%20Grenchen!5e0!3m2!1sde!2sch!4v1594449441925!5m2!1sde!2sch" width="400" height="300" frameborder="0" style="border:0;" allowfullscreen="" aria-hidden="false" tabindex="0"></iframe>
 

Version vom 14. Juli 2020, 07:24 Uhr

Lade Karte …