Template:Infobox Station: Difference between revisions

From Railway Knowledge Base for New Zealand
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 2: Line 2:
   <title source="name">
   <title source="name">
   <default> {{PAGENAME}}</default></title>
   <default> {{PAGENAME}}</default></title>
  <header>Line</header><data source="line"><default> </default></data>
    <group row-items="2" layout="horizontal" show="incomplete" collapse="open">
    <header>Station Details</header>
    <data source="open"><label>Opened</label><default> </default></data>
    <data source="close"><label>Closed</label><default> </default></data>
    </group>
    <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="open">
     <group row-items="2" layout="horizontal" show="complete" collapse="close">
     <header>Details</header>
     <header>Passengers Details</header>
     <data source="open"><label>Opened</label></data>
     <data source="popen"><label>Opened</label><default> </default></data>
     <data source="close"><label>Closed</label></data>
     <data source="pclose"><label>Closed</label><default> </default></data>
     </group>
     </group>


     <header>Liner Reference</header>
    <group show="incomplete" row-items="2" layout="horizontal" collapse="open">
     <data source="m.ch"><label>Mileage M.Ch</label></data>
     <header>Linear Reference when opened</header>
     <data source="lkm"><label>Meterage Km</label></data>
     <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>
     <data source="elvft"><label>Feet</label><default> </default></data>
     <data source="elvm"><label>Meters</label></data>
     <data source="elvm"><label>Meters</label><default> </default></data>
    </group>


</infobox>
</infobox>
Line 23: Line 39:
{
{
"params": {
"params": {
"Name": {},
"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": "Linier Km "
"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"
},
},
"elvm": {
"gclose": {
"description": "Elevation in meters"
"label": "Goods Closing Date",
"description": "Date when station closed for goods services",
"type": "date"
},
},
"elvft": {
"popen": {
"description": "Elevation in feet"
"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",
"name",
        "line",
"open",
"open",
"close",
"close",
Line 50: 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.

Template parameters

ParameterDescriptionTypeStatus
namename

no description

Unknownoptional
Name of Railway Lineline

Name of Railway Line

Unknownrequired
Station Opening Dateopen

Opening date

Dateoptional
Station Closing Dateclose

Closing date

Dateoptional
Miles and Chainm.ch

Miles and Chain

Unknownoptional
Linear Km lkm

Linear Km

Unknownoptional
Elevation in feetelvft

Elevation in feet

Unknownoptional
Elevation in meterselvm

Elevation in meters

Unknownoptional
Goods Opening Dategopen

Date when station opened for goods services

Dateoptional
Goods Closing Dategclose

Date when station closed for goods services

Dateoptional
Passenger Opening Datepopen

Date when station opened for passenger services

Dateoptional
Passenger Closing Datepclose

Date when station closed for passenger services

Unknownoptional