Template:Map: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
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>{"type":"</nowiki>{{{type}}}<nowiki>","location":"</nowiki>{{{target}}}<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>","target":"</nowiki>{{{target}}}<nowiki>"}</nowiki></span><noinclude>{{/doc}}</noinclude>

Revision as of 04:48, 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