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|{{{sur4subworld|}}}}}}}}
|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|}}}
|header7 = {{#if:{{{networkstation|}}}{{{line|}}}{{{mainlines|}}}{{{sur3_branchlines|}}}|Station}}
|label7  = Phome
   |label8 = Network
|data7  = {{{phome|}}}
   |data8   = {{#if:{{{networkstation|}}}|{{{networkstation|}}}|{{WorldSwitch|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}|mode=Network}}}}
|header8 = {{#if:{{{networkstation|}}}{{{line|}}}{{{mainlines|}}}{{{sur3_branchlines|}}}|Station}}
   |label9  = Line
   |label9 = Network
   |data9  = {{{line|}}}
   |data9   = {{#if:{{{networkstation|}}}|{{{networkstation|}}}|{{WorldSwitch|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}|mode=Network}}}}
   |label10 = Connections
   |label10 = Line
   |data10 = {{#if:{{{mainlines|}}}|<span class="playername" style="white-space:nowrap;">[[File:Main Connections Icon.png|24px|Main-line connections]]{{{mainlines|}}}</span>|}}&nbsp;{{#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>|}}
   |data10  = {{{line|}}}
|header11 = {{#if:{{{networkshelter|}}}{{{roads|}}}|Shelter}}
   |label11 = Connections
   |label12 = Network
   |data11 = {{#if:{{{mainlines|}}}|<span class="playername" style="white-space:nowrap;">[[File:Main Connections Icon.png|24px|Main-line connections]]{{{mainlines|}}}</span>|}}&nbsp;{{#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>|}}
   |data12 = {{{networkshelter|}}}
|header12 = {{#if:{{{networkshelter|}}}{{{roads|}}}|Shelter}}
   |label13 = Roads
   |label13 = Network
   |data13 = {{{roads|}}}
   |data13 = {{{networkshelter|}}}
|header14 = {{#if:{{{networkport|}}}{{{adjoiningseas|}}}{{{adjoiningwaterways|}}}|Port}}
   |label14 = Roads
   |label15 = Network
   |data14 = {{{roads|}}}
   |data15 = {{{networkport|}}}
|header15 = {{#if:{{{networkport|}}}{{{adjoiningseas|}}}{{{adjoiningwaterways|}}}|Port}}
   |label16 = Adjoining Seas
   |label16 = Network
   |data16 = {{{adjoiningseas|}}}
   |data16 = {{{networkport|}}}
   |label17 = Adjoining Waterways
   |label17 = Adjoining Seas
   |data17 = {{{adjoiningwaterways|}}}
   |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
|subworld      = Labrador
|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
|branchlines        = 1
|sur3_branchlines  = 1
|networkshelter    = RHN
|networkshelter    = RHN
|roads              = Some Road
|roads              = Some Road
Line 87: Line 89:
|caption            =  
|caption            =  
|world              =  
|world              =  
|subworld      =
|sur4_subworld      =
|builders          =
|builders          =
|contributors      =
|contributors      =
Line 95: Line 97:
|zcoord            =
|zcoord            =
|ntnconnection      =
|ntnconnection      =
|phome              =
|networkstation    =
|networkstation    =
|line              =
|line              =
|mainlines          =
|mainlines          =
|branchlines        =
|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
2018-11-21 18.13.23.png
Spawn Station on Survival 2
WorldSurvival 5 (Labrador)
OpenedSeptember 2nd, 2017
Builder(s)20.png _edo
20.png Brianetta
20.png darparniox
Contributors20.png _edo
20.png Brianetta
LocationX= -1775
Y= 65
Z= 2490
NTN ConnectionNorth Tunnel Z=10
Station
NetworkCRN
LineNorth Line
ConnectionsMain-line connections2 Branch connections1
Shelter
NetworkRHN
RoadsSome Road
Port
NetworkCSC
Adjoining SeasSpawn Sea
Adjoining WaterwaysImaginary 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

Template parameters

ParameterDescriptionTypeStatus
titletitle

no description

Default
{{ROOTPAGENAME}}
Unknownoptional
imageimage

no description

Example
Dogcraft Red Cog Logo.png
Stringoptional
captioncaption

no description

Unknownoptional
worldworld

The server world the transport hub is on (current world is Survival 5)

Default
Survival 5
Unknownoptional
sur4_subworldsur4_subworld

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
ntnconnectionntnconnection

no description

Unknownoptional
phomephome

no description

Unknownoptional
networkstationnetworkstation

The rail network, the rail station belongs to. Only fill out if the build contains a rail station!

Unknownoptional
lineline

The rail line the station connects to. Only visible, if networkstation has data!

Unknownoptional
mainlinesmainlines

The number of mainline connections. Only visible, if networkstation has data!

Unknownoptional
sur3_branchlinessur3_branchlines

The number of branch line connections. Only visible, if networkstation has data!

Unknownoptional
networkshelternetworkshelter

The Network, the shelter belongs to. Only fill out, if the build contains a shelter!

Unknownoptional
roadsroads

The roads, that the shelter is connected to. Only visible if networkshelter has data!

Unknownoptional
networkportnetworkport

The network that the port belongs to. Only fill out if the build contains a port!

Unknownoptional
adjoiningseasadjoiningseas

Which seas does this port connect to?

Unknownoptional
adjoiningwaterwaysadjoiningwaterways

Which waterways does this port connect to?

Unknownoptional
This page was last modified on 3 April 2023, at 09:38. (3 months ago)
Background Dragon Slayer - Retriever by Ironboundred