Template

Infobox Station

From Dogcraft Wiki

No edit summary
No edit summary
Line 91: Line 91:
"label": "Line",
"label": "Line",
"type": "string",
"type": "string",
"default": "e.g East Line"
"default": "Line the station is on (e.g East Line, Super Awesome Branch Line)"
},
},
"xcoord": {
"xcoord": {
Line 107: Line 107:
"builders": {
"builders": {
"label": "Builders",
"label": "Builders",
"type": "string"
"type": "string",
"description": "People who built the station. Use <code>{{Player|<playername>}}</code> template"
},
},
"opened": {
"opened": {
"label": "Opened",
"label": "Opened",
"type": "string"
"type": "string",
"description": "Date of the station opening."
},
},
"mainlines": {
"mainlines": {
Line 122: Line 124:
],
],
"label": "Secondary Lines",
"label": "Secondary Lines",
"description": "Use for station pages on Survival 1 and Survival 2."
"description": "Use for station pages on Survival 1 and Survival 2.",
"type": "string"
},
},
"sur3_branchlines": {
"sur3_branchlines": {
Line 129: Line 132:
],
],
"label": "Branch Lines",
"label": "Branch Lines",
"default": "Use for station pages on Survival 3 and Survival 4."
"default": "Use for station pages on Survival 3 and Survival 4.",
"type": "string"
}
}
}
}

Revision as of 01:24, 27 March 2020

An infobox for usage on pages about Railway Stations.

Note

{{Infobox Station
|title        = 
|image        = 
|caption      = 
|world        = 
|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.

Template parameters

ParameterDescriptionTypeStatus
Station Nametitle

Defaults to page title.

Stringoptional
Imageimage

no description

Default
Image name, e.g "East_Station.png"
Stringoptional
Image Captioncaption

no description

Stringoptional
Worldworld

no description

Default
e.g Survival 1, Survival 2, Survival 3
Unknownoptional
Networknetwork

no description

Default
Leave blank for SRN.
Stringoptional
Lineline

no description

Default
Line the station is on (e.g East Line, Super Awesome Branch Line)
Stringoptional
X-Coordinatexcoord

no description

Numberoptional
Y-Coordinateycoord

no description

Numberoptional
Z-Coordinatezcoord

no description

Stringoptional
Buildersbuilders

People who built the station. Use <code>{{Player|<playername>}}</code> template

Stringoptional
Openedopened

Date of the station opening.

Stringoptional
Main Linesmainlines

no description

Stringoptional
Secondary Linessur1-2_secondarylines secondarylines

Use for station pages on Survival 1 and Survival 2.

Stringoptional
Branch Linessur3_branchlines branchlines

no description

Default
Use for station pages on Survival 3 and Survival 4.
Stringoptional
This page was last modified on 27 March 2020, at 01:24. (2 months ago)