Template
Interface template⮥
Infobox Base
From Dogcraft Wiki
No edit summary |
No edit summary |
||
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{Interface template}}[[Category:Infoboxes]] | ||
<pre> | <pre> | ||
{{Infobox base | {{Infobox base | ||
Line 6: | Line 6: | ||
|caption = | |caption = | ||
|world = | |world = | ||
| | |subworld = | ||
|builders = | |builders = | ||
|contributors = | |contributors = | ||
Line 19: | Line 19: | ||
}} | }} | ||
</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 = Base | ||
| | |label2 = World | ||
|data2 = {{WorldSwitch|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}} | |||
| | |label3 = Builder(s) | ||
|data3 = {{{builders|}}} | |||
| | |label5 = Contributor(s) | ||
| | |data5 = {{{contributors|}}} | ||
|label5 | |label6 = Founded | ||
|data5 | |data6 = {{{founded|}}} | ||
|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 = {{#if:{{{railway|}}}|{{{railway|}}}<br />}}{{#if:{{{nether|}}}|{{{nether|}}}<br />}}{{#if:{{{overworld transport|}}}|{{{overworld transport|}}}}} | ||
|label9 | |label10 = Teleport | ||
|data9 | |data10 = {{{teleport|}}} | ||
| | |world = {{{world|Survival 6}}} | ||
|label10 | |subworld = {{{subworld|{{{sur4subworld|sheltie}}}}}} | ||
|data10 | |xcoord = {{{xcoord|0}}} | ||
| | |zcoord = {{{zcoord|0}}} | ||
}}[[Category:Builds]][[Category:Bases]]{{#if:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}|[[Category:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}]]|}}</includeonly><noinclude> | |||
| | |||
</includeonly> | |||
<noinclude> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 82: | Line 75: | ||
"description": "The server world your base is on (current world is Survival 4)", | "description": "The server world your base is on (current world is Survival 4)", | ||
"type": "string", | "type": "string", | ||
"default": "[[Survival | "default": "[[Survival 6]]" | ||
}, | }, | ||
"builders": { | "builders": { | ||
Line 128: | Line 121: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
" | "subworld": { | ||
"label": " | "label": "Sub World", | ||
"description": " | "description": "What subworld is it on \"Sheltie\" or \"Retriever\"?", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | |||
"contributors": { | |||
"label": "Contributors", | |||
"description": "People who helped with your base", | |||
"type": "string" | |||
} | } | ||
}, | }, | ||
Line 141: | Line 139: | ||
"caption", | "caption", | ||
"world", | "world", | ||
" | "subworld", | ||
"builders", | "builders", | ||
"contributors", | |||
"founded", | "founded", | ||
"xcoord", | "xcoord", | ||
Line 154: | Line 153: | ||
} | } | ||
</templatedata> | </templatedata> | ||
Latest revision as of 15:58, 13 February 2024
{{Infobox base |title = |image = |caption = |world = |subworld = |builders = |contributors = |founded = |xcoord = |ycoord = |zcoord = |dimension = |status = |railway = |nether = }}
An infobox with some details about a player's base.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | title | The name of your base
| String | optional |
Image | image | A picture of your base!
| String | optional |
Caption | caption | A caption for your image | String | optional |
World | world | The server world your base is on (current world is Survival 4)
| String | optional |
Sub World | subworld | What subworld is it on "Sheltie" or "Retriever"? | String | suggested |
Builders | builders | The builder(s) of your base | String | optional |
Contributors | contributors | People who helped with your base | String | optional |
Founded | founded | When the base was founded. | String | optional |
X-coordinate | xcoord | no description | Number | optional |
Y-coordinate | ycoord | no description | Number | optional |
Z-coordinate | zcoord | no description | Number | optional |
Dimension | dimension | The dimension your base is in.
| String | optional |
Status | status | The current activity status of your base
| String | optional |
Transport (Nether) | nether | Transport links through the nether to your base (e.g NTN) | String | optional |
Transport (Railway) | railway | Transport links through the overworld on rail to your base (e.g SRN) | String | optional |