Template
Collapsible Map
From Dogcraft Wiki
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
<div id="collapsible-container" class="toccolours mw-collapsible {{#ifeq:{{{collapsed|}}}|true|mw-collapsed}}"> | <div id="collapsible-container" class="toccolours mw-collapsible {{#ifeq:{{{collapsed|}}}|true|mw-collapsed}}"> | ||
<div id="collapsible-container-header" style="text-align: center;"><i class="fa-solid fa-chevron-down" style="color: inherit;"></i><i class="fa-solid fa-chevron-up" style="color: inherit;"></i> {{{name| | <div id="collapsible-container-header" style="text-align: center;"><i class="fa-solid fa-chevron-down" style="color: inherit;"></i><i class="fa-solid fa-chevron-up" style="color: inherit;"></i> {{{name|Map}}}</div> | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
<div id="outer-map-container"> | <div id="outer-map-container"> | ||
Line 39: | Line 39: | ||
"name": { | "name": { | ||
"type": "string", | "type": "string", | ||
"default": " | "default": "Map", | ||
"description": "Name of the location. Used only in the heading" | "description": "Name of the location. Used only in the heading" | ||
}, | }, |
Revision as of 23:48, 9 February 2024
East Station
Map Location, shows a part of the map with the given location marked on it
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | Name of the location. Used only in the heading
| String | optional |
world | world | The world the location is on. This needs to match the world name used on the dynmap!
| String | optional |
xCoord | xCoord | The x coordinate of the location
| Number | optional |
zCoord | zCoord | The z coordinate of the location
| Number | optional |
collapsed | collapsed | If true, the map is collapsed by default, otherwise it is expanded by default
| Boolean | optional |
showCoords | showCoords | If true, will display the coordinates and world below the map
| Boolean | optional |
This page was last modified on 9 February 2024, at 23:48. (23 days ago)