This page is semi-protected against editing.

Template:Mapframe/Wikidata

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Mapframe/Wikidata/doc.

This template creates a map through the <mapframe> tag with geographic coordinates taken from the Wikidata item of the page where it is inserted.

Usage

{{Mapframe/Wikidata |marker= |marker_color= |marker_size= |marker_symbol= |shape= |background_color= |stroke_color= |stroke_width= |zoom= |qid= |text= |width= |height= }}

Template parameters

ParameterDescriptionDefaultStatus
markershow marker? <empty ("yes")/no>if equals to no, it doesn't show the pin marker, otherwise it will appearemptyoptional
marker_colorhexadecimal without "#"it fill the pin marker with a determined coloremptyoptional
marker_sizesize of the marker <small/medium/large>defines the size of the markeremptyoptional
marker_symbolsymbol inside the pin marker. See Maps/Icons for a list of valid symbolsinserts a symbol inside the pin markeremptyoptional
shapeshow shape of the item? <empty ("yes")/no>if equals to no, it doesn't show the shape of the item (eg. boundaries of a country), otherwise it will appearemptyoptional
background_colorhexadecimal without "#"it fills the background of the shape with a determined coloremptyoptional
stroke_colorhexadecimal without "#"apply a determined color to the border of the shapeemptyoptional
stroke_widthdecimal numberwidth of the stroke of the shapeemptyoptional
zoomnumber of zoom levelZoom at level 0 represents the scale 1:1.000.000.000. Zoom at level 18 represents the scale of 1:5.000emptyrequired
qidQ#### from WikidataItem ID from Wikidata. Only required for sandboxesemptyoptional
textsubtitle of the mapInserts the text (with or without wikistyle)emptyoptional
widthwidth of the map in pixelswidth of the map200required
heightheight of the map in pixelsheight of the map200required

Additional information

The template is intended to be used in the following namespaces: no namespace specified

The template is intended to be used by the following user groups: no user group specified