Template
Interface template⮥
Infobox Locatable
From Dogcraft Wiki
(created) |
No edit summary |
||
Line 1: | Line 1: | ||
{{#invoke:Infobox|infoboxInvokeTemplate|data30 = {{#ifeq:{{{world|}}}|Survival 1| |{{#ifeq:{{{world|}}}|Survival 2| |{{Collapsible Map|xCoord={{{xcoord|0}}}|zCoord={{{zcoord|0}}}|world={{#ifeq:{{{world|}}}|Survival 3|sur3|{{{subworld|sheltie}}}}}}}}}}}}} | {{#invoke:Infobox|infoboxInvokeTemplate|data30 = {{#ifeq:{{{world|}}}|Survival 1| |{{#ifeq:{{{world|}}}|Survival 2| |{{Collapsible Map|xCoord={{{xcoord|0}}}|zCoord={{{zcoord|0}}}|world={{#ifeq:{{{world|}}}|Survival 3|sur3|{{{subworld|sheltie}}} }}|collapsed={{{collapsed|}}} }} }} }} }} | ||
{{#ifeq: {{NAMESPACE}} | {{ns:Template}} | {{#ifeq: {{#sub:{{ROOTPAGENAME}}|0|7}} | Infobox | [[Category:Infoboxes]] |}} |}} | {{#ifeq: {{NAMESPACE}} | {{ns:Template}} | {{#ifeq: {{#sub:{{ROOTPAGENAME}}|0|7}} | Infobox | [[Category:Infoboxes]] |}} |}} | ||
<noinclude> | <noinclude> | ||
Line 27: | Line 27: | ||
"type": "string", | "type": "string", | ||
"default": "sheltie" | "default": "sheltie" | ||
} | }, | ||
"collapsed": { | |||
"description": "If true, the map is collapsed by default, otherwise it is expanded by default", | |||
"type": "boolean" | |||
} | |||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
Line 33: | Line 37: | ||
"subworld", | "subworld", | ||
"xcoord", | "xcoord", | ||
"zcoord" | "zcoord", | ||
"collapsed" | |||
], | ], | ||
"description": " " | "description": " " |
Revision as of 16:16, 12 February 2024
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 |
This page was last modified on 12 February 2024, at 16:16. (7 months ago)