Template
Interface template⮥
Infobox Locatable
From Dogcraft Wiki
m (World inputs? (hopefully)) |
(fixed a problem with sur3 infoboxes) |
||
Line 1: | Line 1: | ||
{{#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={{# | {{#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={{#switch:{{{world|}}}|Survival 3=sur3|[[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> |
Latest revision as of 21:40, 29 March 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 |