Template:Mapframe/Wikidata
Jump to navigation
Jump to search
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
Parameter | Description | Default | Status | |
---|---|---|---|---|
marker | show marker? <empty ("yes")/no> | if equals to no, it doesn't show the pin marker, otherwise it will appear | empty | optional |
marker_color | hexadecimal without "#" | it fill the pin marker with a determined color | empty | optional |
marker_size | size of the marker <small/medium/large> | defines the size of the marker | empty | optional |
marker_symbol | symbol inside the pin marker. See Maps/Icons for a list of valid symbols | inserts a symbol inside the pin marker | empty | optional |
shape | show 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 appear | empty | optional |
background_color | hexadecimal without "#" | it fills the background of the shape with a determined color | empty | optional |
stroke_color | hexadecimal without "#" | apply a determined color to the border of the shape | empty | optional |
stroke_width | decimal number | width of the stroke of the shape | empty | optional |
zoom | number of zoom level | Zoom at level 0 represents the scale 1:1.000.000.000. Zoom at level 18 represents the scale of 1:5.000 | empty | required |
qid | Q#### from Wikidata | Item ID from Wikidata. Only required for sandboxes | empty | optional |
text | subtitle of the map | Inserts the text (with or without wikistyle) | empty | optional |
width | width of the map in pixels | width of the map | 200 | required |
height | height of the map in pixels | height of the map | 200 | required |
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