Template
Interface template⮥
Infobox Port
From Dogcraft Wiki
(Added adjoining seas and waterways for consistency with new 'Infobox Transport' template) |
(added map scale parameter) |
||
| (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> | ||
| Line 7: | Line 7: | ||
|caption = | |caption = | ||
|world = | |world = | ||
| | |network = | ||
|subworld = | |subworld = | ||
|builders = | |builders = | ||
|contributors = | |contributors = | ||
| | |opened = | ||
|xcoord = | |xcoord = | ||
|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 33: | Line 33: | ||
|label2 = World | |label2 = World | ||
|data2 = {{WorldSwitch|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}} | |data2 = {{WorldSwitch|{{{world}}}|{{{subworld|{{{sur4subworld|}}}}}}}} | ||
|label3 = | |label3 = Network | ||
|data3 = {{{ | |data3 = {{{network|}}} | ||
|label4 = Builder(s) | |label4 = Builder(s) | ||
|data4 = {{{builders|}}} | |data4 = {{{builders|}}} | ||
|label5 = Contributors | |label5 = Contributors | ||
|data5 = {{{contributors|}}} | |data5 = {{{contributors|}}} | ||
|label6 = | |label6 = Opened | ||
|data6 = {{{ | |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 = {{{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 70: | Line 77: | ||
"builders": {}, | "builders": {}, | ||
"contributors": {}, | "contributors": {}, | ||
" | "opened": {}, | ||
"xcoord": {}, | "xcoord": {}, | ||
"ycoord": {}, | "ycoord": {}, | ||
"zcoord": {}, | "zcoord": {}, | ||
"ntnconnection": {}, | |||
"dimension": {}, | "dimension": {}, | ||
"adjoiningseas": { | "adjoiningseas": { | ||
| Line 85: | Line 92: | ||
"description": "Which sub-world (i.e. Shepherd, Labrador, etc) is it on?" | "description": "Which sub-world (i.e. Shepherd, Labrador, etc) is it on?" | ||
}, | }, | ||
" | "network": { | ||
"description": "The wider | "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 94: | Line 104: | ||
"image", | "image", | ||
"caption", | "caption", | ||
" | "network", | ||
"world", | "world", | ||
"subworld", | "subworld", | ||
"builders", | "builders", | ||
"contributors", | "contributors", | ||
" | "opened", | ||
"xcoord", | "xcoord", | ||
"ycoord", | "ycoord", | ||
"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 |