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 |
||
Line 1: | Line 1: | ||
<div class="map" id="map" style="height: {{{height|300px}}}></div><span class="map-template-data" style="display: none;"><nowiki>{"location":"</nowiki>{{{location}}}<nowiki>"}</nowiki></span><noinclude>{{/doc}}</noinclude> |
<div class="map" id="map" style="height: {{{height|300px}}}></div><span class="map-template-data" style="display: none;"><nowiki>{"type":"</nowiki>{{{type}}}<nowiki>","location":"</nowiki>{{{location}}}<nowiki>"}</nowiki></span><noinclude>{{/doc}}</noinclude> |
Revision as of 04:17, 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 |