Template
Interface template⮥
Infobox Shelter
From Dogcraft Wiki
m (newline hunting) |
No edit summary |
||
(7 intermediate revisions by 3 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 = | ||
| | |network = | ||
| | |subworld = | ||
|builders | |builders = | ||
|contributors = | |contributors = | ||
| | |opened = | ||
|xcoord = | |||
|xcoord | |ycoord = | ||
|ycoord | |zcoord = | ||
|zcoord | |dimension = | ||
|dimension | |roads = | ||
|ntnconnection = | |||
}} | }} | ||
</pre> | </pre> | ||
</noinclude><includeonly>{{ | </noinclude><includeonly>{{Infobox Locatable | ||
|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 30: | Line 31: | ||
|header1 = Shelter | |header1 = Shelter | ||
|label2 = World | |label2 = World | ||
|data2 = {{WorldSwitch|{{{world}}}|{{{sur4subworld|}}}}} | |data2 = {{WorldSwitch|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}} | ||
|label3 = | |label3 = Network | ||
|data3 = {{{ | |data3 = {{{network|}}} | ||
|label4 = Builder(s) | |label4 = Builder(s) | ||
|data4 = {{{builders|}}} | |data4 = {{{builders|}}} | ||
|label5 = Contributors | |label5 = Contributors | ||
|data5 = {{{contributors|}}} | |data5 = {{{contributors|}}} | ||
|label6 = | |label6 = Opened | ||
|data6 = {{{ | |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 45: | 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|}}}}} | ||
}}[[Category:Shelters]][[Category:Builds]]{{#if:{{WorldSwitch/World|{{{world}}}|{{{sur4subworld}}}}}|[[Category:{{WorldSwitch/World|{{{world}}}|{{{sur4subworld}}}}}]]|}}</includeonly><noinclude> | |label10 = NTN Connection | ||
|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> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 59: | Line 68: | ||
"caption": {}, | "caption": {}, | ||
"world": { | "world": { | ||
"description": "The server world the shelter is on (current world is Survival | "description": "The server world the shelter is on (current world is Survival 5)", | ||
"default": "Survival 4" | "default": "Survival 4" | ||
}, | }, | ||
"builders": {}, | "builders": {}, | ||
"contributors": {}, | "contributors": {}, | ||
" | "opened": {}, | ||
"xcoord": {}, | "xcoord": {}, | ||
"ycoord": {}, | "ycoord": {}, | ||
"zcoord": {}, | "zcoord": {}, | ||
"dimension": {}, | "dimension": {}, | ||
" | "roads": { | ||
"description": " | "description": "The roads the shelter connects to" | ||
}, | |||
"subworld": { | |||
"description": "Which sub-world (i.e. Shepherd, Labrador, etc) is it on?" | |||
}, | }, | ||
" | "network": { | ||
"description": "The | "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 82: | Line 94: | ||
"image", | "image", | ||
"caption", | "caption", | ||
" | "network", | ||
"world", | "world", | ||
" | "subworld", | ||
"builders", | "builders", | ||
"contributors", | "contributors", | ||
" | "opened", | ||
"xcoord", | "xcoord", | ||
"ycoord", | "ycoord", | ||
"zcoord", | "zcoord", | ||
"dimension" | "dimension", | ||
"ntnconnection", | |||
"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!
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title | no description
| Unknown | optional |
image | image | no description
| String | optional |
caption | caption | no description | Unknown | optional |
network | network | The transport network this shelter is part of | Unknown | optional |
world | world | The server world the shelter is on (current world is Survival 5)
| Unknown | optional |
subworld | subworld | Which sub-world (i.e. Shepherd, Labrador, etc) is it on? | Unknown | optional |
builders | builders | no description | Unknown | optional |
contributors | contributors | no description | Unknown | optional |
opened | opened | no description | Unknown | optional |
xcoord | xcoord | no description | Unknown | optional |
ycoord | ycoord | no description | Unknown | optional |
zcoord | zcoord | no description | Unknown | optional |
dimension | dimension | no description | Unknown | optional |
ntnconnection | ntnconnection | no description | Unknown | optional |
roads | roads | The roads the shelter connects to | Unknown | optional |