Template
Interface template⮥
Infobox Build
From Dogcraft Wiki
m (adding type param) |
(added map scale parameter) |
||
| (6 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{Interface template}}[[Category:Infoboxes]] | ||
<pre> | <pre> | ||
{{Infobox Build | {{Infobox Build | ||
| Line 6: | Line 6: | ||
|caption = | |caption = | ||
|world = | |world = | ||
| | |subworld = | ||
|builders = | |builders = | ||
|contributors = | |contributors = | ||
| Line 17: | Line 17: | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude><includeonly>{{Infobox Locatable | ||
<includeonly>{{ | |||
|name = | |name = | ||
|above = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}} | |above = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}} | ||
|subheader = {{WorldPills|{{{world|}}}|{{{sur4subworld|}}}}} | |subheader = {{WorldPills|{{{world|}}}|{{{subworld|{{{sur4subworld|}}}}}}}} | ||
|image = {{#if:{{{image2|}}}|{{#tag:gallery | |image = {{#if:{{{image2|}}}|{{#tag:gallery | ||
|{{#if: {{{image|}}}|{{{image|}}}{{!}}{{{caption|}}}|}} | |{{#if: {{{image|}}}|{{{image|}}}{{!}}{{{caption|}}}|}} | ||
| Line 30: | Line 29: | ||
|header1 = Build | |header1 = Build | ||
|label2 = World | |label2 = World | ||
|data2 = {{WorldSwitch|{{{world}}}|{{{sur4subworld|}}}}} | |data2 = {{WorldSwitch|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}} | ||
|label3 = Type | |label3 = Type | ||
|data3 = {{{type|}}} | |data3 = {{{type|}}} | ||
| Line 47: | Line 46: | ||
|label10 = Teleport | |label10 = Teleport | ||
|data10 = {{{teleport|}}} | |data10 = {{{teleport|}}} | ||
}}[[Category:Builds]]{{#if:{{WorldSwitch/World|{{{world}}}|{{{sur4subworld}}}}}|[[Category:{{WorldSwitch/World|{{{world}}}|{{{sur4subworld}}}}}]]|}} | |world = {{{world|Survival 6}}} | ||
</includeonly> | |subworld = {{{subworld|{{{sur4subworld|sheltie}}}}}} | ||
<noinclude> | |xcoord = {{{xcoord|0}}} | ||
|zcoord = {{{zcoord|0}}} | |||
|mapScale = {{{mapScale|}}} | |||
}}[[Category:Builds]]{{#if:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}|[[Category:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}]]|}}</includeonly><noinclude> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 56: | Line 58: | ||
"image": { | "image": { | ||
"label": "image", | "label": "image", | ||
"example": " | "example": "Placeholder Image.png", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"caption": {}, | "caption": {}, | ||
"world": { | "world": { | ||
"description": "The server world the build is on (current world is Survival | "description": "The server world the build is on (current world is Survival 6)" | ||
}, | }, | ||
"builders": {}, | "builders": {}, | ||
| Line 71: | Line 73: | ||
"zcoord": {}, | "zcoord": {}, | ||
"dimension": {}, | "dimension": {}, | ||
" | "subworld": { | ||
"description": " | "description": "Which sub-world is this build on (Husky, Beagle, Akita, Labrador, etc..)" | ||
} | }, | ||
"mapScale": { | |||
"description": "The scale of the map" | |||
} | |||
}, | }, | ||
"description": "An infobox with important information about a player's build!", | "description": "An infobox with important information about a player's build!", | ||
| Line 81: | Line 86: | ||
"caption", | "caption", | ||
"world", | "world", | ||
" | "subworld", | ||
"builders", | "builders", | ||
"contributors", | "contributors", | ||
| Line 89: | Line 94: | ||
"ycoord", | "ycoord", | ||
"zcoord", | "zcoord", | ||
"dimension" | "dimension", | ||
"mapScale" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
Latest revision as of 14:44, 16 February 2025
{{Infobox Build
|title =
|image =
|caption =
|world =
|subworld =
|builders =
|contributors =
|status =
|completed =
|xcoord =
|ycoord =
|zcoord =
|dimension =
}}
An infobox with important information about a player's build!
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| title | title | no description | Unknown | optional |
| image | image | no description
| String | optional |
| caption | caption | no description | Unknown | optional |
| world | world | The server world the build is on (current world is Survival 6) | Unknown | optional |
| subworld | subworld | Which sub-world is this build on (Husky, Beagle, Akita, Labrador, etc..) | Unknown | optional |
| builders | builders | no description | Unknown | optional |
| contributors | contributors | no description | Unknown | optional |
| status | status | no description | Unknown | optional |
| completed | completed | no description | Unknown | optional |
| xcoord | xcoord | no description | Unknown | optional |
| ycoord | ycoord | no description | Unknown | optional |
| zcoord | zcoord | no description | Unknown | optional |
| dimension | dimension | no description | Unknown | optional |
| mapScale | mapScale | The scale of the map | Unknown | optional |