Template:Minimap: Difference between revisions
Selected Canon Law Collections, ca. 500–1234
No edit summary |
No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#tag:mapframe|{ | ||
"type": "Feature", | |||
"geometry": { | |||
"type": "Point", | |||
latitude={{{1}}} | "coordinates": [{{{2}}}, {{{1}}}] | ||
}, | |||
"properties": { | |||
"marker-symbol": "monument", | |||
"marker-color": "cc0000" | |||
} | |||
}|width=200|height=200|zoom=7|latitude={{{1}}}|longitude={{{2}}}|align=right}}</includeonly><noinclude> | |||
== Usage == | == Usage == | ||
< | <code><nowiki>{{minimap|1|2}}</nowiki></code> | ||
* '''1''': Latitude in decimal degrees | * '''1''': Latitude in decimal degrees | ||
* '''2''': Longitude in decimal degrees | * '''2''': Longitude in decimal degrees | ||
== | == Example == | ||
The minimap (200x200 px) will have a pin in the centre and show the wider area (some 100 km in all directions). So <code><nowiki>{{minimap|40.75|14.633}}</nowiki></code> will be displayed as: | |||
{{minimap|40.75|14.633}} | {{minimap|40.75|14.633}} | ||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude> | </noinclude> | ||
