Jump to content

Template:Infobox mapframe/testcases

Coordinates: 35°00.221′S 178°58.357′E / 35.003683°S 178.972617°E / -35.003683; 178.972617
From Wikipedia, the free encyclopedia

Note:

Shape feature

[edit]
{{Infobox mapframe|id=Q100}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map
{{Infobox mapframe|frame-lat=42.319 |frame-long=-71.002 |id=Q100}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map
{{Infobox mapframe|id=Q100 |shape=inverse}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map
{{Infobox mapframe|id=Q100 |shape=none}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Line feature

[edit]

With OSM relation id on Wikidata

[edit]
  • Marker not specified
{{Infobox mapframe|id=Q4681790}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map
  • Marker is specified
{{Infobox mapframe|id=Q4681790 |marker=triangle |marker-color=008800}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map
  • Explicit |marker=none
{{Infobox mapframe|id=Q4681790 |marker=none}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Without OSM relation id on Wikidata

[edit]
{{Infobox mapframe|id=Q1939502}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Missing data

[edit]

Coordinates set to 'no value' on Wikidata

[edit]
{{Infobox mapframe|id=Q2327957}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}

Point suppressed, no line/shape data on Wikidata

[edit]
{{Infobox mapframe|id=Q4649120 |point=none}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Locally specified coords instead of Wikidata

[edit]

No Wikidata item

[edit]
{{Infobox mapframe|coord={{Coord|-31.876|115.897}}}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

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"]
Map

wikidata=yes with no Wikidata item

[edit]
{{Infobox mapframe|coord={{Coord|-31.876|115.897}}|wikidata=yes}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

testing "wikidata=no"

[edit]
{{Infobox mapframe|coord={{Coord|-31.876|115.897}}|id=Q1939502|wikidata=no}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Both marker and wikidata item

[edit]
{{Infobox mapframe|coord={{Coord|-31.876|115.897}}|id=Q1939502|marker=triangle}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Show OSM relations but use locally specified coords

[edit]
{{Infobox mapframe|wikidata=yes|id=Q1939502|coord={{Coord|-31.876|115.897}}|marker=triangle}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

point=none (should show line/shape features)

[edit]
{{Infobox mapframe|id=Q1939502|coord={{Coord|-31.876|115.897}}|point=none}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

coord parameter present but empty

[edit]
{{Infobox mapframe|coord= |id=Q1939502 |marker=triangle |wikidata=yes}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

No coords locally and none on Wikidata

[edit]
{{Infobox mapframe|id=Q1}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}

Geomask

[edit]

Find mask by relation

[edit]
{{Infobox mapframe|geomask=P17 |id=Q1297}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map
{{Infobox mapframe|id=Q1297|geomask=P17|frame-coord={{Coord|39.8|N|98.3|W}}|zoom=2}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Mask Item specified

[edit]
{{Infobox mapframe|geomask=Q1204 |id=Q1297}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Custom zoom and frame-coord with a mask

[edit]
{{Infobox mapframe|id=Q1297|geomask=Q1204|zoom=6|frame-coord={{Coord|42|-88}}}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Edersee Dam

[edit]
{{Infobox mapframe|geomask=P17 |id=Q3239281}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Q1950380, P131

[edit]
{{Infobox mapframe|geomask=P131 |id=Q1950380}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Q1950380, P17

[edit]
{{Infobox mapframe|geomask=P17 |id=Q1950380}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map


More tests

[edit]

Basic usage

[edit]

Point feature (Wikidata coordinates):

{{Infobox mapframe |id=Q7270550}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Line feature:

{{Infobox mapframe |id=Q1318331}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Shape feature:

{{Infobox mapframe |id=Q61}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

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}} }}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

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}} }}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Inverse shape

[edit]
{{Infobox mapframe |id=Q61 |shape=inverse}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Shape off

[edit]
{{infobox mapframe |id=Q45935 |wikidata=yes |shape=none |coord={{coord|31|56|S|115|58|E}} }}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Point off

[edit]
{{Infobox mapframe |id=Q7270550 |point=none}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Point on

[edit]
{{Infobox mapframe |id=Q61 |point=on}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Line off

[edit]
{{Infobox mapframe |id=Q1939502 |line=none |point=on| zoom=12}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Opacity

[edit]
{{Infobox mapframe |id=Q61 |shape-fill-opacity=0.2}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map
{{Infobox mapframe |id=Q61 |shape=inverse |shape-fill-opacity=0.2}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map
{{Infobox mapframe|geomask=P17|id=Q3239281 |geomask-fill-opacity=0.8}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Manual zoom override

[edit]
{{Infobox mapframe |id=Q100 |zoom=8}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Zoom from Wikidata

[edit]
{{Infobox mapframe |id=Q27|coord={{coord|53|N|8|W|region:IE}}|wikidata=none}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Landmark type

[edit]
{{Infobox mapframe|id=Q11221505|type=landmark}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Force shape

[edit]
{{Infobox mapframe|frame-width=250|shape=yes|marker=mountain|type=mountain|id=Q1286|wikidata=no|coord={{coord|46.578|8.615}}}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Force line

[edit]
{{Infobox mapframe|frame-width=250|stroke-color=#0000ff|marker=water|type=river|line=yes|id=Q697777|wikidata=no|coord={{coord|51.249|6.010}}}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

With caption

[edit]

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}} }}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map
Test caption[a]

Infobox tests

[edit]

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"><span class="plainlinks nourlexpansion">[https://geohack.toolforge.org/geohack.php?pagename=Template:Infobox_mapframe/testcases&params=27_28_04_S_153_01_41_E_type:city(2,600,000)_region:AU-QLD <span class="geo-default"><span class="geo-dms" title="Maps, aerial photos, and other data for this location"><span class="latitude">27°28′04″S</span> <span class="longitude">153°01′41″E</span></span></span><span class="geo-multi-punct">&#xfeff; / &#xfeff;</span><span class="geo-nondefault"><span class="geo-dec" title="Maps, aerial photos, and other data for this location">27.46778°S 153.02806°E</span><span style="display:none">&#xfeff; / <span class="geo">-27.46778; 153.02806</span></span></span>]</span>[[Category:Pages using gadget WikiMiniAtlas]]</span> |frame-width=250 |id=Q34932 |marker=no |shape=yes |type=city |zoom=9}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map
Brisbane
{{Infobox mapframe|area_km2=15842 |coordinates=<span class="geo-inline"><span class="plainlinks nourlexpansion">[https://geohack.toolforge.org/geohack.php?pagename=Template:Infobox_mapframe/testcases&params=27_28_04_S_153_01_41_E_type:city(2,600,000)_region:AU-QLD <span class="geo-default"><span class="geo-dms" title="Maps, aerial photos, and other data for this location"><span class="latitude">27°28′04″S</span> <span class="longitude">153°01′41″E</span></span></span><span class="geo-multi-punct">&#xfeff; / &#xfeff;</span><span class="geo-nondefault"><span class="geo-dec" title="Maps, aerial photos, and other data for this location">27.46778°S 153.02806°E</span><span style="display:none">&#xfeff; / <span class="geo">-27.46778; 153.02806</span></span></span>]</span>[[Category:Pages using gadget WikiMiniAtlas]]</span> |frame-width=250 |id=Q34932 |marker=town |shape=yes |type=city |zoom=9}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map
Brtonigla (without shape)
{{Infobox mapframe|area_km2=32.9 |coordinates=<span class="geo-inline"><span class="plainlinks nourlexpansion">[https://geohack.toolforge.org/geohack.php?pagename=Template:Infobox_mapframe/testcases&params=45_23_N_13_38_E_region:HR <span class="geo-default"><span class="geo-dms" title="Maps, aerial photos, and other data for this location"><span class="latitude">45°23′N</span> <span class="longitude">13°38′E</span></span></span><span class="geo-multi-punct">&#xfeff; / &#xfeff;</span><span class="geo-nondefault"><span class="geo-dec" title="Maps, aerial photos, and other data for this location">45.383°N 13.633°E</span><span style="display:none">&#xfeff; / <span class="geo">45.383; 13.633</span></span></span>]</span>[[Category:Pages using gadget WikiMiniAtlas]]</span> |frame-width=250 |id=Q991426 |mapframe=yes |marker=town |type=city}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map
Brtonigla
{{Infobox mapframe|area_km2=32.9 |coordinates=<span class="geo-inline"><span class="plainlinks nourlexpansion">[https://geohack.toolforge.org/geohack.php?pagename=Template:Infobox_mapframe/testcases&params=45_23_N_13_38_E_region:HR <span class="geo-default"><span class="geo-dms" title="Maps, aerial photos, and other data for this location"><span class="latitude">45°23′N</span> <span class="longitude">13°38′E</span></span></span><span class="geo-multi-punct">&#xfeff; / &#xfeff;</span><span class="geo-nondefault"><span class="geo-dec" title="Maps, aerial photos, and other data for this location">45.383°N 13.633°E</span><span style="display:none">&#xfeff; / <span class="geo">45.383; 13.633</span></span></span>]</span>[[Category:Pages using gadget WikiMiniAtlas]]</span> |frame-width=250 |id=Q991426 |mapframe=yes |marker=town |shape=yes |type=city}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map
Altteureu Airfield (just qid)
{{Infobox mapframe|id=Q15179107}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map
Altteureu Airfield
{{Infobox mapframe|coord=<span class="geo-inline"><span class="plainlinks nourlexpansion">[https://geohack.toolforge.org/geohack.php?pagename=Template:Infobox_mapframe/testcases&params=33_12_18_N_126_16_12_E_ <span class="geo-default"><span class="geo-dms" title="Maps, aerial photos, and other data for this location"><span class="latitude">33°12′18″N</span> <span class="longitude">126°16′12″E</span></span></span><span class="geo-multi-punct">&#xfeff; / &#xfeff;</span><span class="geo-nondefault"><span class="geo-dec" title="Maps, aerial photos, and other data for this location">33.20500°N 126.27000°E</span><span style="display:none">&#xfeff; / <span class="geo">33.20500; 126.27000</span></span></span>]</span>[[Category:Pages using gadget WikiMiniAtlas]]</span> |frame-width=250 |id=Q15179107 |marker=observation-tower |stroke-width=2 |type=landmark |wikidata=yes}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map
A309 road (point=none)
{{Infobox mapframe|frame-width=290 |id=Q4649120 |length_mi=5.2 |point=none |wikidata=yes}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map
A309 road
{{Infobox mapframe|frame-width=290 |id=Q4649120 |length_mi=5.2 |wikidata=yes}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map
University of Georgia
{{Infobox mapframe|coordinates=<span class="geo-inline"><span class="plainlinks nourlexpansion">[https://geohack.toolforge.org/geohack.php?pagename=Template:Infobox_mapframe/testcases&params=33.9558_N_83.3745_W_region:US-GA_type:edu <span class="geo-default"><span class="geo-dms" title="Maps, aerial photos, and other data for this location"><span class="latitude">33°57′21″N</span> <span class="longitude">83°22′28″W</span></span></span><span class="geo-multi-punct">&#xfeff; / &#xfeff;</span><span class="geo-nondefault"><span class="geo-dec" title="Maps, aerial photos, and other data for this location">33.9558°N 83.3745°W</span><span style="display:none">&#xfeff; / <span class="geo">33.9558; -83.3745</span></span></span>]</span>[[Category:Pages using gadget WikiMiniAtlas]]</span> |id=Q761534 |marker=college |shape=yes |type=landmark}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map
Jane Byrne Interchange
{{Infobox mapframe|coord=<span class="geo-inline"><span class="plainlinks nourlexpansion">[https://geohack.toolforge.org/geohack.php?pagename=Template:Infobox_mapframe/testcases&params=41_52_32_N_87_38_44_W_ <span class="geo-default"><span class="geo-dms" title="Maps, aerial photos, and other data for this location"><span class="latitude">41°52′32″N</span> <span class="longitude">87°38′44″W</span></span></span><span class="geo-multi-punct">&#xfeff; / &#xfeff;</span><span class="geo-nondefault"><span class="geo-dec" title="Maps, aerial photos, and other data for this location">41.87556°N 87.64556°W</span><span style="display:none">&#xfeff; / <span class="geo">41.87556; -87.64556</span></span></span>]</span>[[Category:Pages using gadget WikiMiniAtlas]]</span> |frame-height=240 |frame-width=290 |id=Q1034851 |mapframe=yes |marker=cross |shape=yes |zoom=14}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Switcher tests

[edit]

Zooms

[edit]
{{Infobox mapframe |id=Q4948020 |switcher=zooms}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map
Map
Map
Map
Map
Map
Map
Map
Map
Map

Auto

[edit]
{{Infobox mapframe |id=Q2224 |switcher=auto}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map
Map
Map
Map
Map
Map
Map
Map
Map
Map
Map
Map
Map
Map
Map
Map
Map
Map
Map

Geomasks

[edit]

Boston, US (Q30,Q100)

[edit]
{{Infobox mapframe |id=Q4948020 |switcher=geomasks|geomask=Q30,Q100}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map
Map
Map
Map
Map
Map
Map

Seville, Spain (Q8717,Q29)

[edit]
{{Infobox mapframe|caption=Interactive map of Seville |frame-coord=<span class="geo-inline-hidden noexcerpt"><span class="plainlinks nourlexpansion">[https://geohack.toolforge.org/geohack.php?pagename=Template:Infobox_mapframe/testcases&params=37.3886_N_5.9956_W_ <span class="geo-default"><span class="geo-dms" title="Maps, aerial photos, and other data for this location"><span class="latitude">37°23′19″N</span> <span class="longitude">5°59′44″W</span></span></span><span class="geo-multi-punct">&#xfeff; / &#xfeff;</span><span class="geo-nondefault"><span class="geo-dec" title="Maps, aerial photos, and other data for this location">37.3886°N 5.9956°W</span><span style="display:none">&#xfeff; / <span class="geo">37.3886; -5.9956</span></span></span>]</span>[[Category:Pages using gadget WikiMiniAtlas]]</span> |geomask=Q8717,Q29 |id=Q8717 |switcher=geomasks |zoom=10}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map
Map
Map
Map
Map
Map
Map

frame-lat/frame-long vs frame-coordinates

[edit]

frame-lat + frame-long

[edit]
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map
Map

frame-coordinates

[edit]
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map
Map

Underscored params vs hyphenated params

[edit]
{{Infobox mapframe|geomask=P17|id=Q3239281 |geomask_fill_opacity=0.8}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map
{{Infobox mapframe|frame_lat=42.319 |frame_long=-71.002 |id=Q100}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map
{{Infobox mapframe|id=Q4681790 |marker=triangle |marker_color=008800 |stroke_color=#00ffff}}
Side by side comparison
{{Infobox mapframe}}{{Infobox mapframe/sandbox}}{{Infobox mapframe/sandbox2}}{{Infobox mapframe/sandbox3}}
Map Map Map
Map

Notes

[edit]
  1. ^ explanatory note for infobox mapframe