Template

Infobox Station

From Dogcraft Wiki

No edit summary
No edit summary
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": "e.g East Line"
},
"xcoord": {
"label": "X-Coordinate",
"type": "number"
},
"ycoord": {
"label": "Y-Coordinate",
"type": "number"
},
"zcoord": {
"label": "Z-Coordinate",
"type": "string"
},
"builders": {
"label": "Builders",
"type": "string"
},
"opened": {
"label": "Opened",
"type": "string"
},
"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."
},
"sur3_branchlines": {
"aliases": [
"branchlines"
],
"label": "Branch Lines",
"default": "Use for station pages on Survival 3 and Survival 4."
}
}
}
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 01:22, 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
e.g East Line
Stringoptional
X-Coordinatexcoord

no description

Numberoptional
Y-Coordinateycoord

no description

Numberoptional
Z-Coordinatezcoord

no description

Stringoptional
Buildersbuilders

no description

Stringoptional
Openedopened

no description

Stringoptional
Main Linesmainlines

no description

Stringoptional
Secondary Linessur1-2_secondarylines secondarylines

Use for station pages on Survival 1 and Survival 2.

Unknownoptional
Branch Linessur3_branchlines branchlines

no description

Default
Use for station pages on Survival 3 and Survival 4.
Unknownoptional
This page was last modified on 27 March 2020, at 01:22. (9 months ago)
Background Dragon Slayer - Retriever by Ironboundred