Template
Infobox Base
From Dogcraft Wiki
No edit summary |
(Infobox 2.0 rollout) |
||
Line 20: | Line 20: | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> | ||
<includeonly>{{ | <includeonly>{{Infobox2 | ||
|name = | |name = | ||
| | |above = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}} | ||
|subheader = {{WorldPills|{{{world|}}}|{{{sur4subworld|}}}}} | |||
| | |image = {{#if:{{{image2|}}}|{{#tag:gallery | ||
|image = {{#if:{{{ | |{{#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}}}|{{{sur4subworld|}}}}} | ||
|label2 | |label3 = Builder(s) | ||
|data2 | |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 | ||
|data9 = {{{railway|}}}{{#if:{{{nether|}}}|<br />{{{nether|}}}}}{{#if:{{{overworld transport|}}}|<br />{{{overworld transport|}}}}} | |||
| | |label10 = Teleport | ||
| | |data10 = {{{teleport|}}} | ||
| | }}[[Category:Builds]][[Category:Bases]]{{#if:{{WorldSwitch/World|{{{world}}}|{{{sur4subworld}}}}}|[[Category:{{WorldSwitch/World|{{{world}}}|{{{sur4subworld}}}}}]]|}}</includeonly><noinclude> | ||
| | |||
| | |||
| | |||
</includeonly> | |||
<noinclude> | |||
<templatedata> | <templatedata> | ||
{ | { |
Revision as of 01:21, 25 August 2022
{{Infobox base |title = |image = |caption = |world = |sur4subworld = |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 |
Survival 4 Sub World | sur4subworld | If the base is on Survival 4, is it on "Husky" or "Beagle"? | 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 |
This page was last modified on 25 August 2022, at 01:21. (9 months ago)