Template

Infobox Port

From Dogcraft Wiki

No edit summary
(Added adjoining seas and waterways for consistency with new 'Infobox Transport' template)
Line 3: Line 3:
<pre>
<pre>
{{Infobox Port
{{Infobox Port
|title         =  
|title             =  
|image         =  
|image             =  
|caption       =  
|caption           =  
|world         =  
|world             =  
|project       =
|project           =
|subworld     =  
|subworld           =  
|builders     =  
|builders           =  
|contributors =  
|contributors       =  
|status       =
|status             =
|completed     =  
|completed         =  
|xcoord       =  
|xcoord             =  
|ycoord       =  
|ycoord             =  
|zcoord       =  
|zcoord             =  
|dimension     =  
|dimension         =
|adjoiningseas      =
|adjoiningwaterways =
}}
}}
</pre>
</pre>
Line 45: Line 47:
|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|}}}}}
|label10      = Adjoining Sea(s)
|data10      = {{{adjoiningseas|}}}
|label11      = Adjoining Waterway(s)
|data11      = {{{adjoiningwaterways|}}}
}}[[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 70: Line 76:
"zcoord": {},
"zcoord": {},
"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?"
Line 92: Line 104:
"ycoord",
"ycoord",
"zcoord",
"zcoord",
"dimension"
"dimension",
        "adjoiningseas",
        "adjoiningwaterways"
]
]
}
}
</templatedata>
</templatedata>

Revision as of 16:52, 9 February 2023

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

{{Infobox Port
|title              = 
|image              = 
|caption            = 
|world              = 
|project            =
|subworld           = 
|builders           = 
|contributors       = 
|status             =
|completed          = 
|xcoord             = 
|ycoord             = 
|zcoord             = 
|dimension          = 
|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
projectproject

The wider project 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
statusstatus

no description

Unknownoptional
completedcompleted

no description

Unknownoptional
xcoordxcoord

no description

Unknownoptional
ycoordycoord

no description

Unknownoptional
zcoordzcoord

no description

Unknownoptional
dimensiondimension

no description

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 9 February 2023, at 16:52. (9 months ago)
Background Valentine's Day Event 2024 by TheWhiteTigerNL