Template
Interface template

Infobox Port

From Dogcraft Wiki

No edit summary
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 ports, such as those that form the [[Connected Seas Coalition]]
This template is for pages about ports, such as those that form the [[Connected Seas Coalition]]
<pre>
<pre>
{{Infobox Port
{{Infobox Port
|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     =  
|ntnconnection      =
|adjoiningseas      =
|adjoiningwaterways =
}}
}}
</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 31: Line 33:
|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|}}}|}}
|label8      = {{#ifeq:{{{dimension|Overworld}}}|Overworld||Dimension}}
|label8      = {{#ifeq:{{{dimension|Overworld}}}|Overworld||Dimension}}
|data8        = {{#ifeq:{{{dimension|Overworld}}}|Overworld||{{{dimension}}}}}
|data8        = {{#ifeq:{{{dimension|Overworld}}}|Overworld||{{{dimension}}}}}
|label9      = Connection(s)
|label9      = NTN Connection
|data9        = {{{railway|}}}{{#if:{{{nether|}}}|<br />{{{nether|}}}}}{{#if:{{{overworld_transport|}}}|<br />{{{overworld_transport|}}}}}
|data9        = {{{ntnconnection|}}}
|label10      = Connection(s)
|data10      = {{{railway|}}}{{#if:{{{nether|}}}|<br />{{{nether|}}}}}{{#if:{{{overworld_transport|}}}|<br />{{{overworld_transport|}}}}}
|label11      = Adjoining Sea(s)
|data11      = {{{adjoiningseas|}}}
|label12      = Adjoining Waterway(s)
|data12      = {{{adjoiningwaterways|}}}
|world = {{{world|Survival 6}}}
|subworld = {{{subworld|{{{sur4subworld|sheltie}}}}}}
|xcoord = {{{xcoord|0}}}
|zcoord = {{{zcoord|0}}}
}}[[Category:Ports]][[Category:Builds]]{{#if:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}|[[Category:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}]]|}}</includeonly><noinclude>
}}[[Category:Ports]][[Category:Builds]]{{#if:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}|[[Category:{{WorldSwitch/World|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}}]]|}}</includeonly><noinclude>
<templatedata>
<templatedata>
Line 64: Line 76:
"builders": {},
"builders": {},
"contributors": {},
"contributors": {},
"status": {},
"opened": {},
"completed": {},
"xcoord": {},
"xcoord": {},
"ycoord": {},
"ycoord": {},
"zcoord": {},
"zcoord": {},
        "ntnconnection": {},
"dimension": {},
"dimension": {},
        "adjoiningseas": {
            "description": "Which seas does this port connect to?"
        },
        "adjoiningwaterways": {
            "description": "Which waterways does this port connect to?"
        },
"subworld": {
"subworld": {
"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 port is part of"
"description": "The wider transport network this port is part of"
}
}
},
},
Line 82: Line 100:
"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",
        "adjoiningseas",
        "adjoiningwaterways"
]
]
}
}
</templatedata>
</templatedata>

Latest revision as of 15:59, 13 February 2024

This template is for pages about ports, such as those that form the Connected Seas Coalition

{{Infobox Port
|title              = 
|image              = 
|caption            = 
|world              = 
|network            =
|subworld           = 
|builders           = 
|contributors       = 
|opened             = 
|xcoord             = 
|ycoord             = 
|zcoord             = 
|dimension          =
|ntnconnection      = 
|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
networknetwork

The wider transport network this port is part of

Unknownoptional
worldworld

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

Default
Survival 5
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
adjoiningseasadjoiningseas

Which seas does this port connect to?

Unknownoptional
adjoiningwaterwaysadjoiningwaterways

Which waterways does this port connect to?

Unknownoptional
Background SRN Opening by Montenator