Template:Infobox Station: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<infobox> | <infobox layout="stacked"> | ||
<title source="name"> | <title source="name"> | ||
<default> {{PAGENAME}}</default> | <default> {{PAGENAME}}</default></title> | ||
</ | <header>Line</header><data source="line"><default> </default></data> | ||
<group row-items="2" layout="horizontal" show="incomplete" collapse="open"> | |||
<header>Details</header> | <header>Station Details</header> | ||
<data source="open"><label>Opened</label></data> | <data source="open"><label>Opened</label><default> </default></data> | ||
<data source="close"><label>Closed</label></data> | <data source="close"><label>Closed</label><default> </default></data> | ||
<header> | </group> | ||
<data source="m.ch"><label>Mileage M.Ch</label>/> | |||
<data source="lkm"><label>Meterage Km</label>/> | <group row-items="2" layout="horizontal" show="complete" collapse="close"> | ||
<header>Goods Details</header> | |||
<data source="gopen"><label>Opened</label><default> </default></data> | |||
<data source="gclose"><label>Closed</label><default> </default></data> | |||
</group> | |||
<group row-items="2" layout="horizontal" show="complete" collapse="close"> | |||
<header>Passengers Details</header> | |||
<data source="popen"><label>Opened</label><default> </default></data> | |||
<data source="pclose"><label>Closed</label><default> </default></data> | |||
</group> | |||
<group show="incomplete" row-items="2" layout="horizontal" collapse="open"> | |||
<header>Linear Reference when opened</header> | |||
<data source="m.ch"><label>Mileage M.Ch</label><default> </default></data> | |||
<data source="lkm"><label>Meterage Km</label><default> </default></data> | |||
</group> | |||
<group row-items="2" layout="horizontal" show="incomplete" collapse="open"> | |||
<header>Elevation</header> | <header>Elevation</header> | ||
<data source="elvft"><label>Feet</label>/> | <data source="elvft"><label>Feet</label><default> </default></data> | ||
<data source="elvm"><label>Meters</label>/> | <data source="elvm"><label>Meters</label><default> </default></data> | ||
</group> | |||
<infobox> | |||
</infobox> | |||
<noinclude> | <noinclude> | ||
Line 20: | Line 39: | ||
{ | { | ||
"params": { | "params": { | ||
" | "name": {}, | ||
"open": { | "line": { | ||
"description": "Opening date" | "label": "Name of Railway Line", | ||
"description": "Name of Railway Line", | |||
"required": true | |||
}, | |||
"open": { | |||
"description": "Opening date", | |||
"label": "Station Opening Date", | |||
"type": "date" | |||
}, | }, | ||
"close": { | "close": { | ||
"description": "Closing date" | "description": "Closing date", | ||
"label": "Station Closing Date", | |||
"type": "date" | |||
}, | }, | ||
"m.ch": { | "m.ch": { | ||
"description": "Miles and Chain" | "description": "Miles and Chain", | ||
"label": "Miles and Chain" | |||
}, | }, | ||
"lkm": { | "lkm": { | ||
"description": " | "description": "Linear Km ", | ||
"label": "Linear Km " | |||
}, | |||
"elvft": { | |||
"description": "Elevation in feet", | |||
"label": "Elevation in feet" | |||
}, | |||
"elvm": { | |||
"description": "Elevation in meters", | |||
"label": "Elevation in meters" | |||
}, | |||
"gopen": { | |||
"label": "Goods Opening Date", | |||
"description": "Date when station opened for goods services", | |||
"type": "date" | |||
}, | }, | ||
" | "gclose": { | ||
"description": " | "label": "Goods Closing Date", | ||
"description": "Date when station closed for goods services", | |||
"type": "date" | |||
}, | }, | ||
" | "popen": { | ||
"description": " | "label": "Passenger Opening Date", | ||
"description": "Date when station opened for passenger services", | |||
"type": "date" | |||
}, | |||
"pclose": { | |||
"label": "Passenger Closing Date", | |||
"description": "Date when station closed for passenger services" | |||
} | } | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
" | "name", | ||
"line", | |||
"open", | "open", | ||
"close", | "close", | ||
Line 47: | Line 99: | ||
"lkm", | "lkm", | ||
"elvft", | "elvft", | ||
"elvm" | "elvm", | ||
] | "gopen", | ||
"gclose", | |||
"popen", | |||
"pclose" | |||
], | |||
"description": "This is the template for the infobox used on station pages." | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Latest revision as of 10:51, 1 March 2022
This is the template for the infobox used on station pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | no description | Unknown | optional |
Name of Railway Line | line | Name of Railway Line | Unknown | required |
Station Opening Date | open | Opening date | Date | optional |
Station Closing Date | close | Closing date | Date | optional |
Miles and Chain | m.ch | Miles and Chain | Unknown | optional |
Linear Km | lkm | Linear Km | Unknown | optional |
Elevation in feet | elvft | Elevation in feet | Unknown | optional |
Elevation in meters | elvm | Elevation in meters | Unknown | optional |
Goods Opening Date | gopen | Date when station opened for goods services | Date | optional |
Goods Closing Date | gclose | Date when station closed for goods services | Date | optional |
Passenger Opening Date | popen | Date when station opened for passenger services | Date | optional |
Passenger Closing Date | pclose | Date when station closed for passenger services | Unknown | optional |