This template uses Lua: |
This template uses the Wikidata property: |
This template tracks the Wikidata property: |
This template uses the OpenStreetMap tag: |
आकृति:Lua sidebar This template generates a mapframe map, suitable for infoboxes, with minimal user input. This template only works with single features (points, lines, or shapes); use {{maplink}}
if more advanced options, such as displaying multiple features, are required.
Note that a point feature marker is displayed at the coordinates of the page's Wikidata item, unless the item has an OpenStreetMap आईडी (P402) specified.
Note: When in mainspace, parameter |id=
is not required (except to use a different page's data)
Point:
{{Infobox mapframe |id=Q7270550}}
Line:
{{Infobox mapframe |id=Q1318331}}
Shape:
{{Infobox mapframe |id=Q61}}
{{Infobox mapframe |id=Q1318331 |length_km=5.6}}
{{Infobox mapframe |id=Q1318331 |length_mi=3.5}}
{{Infobox mapframe |id=Q100 |area_km2=232.14}}
{{Infobox mapframe |id=Q100 |area_mi2=89.63}}
{{Infobox mapframe |id=Q1}}
There is no output. Similarly when there is no Wikidata item for the page (like this template's documentation page)
{{Infobox mapframe}}
There is no output.
Other optional parameters are:
The above documentation is transcluded from आकृति:Infobox mapframe/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |