Template:Map/doc: Difference between revisions

762 bytes added ,  Yesterday at 15:04
no edit summary
(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
 
(6 intermediate revisions by the same user not shown)
Line 1:
{{Documentation}}
 
This template displays an interactive map.
 
See the [[Brighter Shores:Map Project]] for more details!
 
<templatedata>
Line 5 ⟶ 9:
"description": "Displays an interactive map.",
"params": {
"locationtype": {
"label": "LocationType",
"description": "Name'Episode', of the room'Room' or episode to display.'Entity'",
"type": "string",
"required": true,
"example": "Sea RoadRoom"
},
}
"target": {
"label": "Target",
"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",
"required": true,
"example": "'Sea Road', 'Sea Road;Little Square', 'All'"
},
"height": {
"label": "Height",
"description": "Height of the map, if not the default of 300px.",
"type": "string",
"required": false,
"example": "500px"
},
"width": {
"label": "Width",
"description": "Width of the map, if not the default of 300px.",
"type": "string",
"required": false,
"example": "500px"
}
}
}