ထႅမ်းပလဵတ်ႉ:Infobox mapframe/testcases
ၼႃႈလိၵ်ႈဢၼ်ၼႆႉ မၼ်းပဵၼ် ဢွင်ႈတီႈၸၢမ်း ထႅမ်းပလဵၵ်ႉ sandbox ႁင်း ထႅမ်းပလဵတ်ႉ:Infobox mapframe ၏ ၼၼ်ႉယဝ်ႉ။ တွၼ်ႈတႃႇႁၼ်လႆႈ သၢႆငၢႆလႃႈသုတ်း ႁင်း ပိူင်ယၢင်ႇမၼ်းၼႆ ။ တွၼ်ႈတႃႇ ၵူတ်ႇထတ်း ၽွၼ်းလႆႈ လွင်ႈၸႂ်ႉတိုဝ်း ထႅမ်းပလဵၵ်ႉၼႆႉ ၸၢင်ႈၸႂ်ႉလႆႈ Special:ExpandTemplates ယူႇ။ |
Shape feature
မႄးထတ်းLine feature
မႄးထတ်းWith OSM relation id on Wikidata
မႄးထတ်း- Marker not specified
- Marker is specified
- Explicit
|marker=none
Without OSM relation id on Wikidata
မႄးထတ်းCoordinates set to 'no value' on Wikidata
မႄးထတ်းLocally specified coords instead of Wikidata
မႄးထတ်းNo Wikidata item
မႄးထတ်း{{Infobox mapframe|coord={{Coord|-31.876|115.897}}}}
wikidata=yes with no Wikidata item
မႄးထတ်း{{Infobox mapframe|coord={{Coord|-31.876|115.897}}|wikidata=yes}}
Overriding Wikidata item
မႄးထတ်း{{Infobox mapframe|coord={{Coord|-31.876|115.897}}|id=Q1939502|marker=triangle}}
Show OSM relations but use locally specified coords
မႄးထတ်း{{Infobox mapframe|wikidata=yes|id=Q1939502|coord={{Coord|-31.876|115.897}}|marker=triangle}}
point=none (should show line/shape features)
မႄးထတ်း{{Infobox mapframe|id=Q1939502|coord={{Coord|-31.876|115.897}}|point=none}}
coord parameter present but empty
မႄးထတ်းNo coords locally and none on Wikidata
မႄးထတ်းGeomask
မႄးထတ်းFind mask by relation
မႄးထတ်း{{Infobox mapframe|id=Q1297|geomask=P17|frame-coord={{Coord|39.8|N|98.3|W}}|zoom=2}}
Mask Item specified
မႄးထတ်းCustom zoom and frame-coord with a mask
မႄးထတ်း{{Infobox mapframe|id=Q1297|geomask=Q1204|zoom=6|frame-coord={{Coord|42|-88}}}}
Edersee Dam
မႄးထတ်းQ1950380, P131
မႄးထတ်းQ1950380, P17
မႄးထတ်း
More tests
မႄးထတ်းBasic usage
မႄးထတ်းPoint feature (Wikidata coordinates):
{{Infobox mapframe |id=Q7270550}}
{{Infobox mapframe}}
Line feature:
{{Infobox mapframe |id=Q1318331}}
{{Infobox mapframe}}
Shape feature:
{{Infobox mapframe |id=Q61}}
{{Infobox mapframe}}
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}}
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}}
Inverse shape
မႄးထတ်း{{Infobox mapframe |id=Q61 |shape=inverse}}
{{Infobox mapframe}}
Shape off
မႄးထတ်း{{infobox mapframe |id=Q45935 |wikidata=yes |shape=none |coord={{coord|31|56|S|115|58|E}} }}
{{Infobox mapframe}}
Point off
မႄးထတ်း{{Infobox mapframe |id=Q7270550 |point=none}}
{{Infobox mapframe}}
Point on
မႄးထတ်း{{Infobox mapframe |id=Q61 |point=on}}
{{Infobox mapframe}}
Line off
မႄးထတ်း{{Infobox mapframe |id=Q1939502 |line=none |point=on}}
{{Infobox mapframe}}
Opacity
မႄးထတ်း{{Infobox mapframe |id=Q61 |shape-fill-opacity=0.2}}
{{Infobox mapframe}}
{{Infobox mapframe |id=Q61 |shape=inverse |shape-fill-opacity=0.2}}
{{Infobox mapframe}}
{{Infobox mapframe|geomask=P17|id=Q3239281 |geomask-fill-opacity=0.8}}
{{Infobox mapframe}}
Switcher tests
မႄးထတ်းZooms
မႄးထတ်း{{Infobox mapframe |id=Q4948020 |switcher=zooms}}
{{Infobox mapframe}}
Auto
မႄးထတ်း{{Infobox mapframe |id=Q2224 |switcher=auto}}
{{Infobox mapframe}}
Geomasks
မႄးထတ်း{{Infobox mapframe |id=Q4948020 |switcher=geomasks|geomask=Q30,Q100}}
{{Infobox mapframe}}