Template

Collapsible Map

From Dogcraft Wiki

No edit summary
No edit summary
Line 26: Line 26:
</includeonly>
</includeonly>
<noinclude>
<noinclude>
<div style="width: 50%;">
{{Collapsible Map
{{Collapsible Map
|name    = East Station
|name    = East Station
Line 32: Line 33:
|zCoord  = -294
|zCoord  = -294
}}
}}
 
</div>
<templatedata>
{
"params": {
        "name": {
            "type": "string",
            "default": "Location"
        },
"world": {
"default": "sheltie",
            "type": "string"
},
        "xCoord": {
            "type": "number",
            "default": "0",
            "description": "The x coordinate of the location"
        },
        "zCoord": {
            "type": "number",
            "default": "0",
            "description": "The z coordinate of the location"
        },
        "collapsed": {
            "type": "boolean",
            "default": "true",
            "description": "If true, the map is collapsed by default, otherwise it is expanded by default"
        }
    },
"description": "Map Location, shows a part of the map with the given location marked on it",
"paramOrder": [
        "name",
"world",
        "xCoord",
        "zCoord",
        "collapsed"
]
}
</templatedata>
</noinclude>
</noinclude>

Revision as of 15:54, 9 February 2024


East Station on Sheltie

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

no description

Default
Location
Stringoptional
worldworld

no description

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
true
Booleanoptional
This page was last modified on 9 February 2024, at 15:54. (42 days ago)