Template:Map: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Set a default style height to prevent flickering of the box height. If Leaflet loads before the height, it can incorrectly calculate the map's default position.) |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1:
<div class="map" id="map" style="height: {{{height|300px}}}; width: {{{width|300px}}}></div><span class="map-template-data" style="display: none;"><nowiki>{"
|
Latest revision as of 21:32, 23 November 2024
Template documentation
This documentation is transcluded from Template:Map/doc. [edit] [history] [purge]
This template displays an interactive map.
See the Brighter Shores:Map Project for more details!
Displays an interactive map.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Type | type | 'Episode', 'Room' or 'Entity'
| String | required |
Target | target | Name of the room, episode or object to display. You can specify multiple items by separating them with a semi-colon (no spaces), or specify everything by using the string 'All'
| String | required |
Height | height | Height of the map, if not the default of 300px.
| String | optional |
Width | width | Width of the map, if not the default of 300px.
| String | optional |