Editing Template:Map/doc
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
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 9: | Line 5: | ||
"description": "Displays an interactive map.", |
"description": "Displays an interactive map.", |
||
"params": { |
"params": { |
||
" |
"location": { |
||
"label": " |
"label": "Location", |
||
"description": " |
"description": "Name of the room or episode to display.", |
||
"type": "string", |
"type": "string", |
||
"required": true, |
"required": true, |
||
"example": " |
"example": "Sea Road" |
||
⚫ | |||
}, |
|||
"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" |
|||
} |
|||
} |
} |
||
} |
} |