Template:Map/doc: Difference between revisions
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 |
"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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Type | type | 'Episode', 'Room' or 'Entity'
| String | required |
Location | location | Name of the room, episode or object to display.
| String | required |
Height | height | Height of the map, if not default.
| String | optional |