Template
Interface template

Infobox Locatable

From Dogcraft Wiki

No edit summary
m (World inputs? (hopefully))
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}}} }}|collapsed={{{collapsed|}}} }} }} }} }}
{{#invoke:Infobox|infoboxInvokeTemplate|data30 = {{#ifeq:{{WorldSwitch/World|{{{world|}}}|{{{subworld|{{{sur4subworld|}}}}}}}}|Survival 1| |{{#ifeq:{{WorldSwitch/World|{{{world|}}}|{{{subworld|{{{sur4subworld|}}}}}}}}|Survival 2| |{{Collapsible Map|xCoord={{{xcoord|0}}}|zCoord={{{zcoord|0}}}|world={{#ifeq:{{{world|}}}|Survival 3|sur3|{{#if: {{WorldSwitch/Subworld|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}} | {{WorldSwitch/Subworld|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}} | 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>

Revision as of 18:50, 13 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 13 February 2024, at 18:50. (7 months ago)
Background Takeshi by Edo