Template
Interface template⮥
Infobox Port
From Dogcraft Wiki
(Removed 'status' field, renamed 'project' to 'network' and 'completed' to 'opened') |
(added map scale parameter) |
||
| (4 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 15: | Line 15: | ||
|ycoord = | |ycoord = | ||
|zcoord = | |zcoord = | ||
|dimension = | |dimension = | ||
|ntnconnection = | |||
|adjoiningseas = | |adjoiningseas = | ||
|adjoiningwaterways = | |adjoiningwaterways = | ||
}} | }} | ||
</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 44: | Line 45: | ||
|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 = {{{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}}} | |||
|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 73: | Line 81: | ||
"ycoord": {}, | "ycoord": {}, | ||
"zcoord": {}, | "zcoord": {}, | ||
"ntnconnection": {}, | |||
"dimension": {}, | "dimension": {}, | ||
"adjoiningseas": { | "adjoiningseas": { | ||
| Line 85: | 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 102: | Line 114: | ||
"zcoord", | "zcoord", | ||
"dimension", | "dimension", | ||
"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 |