Shape feature

ਸੋਧੋ

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


Line feature

ਸੋਧੋ

With OSM relation id on Wikidata

ਸੋਧੋ
  • Marker not specified

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


  • Marker is specified

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


  • Explicit |marker=none

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


Without OSM relation id on Wikidata

ਸੋਧੋ

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


Coordinates set to 'no value' on Wikidata

ਸੋਧੋ

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


Locally specified coords instead of Wikidata

ਸੋਧੋ

No Wikidata item

ਸੋਧੋ
{{Infobox mapframe|coord={{Coord|-31.876|115.897}}}}

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


wikidata=yes with no Wikidata item

ਸੋਧੋ
{{Infobox mapframe|coord={{Coord|-31.876|115.897}}|wikidata=yes}}

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


Overriding Wikidata item

ਸੋਧੋ
{{Infobox mapframe|coord={{Coord|-31.876|115.897}}|id=Q1939502|marker=triangle}}

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


Show OSM relations but use locally specified coords

ਸੋਧੋ
{{Infobox mapframe|wikidata=yes|id=Q1939502|coord={{Coord|-31.876|115.897}}|marker=triangle}}

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


point=none (should show line/shape features)

ਸੋਧੋ
{{Infobox mapframe|id=Q1939502|coord={{Coord|-31.876|115.897}}|point=none}}

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


coord parameter present but empty

ਸੋਧੋ

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


No coords locally and none on Wikidata

ਸੋਧੋ

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


Find mask by relation

ਸੋਧੋ

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


{{Infobox mapframe|id=Q1297|geomask=P17|frame-coord={{Coord|39.8|N|98.3|W}}|zoom=2}}

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


Mask Item specified

ਸੋਧੋ

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


Custom zoom and frame-coord with a mask

ਸੋਧੋ
{{Infobox mapframe|id=Q1297|geomask=Q1204|zoom=6|frame-coord={{Coord|42|-88}}}}

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


Edersee Dam

ਸੋਧੋ

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


Q1950380, P131

ਸੋਧੋ

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


Q1950380, P17

ਸੋਧੋ

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}



More tests

ਸੋਧੋ

Basic usage

ਸੋਧੋ

Point feature (Wikidata coordinates):

{{Infobox mapframe |id=Q7270550}}

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


Line feature:

{{Infobox mapframe |id=Q1318331}}

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


Shape feature:

{{Infobox mapframe |id=Q61}}

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


Using specified coordinates instead of Wikidata

ਸੋਧੋ

Point feature (with coordinates specified, no shape/line feature from Wikidata item):

{{infobox mapframe |id=Q45935 |coord={{coord|31|56|S|115|58|E}} }}

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


Point feature (with coordinates specified, along with shape/line feature from Wikidata item):

{{infobox mapframe |id=Q45935 |wikidata=yes |coord={{coord|31|56|S|115|58|E}} }}

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


Inverse shape

ਸੋਧੋ
{{Infobox mapframe |id=Q61 |shape=inverse}}

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


{{infobox mapframe |id=Q45935 |wikidata=yes |shape=none |coord={{coord|31|56|S|115|58|E}} }}

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


{{Infobox mapframe |id=Q7270550 |point=none}}

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


{{Infobox mapframe |id=Q61 |point=on}}

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


{{Infobox mapframe |id=Q1939502 |line=none |point=on}}

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


{{Infobox mapframe |id=Q61 |shape-fill-opacity=0.2}}

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


{{Infobox mapframe |id=Q61 |shape=inverse |shape-fill-opacity=0.2}}

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


{{Infobox mapframe|geomask=P17|id=Q3239281 |geomask-fill-opacity=0.8}}

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


Switcher tests

ਸੋਧੋ
{{Infobox mapframe |id=Q4948020 |switcher=zooms}}

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


{{Infobox mapframe |id=Q2224 |switcher=auto}}

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}


{{Infobox mapframe |id=Q4948020 |switcher=geomasks|geomask=Q30,Q100}}

{{Infobox mapframe}}


{{Infobox mapframe/sandbox}}