Template

Difference between revisions of "Infobox Station"

 
(One intermediate revision by the same user not shown)
Line 65: Line 65:
 
{
 
{
 
"params": {
 
"params": {
"title": {},
+
"title": {
"image": {},
+
"label": "Station Name",
"caption": {},
+
"description": "Defaults to page title.",
"world": {},
+
"type": "string"
"network": {},
+
},
"line": {},
+
"image": {
"xcoord": {},
+
"label": "Image",
"ycoord": {},
+
"type": "string",
"zcoord": {},
+
"default": "Image name, e.g \"East_Station.png\""
"builders": {},
+
},
"opened": {},
+
"caption": {
"mainlines": {},
+
"label": "Image Caption",
"sur1-2_secondarylines": {},
+
"type": "string"
"sur3_branchlines": {}
+
},
 +
"world": {
 +
"label": "World",
 +
"default": "e.g Survival 1, Survival 2, Survival 3"
 +
},
 +
"network": {
 +
"label": "Network",
 +
"type": "string",
 +
"default": "Leave blank for SRN."
 +
},
 +
"line": {
 +
"label": "Line",
 +
"type": "string",
 +
"default": "Line the station is on (e.g East Line, Super Awesome Branch Line)"
 +
},
 +
"xcoord": {
 +
"label": "X-Coordinate",
 +
"type": "number"
 +
},
 +
"ycoord": {
 +
"label": "Y-Coordinate",
 +
"type": "number"
 +
},
 +
"zcoord": {
 +
"label": "Z-Coordinate",
 +
"type": "string"
 +
},
 +
"builders": {
 +
"label": "Builders",
 +
"type": "string",
 +
"description": "People who built the station. Use <code>{{Player|<playername>}}</code> template"
 +
},
 +
"opened": {
 +
"label": "Opened",
 +
"type": "string",
 +
"description": "Date of the station opening."
 +
},
 +
"mainlines": {
 +
"label": "Main Lines",
 +
"type": "string"
 +
},
 +
"sur1-2_secondarylines": {
 +
"aliases": [
 +
"secondarylines"
 +
],
 +
"label": "Secondary Lines",
 +
"description": "Use for station pages on Survival 1 and Survival 2.",
 +
"type": "string"
 +
},
 +
"sur3_branchlines": {
 +
"aliases": [
 +
"branchlines"
 +
],
 +
"label": "Branch Lines",
 +
"default": "Use for station pages on Survival 3 and Survival 4.",
 +
"type": "string"
 +
}
 
}
 
}
 
}
 
}
 
</templatedata>
 
</templatedata>
 
</noinclude>
 
</noinclude>

Latest revision as of 02: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