Template
Interface template⮥
Infobox Shelter
From Dogcraft Wiki
No edit summary |
No edit summary |
||
(11 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> | </noinclude><includeonly>{{Infobox Locatable | ||
<includeonly>{{Infobox | |above = {{#if:{{{title|}}}|{{{title|}}}|{{PAGENAME}}}} | ||
| | |subheader = {{WorldPills|{{{world|}}}|{{{subworld|{{{sur4subworld|}}}}}}}} | ||
|image = {{#if:{{{image2|}}}|{{#tag:gallery | |||
|{{#if: {{{image|}}}|{{{image|}}}{{!}}{{{caption|}}}|}} | |||
| | {{{image2|}}}{{!}}{{{caption2|}}} | ||
|image = {{#if:{{{ | {{#if: {{{image3|}}}|{{{image3|}}}{{!}}{{{caption3|}}}|}} | ||
| | {{#if: {{{image4|}}}|{{{image4|}}}{{!}}{{{caption4|}}}|}}|mode="slideshow"|widths="308px"}}|{{#if:{{{image|}}}|[[File:{{{image|}}}|306px|thumb]]|}}}} | ||
| | |caption = {{#if:{{{image2|}}}||{{{caption|}}}}} | ||
| | |header1 = Shelter | ||
| | |label2 = World | ||
| | |data2 = {{WorldSwitch|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}} | ||
| | |label3 = Network | ||
| | |data3 = {{{network|}}} | ||
|label2 | |label4 = Builder(s) | ||
|data2 | |data4 = {{{builders|}}} | ||
|label3 | |label5 = Contributors | ||
|data3 | |data5 = {{{contributors|}}} | ||
|label4 | |label6 = Opened | ||
|data4 | |data6 = {{{opened|}}} | ||
|label5 | |label7 = Location | ||
|data5 | |data7 = {{#if:{{{xcoord|}}}|X= {{{xcoord|}}}{{#if:{{{ycoord|}}}|<br /> Y= {{{ycoord|}}}}}<br /> Z= {{{zcoord|}}}|}} | ||
|label6 | |label8 = {{#ifeq:{{{dimension|Overworld}}}|Overworld||Dimension}} | ||
|data6 | |data8 = {{#ifeq:{{{dimension|Overworld}}}|Overworld||{{{dimension}}}}} | ||
|label7 | |label9 = Connection(s) | ||
|data7 | |data9 = {{{railway|}}}{{#if:{{{nether|}}}|<br />{{{nether|}}}}}{{#if:{{{overworld_transport|}}}|<br />{{{overworld_transport|}}}}} | ||
| | |label10 = NTN Connection | ||
|data10 = {{{ntnconnection|}}} | |||
| | |label11 = Road(s) | ||
| | |data11 = {{{roads|}}} | ||
| | |world = {{{world|Survival 6}}} | ||
}} | |subworld = {{{subworld|{{{sur4subworld|sheltie}}}}}} | ||
|xcoord = {{{xcoord|0}}} | |||
[[Category: | |zcoord = {{{zcoord|0}}} | ||
</includeonly> | }}[[Category:Shelters]][[Category:Builds]]{{#if:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}|[[Category:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}]]|}}</includeonly><noinclude> | ||
<noinclude> | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
"title": {}, | "title": { | ||
"default": "{{ROOTPAGENAME}}" | |||
}, | |||
"image": { | "image": { | ||
"label": "image", | "label": "image", | ||
Line 66: | Line 68: | ||
"caption": {}, | "caption": {}, | ||
"world": { | "world": { | ||
"description": "The server world the shelter is on (current world is Survival 4 | "description": "The server world the shelter is on (current world is Survival 5)", | ||
"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 transport network this shelter is part of" | |||
}, | }, | ||
"ntnconnection" : {} | |||
}, | }, | ||
"description": "An infobox with important information about | "description": "An infobox with important information about an road-side shelter!", | ||
"paramOrder": [ | "paramOrder": [ | ||
"title", | "title", | ||
"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 |