Template:Map: Difference between revisions

No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class="map" id="map"></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}}}; width: {{{width|300px}}}></div><span class="map-template-data" style="display: none;"><nowiki>{"type":"</nowiki>{{{type}}}<nowiki>","target":"</nowiki>{{{target}}}<nowiki>"}</nowiki></span><noinclude>{{/doc}}</noinclude>

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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Typetype

'Episode', 'Room' or 'Entity'

Example
Room
Stringrequired
Targettarget

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'

Example
'Sea Road', 'Sea Road;Little Square', 'All'
Stringrequired
Heightheight

Height of the map, if not the default of 300px.

Example
500px
Stringoptional
Widthwidth

Width of the map, if not the default of 300px.

Example
500px
Stringoptional