Template
Interface template⮥
Infobox Base
From Dogcraft Wiki
imported>William No edit summary |
No edit summary |
||
(21 intermediate revisions by 5 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 17: | 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|}}}}}}}} | ||
|label2 | |label3 = Builder(s) | ||
|data2 | |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> | |||
[[Category:Bases]] | <templatedata> | ||
</ | { | ||
"params": { | |||
"title": { | |||
"label": "Name", | |||
"description": "The name of your base", | |||
"type": "string", | |||
"default": "{{ROOTPAGENAME}}" | |||
}, | |||
"image": { | |||
"label": "Image", | |||
"description": "A picture of your base!", | |||
"example": "My cool base.png", | |||
"type": "string" | |||
}, | |||
"caption": { | |||
"label": "Caption", | |||
"description": "A caption for your image", | |||
"type": "string" | |||
}, | |||
"world": { | |||
"label": "World", | |||
"description": "The server world your base is on (current world is Survival 4)", | |||
"type": "string", | |||
"default": "[[Survival 6]]" | |||
}, | |||
"builders": { | |||
"label": "Builders", | |||
"description": "The builder(s) of your base", | |||
"type": "string" | |||
}, | |||
"founded": { | |||
"label": "Founded", | |||
"description": "When the base was founded.", | |||
"type": "string" | |||
}, | |||
"xcoord": { | |||
"label": "X-coordinate", | |||
"type": "number" | |||
}, | |||
"ycoord": { | |||
"label": "Y-coordinate", | |||
"type": "number" | |||
}, | |||
"zcoord": { | |||
"label": "Z-coordinate", | |||
"type": "number" | |||
}, | |||
"dimension": { | |||
"label": "Dimension", | |||
"description": "The dimension your base is in.", | |||
"type": "string", | |||
"default": "Overworld" | |||
}, | |||
"status": { | |||
"label": "Status", | |||
"description": "The current activity status of your base", | |||
"type": "string", | |||
"default": "{{Active}}" | |||
}, | |||
"nether": { | |||
"label": "Transport (Nether)", | |||
"description": "Transport links through the nether to your base (e.g NTN)", | |||
"type": "string" | |||
}, | |||
"railway": { | |||
"label": "Transport (Railway)", | |||
"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" | |||
} | |||
}, | |||
"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> |
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 |