Template

Collapsible Map

From Dogcraft Wiki

No edit summary
No edit summary
Tag: Reverted
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|Location}}}</div>
  <div id="collapsible-container-header" style="text-align: center;"><i class="fa-solid fa-chevron-down" style="color: inherit; display: none;"></i><i class="fa-solid fa-chevron-up" style="color: inherit;"></i> {{{name|Location}}}</div>
  <div class="mw-collapsible-content">
  <div class="mw-collapsible-content">
   <div id="outer-map-container">
   <div id="outer-map-container">

Revision as of 22:24, 9 February 2024


East Station

X:1434, Z:-294 on Sheltie


Map Location, shows a part of the map with the given location marked on it

Template parameters

ParameterDescriptionTypeStatus
namename

Name of the location. Used only in the heading

Default
Location
Stringoptional
worldworld

The world the location is on. This needs to match the world name used on the dynmap!

Default
sheltie
Stringoptional
xCoordxCoord

The x coordinate of the location

Default
0
Numberoptional
zCoordzCoord

The z coordinate of the location

Default
0
Numberoptional
collapsedcollapsed

If true, the map is collapsed by default, otherwise it is expanded by default

Default
false
Booleanoptional
showCoordsshowCoords

If true, will display the coordinates and world below the map

Default
false
Booleanoptional
This page was last modified on 9 February 2024, at 22:24. (41 days ago)
Background Dragon Slayer - Retriever by Ironboundred