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).

Template parameters

ParameterDescriptionTypeStatus
worldworld

The world the build/place is on

Default
Survival 6
Example
Survival 6
Stringoptional
subworldsubworld

The subworld the build/place is on

Default
sheltie
Example
sheltie
Stringoptional
xcoordxcoord

The X coordinate of the build/place

Default
0
Numberoptional
zcoordzcoord

The Z coordinate of the build/place

Default
0
Numberoptional
collapsedcollapsed

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

Booleanoptional
This page was last modified on 12 February 2024, at 16:16. (48 days ago)