Template:Map/doc: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 14: Line 14:
"target": {
"target": {
"label": "Target",
"label": "Target",
"description": "Name of the room, episode or object to display.",
"description": "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'",
"type": "string",
"type": "string",
"required": true,
"required": true,
"example": "Sea Road"
"example": "'Sea Road', 'Sea Road;Little Square', 'All'"
},
},
"height": {
"height": {

Revision as of 00:30, 8 December 2024

This template displays an interactive map.

Displays an interactive map.

Template parameters

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 default.

Example
300px
Stringoptional
Widthwidth

Width of the map, if not default.

Example
300px
Stringoptional