Template
Infobox Station
From Dogcraft Wiki
No edit summary |
No edit summary |
||
Line 57: | Line 57: | ||
|label12 = N<u>°</u> of Branch Lines | |label12 = N<u>°</u> of Branch Lines | ||
|data12 = {{{sur3_branchlines|}}} | |data12 = {{{sur3_branchlines|}}} | ||
|header13 = {{#switch: {{#if: {{{sur4subworld|}}} | {{#if:{{{xcoord|}}} | [https://dogcraft.net/map/{{{sur4subworld|}}}?zoom=3&x={{{xcoord|0}}}&z={{{zcoord|0}}} <span class="fa fa-map-marker"></span> View on Map]|}}|}} | |header13 = {{#switch: Overworld | Overworld = {{#if: {{{sur4subworld|}}} | {{#if:{{{xcoord|}}} | [https://dogcraft.net/map/{{{sur4subworld|}}}?zoom=3&x={{{xcoord|0}}}&z={{{zcoord|0}}} <span class="fa fa-map-marker"></span> View on Map]|}}|}}|}} | ||
}} | }} |
Revision as of 11:45, 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:45. (9 months ago)