Template
Infobox Locatable
From Dogcraft Wiki
m (Decreasing expansion depth (double ifeq to switch) |
m (Removed interface template) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 13: | Line 13: | ||
}} | }} | ||
| collapsed = {{{collapsed|}}} | | collapsed = {{{collapsed|}}} | ||
| scale = {{{mapScale|}}} | |||
}} | }} | ||
}} | }} | ||
}}{{#ifeq: {{NAMESPACE}} | {{ns:Template}} | {{#ifeq: {{#sub:{{ROOTPAGENAME}}|0|7}} | Infobox | [[Category:Infoboxes]] |}} |}}<noinclude> | }}{{#ifeq: {{NAMESPACE}} | {{ns:Template}} | {{#ifeq: {{#sub:{{ROOTPAGENAME}}|0|7}} | Infobox | [[Category:Infoboxes]] |}} |}}<noinclude> | ||
Infobox template using [[Module:Infobox]] (imported from [[wikipedia:Module:Infobox|Wikipedia]]). | Infobox template using [[Module:Infobox]] (imported from [[wikipedia:Module:Infobox|Wikipedia]]). | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 45: | Line 46: | ||
"description": "If true, the map is collapsed by default, otherwise it is expanded by default", | "description": "If true, the map is collapsed by default, otherwise it is expanded by default", | ||
"type": "boolean" | "type": "boolean" | ||
}, | |||
"mapScale": { | |||
"description": "The scale of the map (0 = 500x500, 1 = 1500x1500, 2 = 2500x2500, etc)", | |||
"type": "number", | |||
"default": "0" | |||
} | } | ||
}, | }, | ||
| Line 52: | Line 58: | ||
"xcoord", | "xcoord", | ||
"zcoord", | "zcoord", | ||
"collapsed" | "collapsed", | ||
"mapScale" | |||
], | ], | ||
"description": " " | "description": " " | ||
Latest revision as of 01:26, 4 February 2026
Infobox template using Module:Infobox (imported from Wikipedia).
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| world | world | The world the build/place is on
| String | optional |
| subworld | subworld | The subworld the build/place is on
| String | optional |
| xcoord | xcoord | The X coordinate of the build/place
| Number | optional |
| zcoord | zcoord | The Z coordinate of the build/place
| Number | optional |
| collapsed | collapsed | If true, the map is collapsed by default, otherwise it is expanded by default | Boolean | optional |
| mapScale | mapScale | The scale of the map (0 = 500x500, 1 = 1500x1500, 2 = 2500x2500, etc)
| Number | optional |