Template
Interface template⮥
Infobox Base
From Dogcraft Wiki
No edit summary |
No edit summary |
||
(16 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 = | |||
|founded = | |founded = | ||
|xcoord = | |xcoord = | ||
Line 18: | 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 | ||
| | |data6 = {{{founded|}}} | ||
| | |label7 = Location | ||
| | |data7 = {{#if:{{{xcoord|}}}|X= {{{xcoord|}}}{{#if:{{{ycoord|}}}|<br /> Y= {{{ycoord|}}}}}<br /> Z= {{{zcoord|}}}|}} | ||
| | |label8 = {{#ifeq:{{{dimension|Overworld}}}|Overworld||Dimension}} | ||
| | |data8 = {{#ifeq:{{{dimension|Overworld}}}|Overworld||{{{dimension}}}}} | ||
| | |label9 = Transport | ||
| | |data9 = {{#if:{{{railway|}}}|{{{railway|}}}<br />}}{{#if:{{{nether|}}}|{{{nether|}}}<br />}}{{#if:{{{overworld transport|}}}|{{{overworld transport|}}}}} | ||
| | |label10 = Teleport | ||
|label10 | |data10 = {{{teleport|}}} | ||
|data10 | |world = {{{world|Survival 6}}} | ||
| | |subworld = {{{subworld|{{{sur4subworld|sheltie}}}}}} | ||
|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 77: | Line 73: | ||
"world": { | "world": { | ||
"label": "World", | "label": "World", | ||
"description": "The server world your base is on", | "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 123: | Line 119: | ||
"label": "Transport (Railway)", | "label": "Transport (Railway)", | ||
"description": "Transport links through the overworld on rail to your base (e.g SRN)", | "description": "Transport links through the overworld on rail to your base (e.g SRN)", | ||
"type": "string" | |||
}, | |||
"subworld": { | |||
"label": "Sub World", | |||
"description": "What subworld is it on \"Sheltie\" or \"Retriever\"?", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"contributors": { | |||
"label": "Contributors", | |||
"description": "People who helped with your base", | |||
"type": "string" | "type": "string" | ||
} | } | ||
}, | }, | ||
"description": "An infobox with some details about a player's base." | "description": "An infobox with some details about a player's base.", | ||
"paramOrder": [ | |||
"title", | |||
"image", | |||
"caption", | |||
"world", | |||
"subworld", | |||
"builders", | |||
"contributors", | |||
"founded", | |||
"xcoord", | |||
"ycoord", | |||
"zcoord", | |||
"dimension", | |||
"status", | |||
"nether", | |||
"railway" | |||
] | |||
} | } | ||
</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 |