Template
Interface template

Infobox Base

From Dogcraft Wiki

(Infobox 2.0 rollout)
No edit summary
 
(6 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        =  
|sur4subworld =  
|subworld  =  
|builders    =  
|builders    =  
|contributors =
|contributors =
Line 19: Line 19:
}}
}}
</pre>
</pre>
</noinclude>
</noinclude><includeonly>{{Infobox Locatable
<includeonly>{{Infobox2
|name        =  
|name        =  
|above        = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}}
|above        = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}}
|subheader    = {{WorldPills|{{{world|}}}|{{{sur4subworld|}}}}}
|subheader    = {{WorldPills|{{{world|}}}|{{{subworld|{{{sur4subworld|}}}}}}}}
|image        = {{#if:{{{image2|}}}|{{#tag:gallery
|image        = {{#if:{{{image2|}}}|{{#tag:gallery
|{{#if: {{{image|}}}|{{{image|}}}{{!}}{{{caption|}}}|}}
|{{#if: {{{image|}}}|{{{image|}}}{{!}}{{{caption|}}}|}}
Line 32: Line 31:
|header1      = Base
|header1      = Base
|label2      = World
|label2      = World
|data2        = {{WorldSwitch|{{{world}}}|{{{sur4subworld|}}}}}
|data2        = {{WorldSwitch|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}
|label3      = Builder(s)
|label3      = Builder(s)
|data3        = {{{builders|}}}
|data3        = {{{builders|}}}
Line 44: Line 43:
|data8        = {{#ifeq:{{{dimension|Overworld}}}|Overworld||{{{dimension}}}}}
|data8        = {{#ifeq:{{{dimension|Overworld}}}|Overworld||{{{dimension}}}}}
|label9      = Transport
|label9      = Transport
|data9        = {{{railway|}}}{{#if:{{{nether|}}}|<br />{{{nether|}}}}}{{#if:{{{overworld transport|}}}|<br />{{{overworld transport|}}}}}
|data9        = {{#if:{{{railway|}}}|{{{railway|}}}<br />}}{{#if:{{{nether|}}}|{{{nether|}}}<br />}}{{#if:{{{overworld transport|}}}|{{{overworld transport|}}}}}
|label10      = Teleport
|label10      = Teleport
|data10      = {{{teleport|}}}
|data10      = {{{teleport|}}}
}}[[Category:Builds]][[Category:Bases]]{{#if:{{WorldSwitch/World|{{{world}}}|{{{sur4subworld}}}}}|[[Category:{{WorldSwitch/World|{{{world}}}|{{{sur4subworld}}}}}]]|}}</includeonly><noinclude>
|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>
<templatedata>
<templatedata>
{
{
Line 72: 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 4]]"
"default": "[[Survival 6]]"
},
},
"builders": {
"builders": {
Line 118: Line 121:
"type": "string"
"type": "string"
},
},
"sur4subworld": {
"subworld": {
"label": "Survival 4 Sub World",
"label": "Sub World",
"description": "If the base is on Survival 4, is it on \"Husky\" or \"Beagle\"?",
"description": "What subworld is it on \"Sheltie\" or \"Retriever\"?",
"type": "string",
"type": "string",
"suggested": true
"suggested": true
Line 136: Line 139:
"caption",
"caption",
"world",
"world",
"sur4subworld",
"subworld",
"builders",
"builders",
"contributors",
"contributors",
Line 150: Line 153:
}
}
</templatedata>
</templatedata>
</noinclude>

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.

Template parameters

ParameterDescriptionTypeStatus
Nametitle

The name of your base

Default
{{ROOTPAGENAME}}
Stringoptional
Imageimage

A picture of your base!

Example
My cool base.png
Stringoptional
Captioncaption

A caption for your image

Stringoptional
Worldworld

The server world your base is on (current world is Survival 4)

Default
[[Survival 6]]
Stringoptional
Sub Worldsubworld

What subworld is it on "Sheltie" or "Retriever"?

Stringsuggested
Buildersbuilders

The builder(s) of your base

Stringoptional
Contributorscontributors

People who helped with your base

Stringoptional
Foundedfounded

When the base was founded.

Stringoptional
X-coordinatexcoord

no description

Numberoptional
Y-coordinateycoord

no description

Numberoptional
Z-coordinatezcoord

no description

Numberoptional
Dimensiondimension

The dimension your base is in.

Default
Overworld
Stringoptional
Statusstatus

The current activity status of your base

Default
{{Active}}
Stringoptional
Transport (Nether)nether

Transport links through the nether to your base (e.g NTN)

Stringoptional
Transport (Railway)railway

Transport links through the overworld on rail to your base (e.g SRN)

Stringoptional