Template
Interface template⮥
Infobox Port
From Dogcraft Wiki
(added NTN Connection) |
(added map scale parameter) |
||
| (3 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> | ||
| Line 21: | Line 21: | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude><includeonly>{{ | </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 53: | Line 53: | ||
|label12 = Adjoining Waterway(s) | |label12 = Adjoining Waterway(s) | ||
|data12 = {{{adjoiningwaterways|}}} | |data12 = {{{adjoiningwaterways|}}} | ||
|world = {{{world|Survival 6}}} | |||
|subworld = {{{subworld|{{{sur4subworld|sheltie}}}}}} | |||
|xcoord = {{{xcoord|0}}} | |||
|zcoord = {{{zcoord|0}}} | |||
|mapScale = {{{mapScale|}}} | |||
}}[[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 89: | Line 94: | ||
"network": { | "network": { | ||
"description": "The wider transport network this port is part of" | "description": "The wider transport network this port is part of" | ||
} | }, | ||
"mapScale": { | |||
"description": "The scale of the map" | |||
} | |||
}, | }, | ||
"description": "An infobox with important information about a sea port", | "description": "An infobox with important information about a sea port", | ||
| Line 108: | Line 116: | ||
"ntnconnection", | "ntnconnection", | ||
"adjoiningseas", | "adjoiningseas", | ||
"adjoiningwaterways" | "adjoiningwaterways", | ||
"mapScale" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
Latest revision as of 14:47, 16 February 2025
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
| 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 wider transport network this port is part of | Unknown | optional |
| world | world | The server world the port 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 |
| adjoiningseas | adjoiningseas | Which seas does this port connect to? | Unknown | optional |
| adjoiningwaterways | adjoiningwaterways | Which waterways does this port connect to? | Unknown | optional |
| mapScale | mapScale | The scale of the map | Unknown | optional |