Template
Infobox Station
From Dogcraft Wiki
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
|caption = | |caption = | ||
|world = | |world = | ||
|sur4subworld = | |||
|network = (leave blank to autofill to Survival Railway Network, dependent on the world input). | |network = (leave blank to autofill to Survival Railway Network, dependent on the world input). | ||
|line = | |line = | ||
Line 38: | Line 39: | ||
|header1 = {{Large|Station}} | |header1 = {{Large|Station}} | ||
|label2 = World | |label2 = World | ||
|data2 = {{#if: {{{world}}} | {{#switch: {{{world}}} | Survival = [[Survival]] | Survival 1 = [[Survival 1]] | Survival 2 = [[Survival 2]] | Survival 3 = [[Survival 3]] | 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|}}}|[[Survival Railway Network ({{{world|}}})]]}} | ||
Line 56: | 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]|}}|}} | |||
}} | }} |
Revision as of 11:39, 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 |
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:39. (9 months ago)