Template
Infobox Transport
From Dogcraft Wiki
No edit summary |
(added phome parameter and added template data and fixed subworld not being displayed) |
||
Line 22: | Line 22: | ||
|caption = {{#if:{{{image2|}}}|{{#if:{{{collage|}}}|'''Clockwise from top''': {{{caption|}}}{{#if:{{{caption2|}}}|, {{{caption2|}}}}}{{#if:{{{caption3|}}}|, {{{caption3|}}}}}{{#if:{{{caption4|}}}|, {{{caption4|}}}}}|}}{{#if:{{{caption5|}}}|, {{{caption5|}}}}}|{{{caption|}}}}} | |caption = {{#if:{{{image2|}}}|{{#if:{{{collage|}}}|'''Clockwise from top''': {{{caption|}}}{{#if:{{{caption2|}}}|, {{{caption2|}}}}}{{#if:{{{caption3|}}}|, {{{caption3|}}}}}{{#if:{{{caption4|}}}|, {{{caption4|}}}}}|}}{{#if:{{{caption5|}}}|, {{{caption5|}}}}}|{{{caption|}}}}} | ||
|label1 = World | |label1 = World | ||
|data1 = {{WorldSwitch|{{{world}}}|{{{subworld|{{{ | |data1 = {{WorldSwitch|{{{world}}}|{{{subworld|{{{sur4_subworld|}}}}}}}} | ||
|label2 = Opened | |label2 = Opened | ||
|data2 = {{{opened|}}} | |data2 = {{{opened|}}} | ||
Line 33: | Line 33: | ||
|label6 = NTN Connection | |label6 = NTN Connection | ||
|data6 = {{{ntnconnection|}}} | |data6 = {{{ntnconnection|}}} | ||
| | |label7 = Phome | ||
| | |data7 = {{{phome|}}} | ||
| | |header8 = {{#if:{{{networkstation|}}}{{{line|}}}{{{mainlines|}}}{{{sur3_branchlines|}}}|Station}} | ||
| | |label9 = Network | ||
| | |data9 = {{#if:{{{networkstation|}}}|{{{networkstation|}}}|{{WorldSwitch|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}|mode=Network}}}} | ||
| | |label10 = Line | ||
| | |data10 = {{{line|}}} | ||
| | |label11 = Connections | ||
| | |data11 = {{#if:{{{mainlines|}}}|<span class="playername" style="white-space:nowrap;">[[File:Main Connections Icon.png|24px|Main-line connections]]{{{mainlines|}}}</span>|}} {{#if:{{{sur3_branchlines|{{{sur1-2_secondarylines|{{{branchlines|}}}}}}}}}|<span class="playername" style="white-space:nowrap;">[[File:Branch Connections Icon.png|24px|Branch connections]]{{{sur3_branchlines|{{{sur1-2_secondarylines|{{{branchlines|}}}}}}}}}</span>|}} | ||
| | |header12 = {{#if:{{{networkshelter|}}}{{{roads|}}}|Shelter}} | ||
| | |label13 = Network | ||
| | |data13 = {{{networkshelter|}}} | ||
| | |label14 = Roads | ||
| | |data14 = {{{roads|}}} | ||
| | |header15 = {{#if:{{{networkport|}}}{{{adjoiningseas|}}}{{{adjoiningwaterways|}}}|Port}} | ||
| | |label16 = Network | ||
| | |data16 = {{{networkport|}}} | ||
| | |label17 = Adjoining Seas | ||
| | |data17 = {{{adjoiningseas|}}} | ||
|label18 = Adjoining Waterways | |||
|data18 = {{{adjoiningwaterways|}}} | |||
}}{{#if:{{{networkstation|}}}{{{line|}}}{{{mainlines|}}}{{{sur3_branchlines|}}}|[[Category:Stations]]}}[[Category:Builds]]{{#if:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}|[[Category:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}]]|}}{{#if:{{{networkshelter|}}}{{{roads|}}}|[[Category:Shelters]]}}{{#if:{{{networkport|}}}{{{adjoiningseas|}}}{{{adjoiningwaterways|}}}|[[Category:Ports]]}} | }}{{#if:{{{networkstation|}}}{{{line|}}}{{{mainlines|}}}{{{sur3_branchlines|}}}|[[Category:Stations]]}}[[Category:Builds]]{{#if:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}|[[Category:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}]]|}}{{#if:{{{networkshelter|}}}{{{roads|}}}|[[Category:Shelters]]}}{{#if:{{{networkport|}}}{{{adjoiningseas|}}}{{{adjoiningwaterways|}}}|[[Category:Ports]]}} | ||
</includeonly> | </includeonly> | ||
Line 61: | Line 63: | ||
|caption = [[Spawn Station (Survival 2)|Spawn Station]] on Survival 2 | |caption = [[Spawn Station (Survival 2)|Spawn Station]] on Survival 2 | ||
|world = Survival 5 | |world = Survival 5 | ||
| | |sur4_subworld = Labrador | ||
|builders = {{Player|_edo}}<br/>{{Player|Brianetta}}<br/>{{Player|darparniox}} | |builders = {{Player|_edo}}<br/>{{Player|Brianetta}}<br/>{{Player|darparniox}} | ||
|contributors = {{Player|_edo}}<br/>{{Player|Brianetta}} | |contributors = {{Player|_edo}}<br/>{{Player|Brianetta}} | ||
Line 72: | Line 74: | ||
|line = North Line | |line = North Line | ||
|mainlines = 2 | |mainlines = 2 | ||
| | |sur3_branchlines = 1 | ||
|networkshelter = RHN | |networkshelter = RHN | ||
|roads = Some Road | |roads = Some Road | ||
Line 87: | Line 89: | ||
|caption = | |caption = | ||
|world = | |world = | ||
| | |sur4_subworld = | ||
|builders = | |builders = | ||
|contributors = | |contributors = | ||
Line 95: | Line 97: | ||
|zcoord = | |zcoord = | ||
|ntnconnection = | |ntnconnection = | ||
|phome = | |||
|networkstation = | |networkstation = | ||
|line = | |line = | ||
|mainlines = | |mainlines = | ||
| | |sur3_branchlines = | ||
|networkshelter = | |networkshelter = | ||
|roads = | |roads = | ||
Line 106: | Line 109: | ||
}} | }} | ||
</pre> | </pre> | ||
<templatedata> | |||
{ | |||
"params": { | |||
"title": { | |||
"default": "{{ROOTPAGENAME}}" | |||
}, | |||
"image": { | |||
"label": "image", | |||
"example": "Dogcraft Red Cog Logo.png", | |||
"type": "string" | |||
}, | |||
"caption": {}, | |||
"world": { | |||
"description": "The server world the transport hub is on (current world is Survival 5)", | |||
"default": "Survival 5" | |||
}, | |||
"sur4_subworld": { | |||
"description": "Which sub-world (i.e. Shepherd, Labrador, etc) is it on?" | |||
}, | |||
"builders": {}, | |||
"contributors": {}, | |||
"opened": {}, | |||
"xcoord": {}, | |||
"ycoord": {}, | |||
"zcoord": {}, | |||
"ntnconnection": {}, | |||
"phome": {}, | |||
"networkstation": { | |||
"description": "The rail network, the rail station belongs to. Only fill out if the build contains a rail station!" | |||
}, | |||
"line": { | |||
"description": "The rail line the station connects to. Only visible, if networkstation has data!" | |||
}, | |||
"mainlines": { | |||
"description": "The number of mainline connections. Only visible, if networkstation has data!" | |||
}, | |||
"sur3_branchlines": { | |||
"description": "The number of branch line connections. Only visible, if networkstation has data!" | |||
}, | |||
"networkshelter": { | |||
"description": "The Network, the shelter belongs to. Only fill out, if the build contains a shelter!" | |||
}, | |||
"roads": { | |||
"description": "The roads, that the shelter is connected to. Only visible if networkshelter has data!" | |||
}, | |||
"networkport": { | |||
"description": "The network that the port belongs to. Only fill out if the build contains a port!" | |||
}, | |||
"adjoiningseas": { | |||
"description": "Which seas does this port connect to?" | |||
}, | |||
"adjoiningwaterways": { | |||
"description": "Which waterways does this port connect to?" | |||
} | |||
}, | |||
"description": "An infobox with important information about a sea port", | |||
"paramOrder": [ | |||
"title", | |||
"image", | |||
"caption", | |||
"world", | |||
"sur4_subworld", | |||
"builders", | |||
"contributors", | |||
"opened", | |||
"xcoord", | |||
"ycoord", | |||
"zcoord", | |||
"ntnconnection", | |||
"phome", | |||
"networkstation", | |||
"line", | |||
"mainlines", | |||
"sur3_branchlines", | |||
"networkshelter", | |||
"roads", | |||
"networkport", | |||
"adjoiningseas", | |||
"adjoiningwaterways" | |||
] | |||
} | |||
</templatedata> | |||
{{clear}} | {{clear}} |
Revision as of 09:38, 3 April 2023
Spawn Station | |
---|---|
Survival 5 | |
World | Survival 5 (Labrador) |
Opened | September 2nd, 2017 |
Builder(s) | _edo Brianetta darparniox |
Contributors | _edo Brianetta |
Location | X= -1775 Y= 65 Z= 2490 |
NTN Connection | North Tunnel Z=10 |
Station | |
Network | CRN |
Line | North Line |
Connections | 2 1 |
Shelter | |
Network | RHN |
Roads | Some Road |
Port | |
Network | CSC |
Adjoining Seas | Spawn Sea |
Adjoining Waterways | Imaginary Waterway |
An infobox for transport stations connecting to multiple networks.
{{Infobox Transport |title = |image = |caption = |world = |sur4_subworld = |builders = |contributors = |opened = |xcoord = |ycoord = |zcoord = |ntnconnection = |phome = |networkstation = |line = |mainlines = |sur3_branchlines = |networkshelter = |roads = |networkport = |adjoiningseas = |adjoiningwaterways = }}
An infobox with important information about a sea port
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title | no description
| Unknown | optional |
image | image | no description
| String | optional |
caption | caption | no description | Unknown | optional |
world | world | The server world the transport hub is on (current world is Survival 5)
| Unknown | optional |
sur4_subworld | sur4_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 |
ntnconnection | ntnconnection | no description | Unknown | optional |
phome | phome | no description | Unknown | optional |
networkstation | networkstation | The rail network, the rail station belongs to. Only fill out if the build contains a rail station! | Unknown | optional |
line | line | The rail line the station connects to. Only visible, if networkstation has data! | Unknown | optional |
mainlines | mainlines | The number of mainline connections. Only visible, if networkstation has data! | Unknown | optional |
sur3_branchlines | sur3_branchlines | The number of branch line connections. Only visible, if networkstation has data! | Unknown | optional |
networkshelter | networkshelter | The Network, the shelter belongs to. Only fill out, if the build contains a shelter! | Unknown | optional |
roads | roads | The roads, that the shelter is connected to. Only visible if networkshelter has data! | Unknown | optional |
networkport | networkport | The network that the port belongs to. Only fill out if the build contains a port! | Unknown | optional |
adjoiningseas | adjoiningseas | Which seas does this port connect to? | Unknown | optional |
adjoiningwaterways | adjoiningwaterways | Which waterways does this port connect to? | Unknown | optional |