Template
Infobox Station
From Dogcraft Wiki
No edit summary |
No edit summary |
||
Line 41: | Line 41: | ||
|data2 = {{#if: {{{world}}} | {{#switch: {{{world}}} | Survival = [[Survival]] | Survival 1 = [[Survival 1]] | Survival 2 = [[Survival 2]] | Survival 3 = [[Survival 3]] | Survival 4 = {{#switch: {{{sur4subworld|}}} | Husky = [[Survival 4]] (Husky) | Beagle = [[Survival 4]] (Beagle)) | [[Survival 4]]}} | Amplified = [[Amplified]] | Skyblock = [[Skyblock]] | Creative = [[Creative]] | MCMMO = [[MCMMO]] | {{{world}}} }}|}} | |data2 = {{#if: {{{world}}} | {{#switch: {{{world}}} | Survival = [[Survival]] | Survival 1 = [[Survival 1]] | Survival 2 = [[Survival 2]] | Survival 3 = [[Survival 3]] | Survival 4 = {{#switch: {{{sur4subworld|}}} | Husky = [[Survival 4]] (Husky) | Beagle = [[Survival 4]] (Beagle)) | [[Survival 4]]}} | Amplified = [[Amplified]] | Skyblock = [[Skyblock]] | Creative = [[Creative]] | MCMMO = [[MCMMO]] | {{{world}}} }}|}} | ||
|label3 = Network | |label3 = Network | ||
|data3 = {{#if:{{{network|}}}|{{{network|}}}|[[Survival Railway Network ({{{world|}}})]]}} | |data3 = {{#if:{{{network|}}}|{{{network|}}}|{{switch: {{{world|}}} | Survival 4 = [[Survival Railway Network (Survival 4)|Survival 4 {{{sur4subworld|}}} Railway Network]]|[[Survival Railway Network ({{{world|}}})]]}}}} | ||
|label4 = Line | |label4 = Line | ||
|data4 = {{{line|}}} | |data4 = {{{line|}}} | ||
Line 136: | Line 136: | ||
"default": "Use for station pages on Survival 3 and Survival 4.", | "default": "Use for station pages on Survival 3 and Survival 4.", | ||
"type": "string" | "type": "string" | ||
}, | |||
"sur4subworld": { | |||
"label": "Survival 4 Sub World", | |||
"description": "If it's a Survival 4 station, is it on Husky or Beagle?", | |||
"type": "string", | |||
"suggested": true | |||
} | } | ||
} | }, | ||
"paramOrder": [ | |||
"title", | |||
"image", | |||
"caption", | |||
"world", | |||
"sur4subworld", | |||
"network", | |||
"line", | |||
"xcoord", | |||
"ycoord", | |||
"zcoord", | |||
"builders", | |||
"opened", | |||
"mainlines", | |||
"sur1-2_secondarylines", | |||
"sur3_branchlines" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 11:42, 10 May 2020
An infobox for usage on pages about Railway Stations.
Note
- sur3_branchlines is for use on stations in the Survival 3 world.
- sur1-2_secondarylines is for use on stations in the Survival 2 / Survival 1 world.
{{Infobox Station |title = |image = |caption = |world = |sur4subworld = |network = (leave blank to autofill to Survival Railway Network, dependent on the world input). |line = |builders = |opened = |xcoord = |ycoord = |zcoord = |mainlines = |sur3_branchlines = |sur1-2_secondarylines = }}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Station Name | title | Defaults to page title. | String | optional |
Image | image | no description
| String | optional |
Image Caption | caption | no description | String | optional |
World | world | no description
| Unknown | optional |
Survival 4 Sub World | sur4subworld | If it's a Survival 4 station, is it on Husky or Beagle? | String | suggested |
Network | network | no description
| String | optional |
Line | line | no description
| String | optional |
X-Coordinate | xcoord | no description | Number | optional |
Y-Coordinate | ycoord | no description | Number | optional |
Z-Coordinate | zcoord | no description | String | optional |
Builders | builders | People who built the station. Use <code>{{Player|<playername>}}</code> template | String | optional |
Opened | opened | Date of the station opening. | String | optional |
Main Lines | mainlines | no description | String | optional |
Secondary Lines | sur1-2_secondarylines secondarylines | Use for station pages on Survival 1 and Survival 2. | String | optional |
Branch Lines | sur3_branchlines branchlines | no description
| String | optional |
This page was last modified on 10 May 2020, at 11:42. (9 months ago)