Template:Map/doc: Difference between revisions

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "This template displays an interactive map. <templatedata> { "description": "Displays an interactive map.", "params": { "location": { "label": "Location", "description": "Name of the room or episode to display.", "type": "string", "required": true, "example": "Sea Road" } } } </templatedata>")
 
No edit summary
Line 5: Line 5:
"description": "Displays an interactive map.",
"description": "Displays an interactive map.",
"params": {
"params": {
"type": {
"label": "Type",
"description": "'Episode', 'Room' or 'Entity'",
"type": "string",
"required": true,
"example": "Room"
},
"location": {
"location": {
"label": "Location",
"label": "Location",
"description": "Name of the room or episode to display.",
"description": "Name of the room, episode or object to display.",
"type": "string",
"type": "string",
"required": true,
"required": true,
"example": "Sea Road"
"example": "Sea Road"
}
},
"height": {
"label": "Height",
"description": "Height of the map, if not default.",
"type": "string",
"required": false,
"example": "300px"
}
}
}
}
}

Revision as of 04:20, 23 November 2024

This template displays an interactive map.

Displays an interactive map.

Template parameters

ParameterDescriptionTypeStatus
Typetype

'Episode', 'Room' or 'Entity'

Example
Room
Stringrequired
Locationlocation

Name of the room, episode or object to display.

Example
Sea Road
Stringrequired
Heightheight

Height of the map, if not default.

Example
300px
Stringoptional