From Wikipedia, the free encyclopedia
{{Infobox mapframe|id=Q100}}
{{Infobox mapframe|frame-lat=42.319 |frame-long=-71.002 |id=Q100}}
{{Infobox mapframe|id=Q100 |shape=inverse}}
{{Infobox mapframe|id=Q100 |shape=none}}
With OSM relation id on Wikidata [ edit ]
{{Infobox mapframe|id=Q4681790}}
{{Infobox mapframe|id=Q4681790 |marker=triangle |marker-color=008800}}
{{Infobox mapframe|id=Q4681790 |marker=none}}
Without OSM relation id on Wikidata [ edit ]
{{Infobox mapframe|id=Q1939502}}
Coordinates set to 'no value' on Wikidata[ edit ]
{{Infobox mapframe|id=Q2327957}}
Point suppressed, no line/shape data on Wikidata[ edit ]
{{Infobox mapframe|id=Q4649120 |point=none}}
Locally specified coords instead of Wikidata [ edit ]
{{ Infobox mapframe | coord = {{ Coord | -31.876| 115.897}}}}
No Wikidata item and no point [ edit ]
{{ Infobox mapframe | coord = {{ Coord | -31.876| 115.897}}| point = none}}
Side by side comparison { { Infobox mapframe } } { { Infobox mapframe/sandbox } } { { Infobox mapframe/sandbox2 } } { { Infobox mapframe/sandbox3 } }
mapframe: The JSON content is not valid GeoJSON+simplestyle. The list below shows all attempts to interpret it according to the JSON Schema . Not all are errors. /0/query The property query is required /0/ids The property ids is required /0 Failed to match at least one schema /0/title The property title is required /0/service The property service is required /0 Failed to match exactly one schema /0/geometries The property geometries is required /0/type Does not have a value in the enumeration ["GeometryCollection"] /0/type Does not have a value in the enumeration ["MultiPolygon"] /0/type Does not have a value in the enumeration ["Point"] /0/type Does not have a value in the enumeration ["MultiPoint"] /0/type Does not have a value in the enumeration ["LineString"] /0/type Does not have a value in the enumeration ["MultiLineString"] /0/type Does not have a value in the enumeration ["Polygon"] /0/coordinates The property coordinates is required /0/geometry The property geometry is required /0/type Does not have a value in the enumeration ["Feature"] /0/features The property features is required /0/type Does not have a value in the enumeration ["FeatureCollection"]
wikidata=yes with no Wikidata item[ edit ]
{{ Infobox mapframe | coord = {{ Coord | -31.876| 115.897}}| wikidata = yes}}
testing "wikidata=no"[ edit ]
{{ Infobox mapframe | coord = {{ Coord | -31.876| 115.897}}| id = Q1939502| wikidata = no}}
Both marker and wikidata item [ edit ]
{{ Infobox mapframe | coord = {{ Coord | -31.876| 115.897}}| id = Q1939502| marker = triangle}}
Show OSM relations but use locally specified coords [ edit ]
{{ Infobox mapframe | wikidata = yes| id = Q1939502| coord = {{ Coord | -31.876| 115.897}}| marker = triangle}}
point=none (should show line/shape features)[ edit ]
{{ Infobox mapframe | id = Q1939502| coord = {{ Coord | -31.876| 115.897}}| point = none}}
coord parameter present but empty [ edit ]
{{Infobox mapframe|coord= |id=Q1939502 |marker=triangle |wikidata=yes}}
No coords locally and none on Wikidata [ edit ]
{{Infobox mapframe|id=Q1}}
Find mask by relation [ edit ]
{{Infobox mapframe|geomask=P17 |id=Q1297}}
{{ Infobox mapframe | id = Q1297| geomask = P17| frame-coord = {{ Coord | 39.8| N| 98.3| W}}| zoom = 2}}
Mask Item specified [ edit ]
{{Infobox mapframe|geomask=Q1204 |id=Q1297}}
Custom zoom and frame-coord with a mask [ edit ]
{{ Infobox mapframe | id = Q1297| geomask = Q1204| zoom = 6| frame-coord = {{ Coord | 42| -88}}}}
{{Infobox mapframe|geomask=P17 |id=Q3239281}}
{{Infobox mapframe|geomask=P131 |id=Q1950380}}
{{Infobox mapframe|geomask=P17 |id=Q1950380}}
Point feature (Wikidata coordinates):
{{ Infobox mapframe | id = Q7270550}}
Line feature:
{{ Infobox mapframe | id = Q1318331}}
Shape feature:
{{ Infobox mapframe | id = Q61}}
Using specified coordinates instead of Wikidata [ edit ]
Point feature (with coordinates specified, no shape/line feature from Wikidata item):
{{ infobox mapframe | id = Q45935 | coord = {{ coord | 31| 56| S| 115| 58| E}} }}
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 | id = Q61 | shape = inverse}}
{{ infobox mapframe | id = Q45935 | wikidata = yes | shape = none | coord = {{ coord | 31| 56| S| 115| 58| E}} }}
{{ Infobox mapframe | id = Q7270550 | point = none}}
{{ Infobox mapframe | id = Q61 | point = on}}
{{ Infobox mapframe | id = Q1939502 | line = none | point = on| zoom = 12}}
{{ Infobox mapframe | id = Q61 | shape-fill-opacity = 0.2}}
{{ Infobox mapframe | id = Q61 | shape = inverse | shape-fill-opacity = 0.2}}
{{ Infobox mapframe | geomask = P17| id = Q3239281 | geomask-fill-opacity = 0.8}}
Manual zoom override [ edit ]
{{ Infobox mapframe | id = Q100 | zoom = 8}}
{{ Infobox mapframe | id = Q27| coord = {{ coord | 53| N| 8| W| region:IE}}| wikidata = none}}
{{ Infobox mapframe | id = Q11221505| type = landmark}}
{{ Infobox mapframe | frame-width = 250| shape = yes| marker = mountain| type = mountain| id = Q1286| wikidata = no| coord = {{ coord | 46.578| 8.615}}}}
{{ Infobox mapframe | frame-width = 250| stroke-color = #0000ff| marker = water| type = river| line = yes| id = Q697777| wikidata = no| coord = {{ coord | 51.249| 6.010}}}}
Bare infobox mapframe template calls don't render captions anyway, but this is relevant with the #invoke: mode (sandbox3).
{{ Infobox mapframe | id = Q7270550 | mapframe-caption = Test caption{{ efn | explanatory note for infobox mapframe}} }}
A number of cases which have caused complaints on the Talk page
Brisbane (no marker)
{{Infobox mapframe|area_km2=15842 |coordinates=<span class="geo-inline">{{#parsoid
Brisbane
{{Infobox mapframe|area_km2=15842 |coordinates=<span class="geo-inline">{{#parsoid
Brtonigla (without shape)
{{Infobox mapframe|area_km2=32.9 |coordinates=<span class="geo-inline">{{#parsoid
Brtonigla
{{Infobox mapframe|area_km2=32.9 |coordinates=<span class="geo-inline">{{#parsoid
Altteureu Airfield (just qid)
{{Infobox mapframe|id=Q15179107}}
Altteureu Airfield
{{Infobox mapframe|coord=<span class="geo-inline">{{#parsoid
A309 road (point=none)
{{Infobox mapframe|frame-width=290 |id=Q4649120 |length_mi=5.2 |point=none |wikidata=yes}}
A309 road
{{Infobox mapframe|frame-width=290 |id=Q4649120 |length_mi=5.2 |wikidata=yes}}
University of Georgia
{{Infobox mapframe|coordinates=<span class="geo-inline">{{#parsoid
Jane Byrne Interchange
{{Infobox mapframe|coord=<span class="geo-inline">{{#parsoid
{{ Infobox mapframe | id = Q4948020 | switcher = zooms}}
{{ Infobox mapframe | id = Q2224 | switcher = auto}}
Side by side comparison { { Infobox mapframe } } { { Infobox mapframe/sandbox } } { { Infobox mapframe/sandbox2 } } { { Infobox mapframe/sandbox3 } }
Show Buchforst Show Mülheim Show Cologne Show Cologne Government Region Show North Rhine-Westphalia Show Germany
Show Buchforst Show Mülheim Show Cologne Show Cologne Government Region Show North Rhine-Westphalia Show Germany
Show Buchforst Show Mülheim Show Cologne Show Cologne Government Region Show North Rhine-Westphalia Show Germany
Boston, US (Q30,Q100)[ edit ]
{{ Infobox mapframe | id = Q4948020 | switcher = geomasks| geomask = Q30,Q100}}
Seville, Spain (Q8717,Q29)[ edit ]
{{Infobox mapframe|caption=Interactive map of Seville |frame-coord=<span class="geo-inline-hidden noexcerpt">{{#parsoid
frame-lat/frame-long vs frame-coordinates[ edit ]
frame-lat + frame-long[ edit ]
Underscored params vs hyphenated params [ edit ]
{{ Infobox mapframe | geomask = P17| id = Q3239281 | geomask_fill_opacity = 0.8}}
{{Infobox mapframe|frame_lat=42.319 |frame_long=-71.002 |id=Q100}}
{{Infobox mapframe|id=Q4681790 |marker=triangle |marker_color=008800 |stroke_color=#00ffff}}
↑ explanatory note for infobox mapframe