Template
Interface template⮥
Infobox Build
From Dogcraft Wiki
No edit summary |
No edit summary |
||
(19 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>{{Infobox | |||
|name = | |name = | ||
| | |above = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}} | ||
|subheader = {{WorldPills|{{{world|}}}|{{{subworld|{{{sur4subworld|}}}}}}}} | |||
| | |image = {{#if:{{{image2|}}}|{{#tag:gallery | ||
|image = {{#if:{{{image|}}}| | |{{#if: {{{image|}}}|{{{image|}}}{{!}}{{{caption|}}}|}} | ||
| | {{{image2|}}}{{!}}{{{caption2|}}} | ||
| | {{#if: {{{image3|}}}|{{{image3|}}}{{!}}{{{caption3|}}}|}} | ||
{{#if: {{{image4|}}}|{{{image4|}}}{{!}}{{{caption4|}}}|}}|mode="slideshow"|widths="308px"}}|{{#if:{{{image|}}}|[[File:{{{image|}}}|306px|thumb]]|}}}} | |||
|caption = {{#if:{{{image2|}}}||{{{caption|}}}}} | |||
| | |header1 = Build | ||
| | |label2 = World | ||
| | |data2 = {{WorldSwitch|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}} | ||
| | |label3 = Type | ||
|data3 = {{{type|}}} | |||
|label3 | |label4 = Builder(s) | ||
|data3 | |data4 = {{{builders|}}} | ||
|label4 | |label5 = Contributors | ||
|data4 | |data5 = {{{contributors|}}} | ||
|label5 | |label6 = Completed | ||
|data5 | |data6 = {{{completed|}}} | ||
|label6 | |label7 = Location | ||
|data6 | |data7 = {{#if:{{{xcoord|}}}|X= {{{xcoord|}}}{{#if:{{{ycoord|}}}|<br /> Y= {{{ycoord|}}}}}<br /> Z= {{{zcoord|}}}|}} | ||
|label7 | |label8 = {{#ifeq:{{{dimension|Overworld}}}|Overworld||Dimension}} | ||
|data7 | |data8 = {{#ifeq:{{{dimension|Overworld}}}|Overworld||{{{dimension}}}}} | ||
|label8 | |label9 = Transport | ||
|data8 | |data9 = {{{railway|}}}{{#if:{{{nether|}}}|<br />{{{nether|}}}}}{{#if:{{{overworld transport|}}}|<br />{{{overworld transport|}}}}} | ||
| | |label10 = Teleport | ||
}} | |data10 = {{{teleport|}}} | ||
|world = {{{world|Survival 6}}} | |||
[[Category: | |subworld = {{{subworld|{{{sur4subworld|sheltie}}}}}} | ||
</includeonly> | |xcoord = {{{xcoord|0}}} | ||
<noinclude> | |zcoord = {{{zcoord|0}}} | ||
}}[[Category:Builds]]{{#if:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}|[[Category:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}]]|}}</includeonly><noinclude> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 57: | Line 57: | ||
"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 4)" | |||
}, | |||
"builders": {}, | "builders": {}, | ||
"contributors": {}, | "contributors": {}, | ||
Line 69: | Line 71: | ||
"ycoord": {}, | "ycoord": {}, | ||
"zcoord": {}, | "zcoord": {}, | ||
"dimension": {} | "dimension": {}, | ||
"subworld": { | |||
"description": "Which sub-world is this build on (Husky, Beagle, Akita, Labrador, etc..)" | |||
} | |||
}, | }, | ||
"description": "An infobox with important information about a player's build!" | "description": "An infobox with important information about a player's build!", | ||
"paramOrder": [ | |||
"title", | |||
"image", | |||
"caption", | |||
"world", | |||
"subworld", | |||
"builders", | |||
"contributors", | |||
"status", | |||
"completed", | |||
"xcoord", | |||
"ycoord", | |||
"zcoord", | |||
"dimension" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
Latest revision as of 15:58, 13 February 2024
{{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 4) | 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 |