Template:Map/doc: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Documentation}} |
|||
This template displays an interactive map. |
This template displays an interactive map. |
||
See the [[Brighter Shores:Map Project]] for more details! |
|||
<templatedata> |
<templatedata> |
||
Line 14: | Line 18: | ||
"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": { |
||
"label": "Height", |
"label": "Height", |
||
"description": "Height of the map, if not default.", |
"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", |
"type": "string", |
||
"required": false, |
"required": false, |
||
"example": " |
"example": "500px" |
||
} |
} |
||
} |
} |
Latest revision as of 15:04, 14 December 2024
This template displays an interactive map.
See the Brighter Shores:Map Project for more details!
Displays an interactive map.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Type | type | 'Episode', 'Room' or 'Entity'
| String | required |
Target | target | 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'
| String | required |
Height | height | Height of the map, if not the default of 300px.
| String | optional |
Width | width | Width of the map, if not the default of 300px.
| String | optional |