Template
Interface template

Infobox Shelter

From Dogcraft Wiki

(Added roads for consistency with new 'Infobox Transport' template)
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>{{Interface template}}[[Category:Infoboxes]]
This template is for pages about shelters, such as those on the Road and Horse network
This template is for pages about shelters, such as those on the Road and Horse network
<pre>
<pre>
{{Infobox Shelter
{{Infobox Shelter
|title       =  
|title         =  
|image       =  
|image         =  
|caption     =  
|caption       =  
|world       =  
|world         =  
|project      =
|network      =
|subworld     =  
|subworld     =  
|builders     =  
|builders     =  
|contributors =  
|contributors =  
|status      =
|opened        =  
|completed    =  
|xcoord       =  
|xcoord       =  
|ycoord       =  
|ycoord       =  
|zcoord       =  
|zcoord       =  
|dimension     =  
|dimension   =  
|roads         =
|roads       =
|ntnconnection =
}}
}}
</pre>
</pre>
</noinclude><includeonly>{{Infobox2
</noinclude><includeonly>{{Infobox Locatable
|above        = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}}
|above        = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}}
|subheader    = {{WorldPills|{{{world|}}}|{{{subworld|{{{sur4subworld|}}}}}}}}
|subheader    = {{WorldPills|{{{world|}}}|{{{subworld|{{{sur4subworld|}}}}}}}}
Line 32: Line 32:
|label2      = World
|label2      = World
|data2        = {{WorldSwitch|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}
|data2        = {{WorldSwitch|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}
|label3      = Project
|label3      = Network
|data3        = {{{project|}}}
|data3        = {{{network|}}}
|label4      = Builder(s)
|label4      = Builder(s)
|data4        = {{{builders|}}}
|data4        = {{{builders|}}}
|label5      = Contributors
|label5      = Contributors
|data5        = {{{contributors|}}}
|data5        = {{{contributors|}}}
|label6      = Completed
|label6      = Opened
|data6        = {{{completed|}}}
|data6        = {{{opened|}}}
|label7      = Location
|label7      = Location
|data7        = {{#if:{{{xcoord|}}}|X= {{{xcoord|}}}{{#if:{{{ycoord|}}}|<br /> Y= {{{ycoord|}}}}}<br /> Z= {{{zcoord|}}}|}}
|data7        = {{#if:{{{xcoord|}}}|X= {{{xcoord|}}}{{#if:{{{ycoord|}}}|<br /> Y= {{{ycoord|}}}}}<br /> Z= {{{zcoord|}}}|}}
Line 46: Line 46:
|label9      = Connection(s)
|label9      = Connection(s)
|data9        = {{{railway|}}}{{#if:{{{nether|}}}|<br />{{{nether|}}}}}{{#if:{{{overworld_transport|}}}|<br />{{{overworld_transport|}}}}}
|data9        = {{{railway|}}}{{#if:{{{nether|}}}|<br />{{{nether|}}}}}{{#if:{{{overworld_transport|}}}|<br />{{{overworld_transport|}}}}}
|label10      = Road(s)
|label10     = NTN Connection
|data10       = {{{roads}}}
|data10      = {{{ntnconnection|}}}
|label11     = Road(s)
|data11       = {{{roads|}}}
|world = {{{world|Survival 6}}}
|subworld = {{{subworld|{{{sur4subworld|sheltie}}}}}}
|xcoord = {{{xcoord|0}}}
|zcoord = {{{zcoord|0}}}
}}[[Category:Shelters]][[Category:Builds]]{{#if:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}|[[Category:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}]]|}}</includeonly><noinclude>
}}[[Category:Shelters]][[Category:Builds]]{{#if:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}|[[Category:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}]]|}}</includeonly><noinclude>
<templatedata>
<templatedata>
Line 67: Line 73:
"builders": {},
"builders": {},
"contributors": {},
"contributors": {},
"status": {},
"opened": {},
"completed": {},
"xcoord": {},
"xcoord": {},
"ycoord": {},
"ycoord": {},
Line 79: Line 84:
"description": "Which sub-world (i.e. Shepherd, Labrador, etc) is it on?"
"description": "Which sub-world (i.e. Shepherd, Labrador, etc) is it on?"
},
},
"project": {
"network": {
"description": "The wider project this shelter is part of"
"description": "The transport network this shelter is part of"
}
},
        "ntnconnection" : {}
},
},
"description": "An infobox with important information about an road-side shelter!",
"description": "An infobox with important information about an road-side shelter!",
Line 88: Line 94:
"image",
"image",
"caption",
"caption",
"project",
"network",
"world",
"world",
"subworld",
"subworld",
"builders",
"builders",
"contributors",
"contributors",
"status",
"opened",
"completed",
"xcoord",
"xcoord",
"ycoord",
"ycoord",
"zcoord",
"zcoord",
"dimension",
"dimension",
        "ntnconnection",
         "roads"
         "roads"
]
]
}
}
</templatedata>
</templatedata>

Latest revision as of 15:59, 13 February 2024

This template is for pages about shelters, such as those on the Road and Horse network

{{Infobox Shelter
|title         = 
|image         = 
|caption       = 
|world         = 
|network       =
|subworld      = 
|builders      = 
|contributors  = 
|opened        = 
|xcoord        = 
|ycoord        = 
|zcoord        = 
|dimension     = 
|roads         =
|ntnconnection =
}}

An infobox with important information about an road-side shelter!

Template parameters

ParameterDescriptionTypeStatus
titletitle

no description

Default
{{ROOTPAGENAME}}
Unknownoptional
imageimage

no description

Example
Dogcraft Red Cog Logo.png
Stringoptional
captioncaption

no description

Unknownoptional
networknetwork

The transport network this shelter is part of

Unknownoptional
worldworld

The server world the shelter is on (current world is Survival 5)

Default
Survival 4
Unknownoptional
subworldsubworld

Which sub-world (i.e. Shepherd, Labrador, etc) is it on?

Unknownoptional
buildersbuilders

no description

Unknownoptional
contributorscontributors

no description

Unknownoptional
openedopened

no description

Unknownoptional
xcoordxcoord

no description

Unknownoptional
ycoordycoord

no description

Unknownoptional
zcoordzcoord

no description

Unknownoptional
dimensiondimension

no description

Unknownoptional
ntnconnectionntnconnection

no description

Unknownoptional
roadsroads

The roads the shelter connects to

Unknownoptional
Background Valentine's Day Event 2024 by TheWhiteTigerNL