Template:Infobox Station: Difference between revisions

From Railway Knowledge Base for New Zealand
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
   <group row-items="2">
   <group row-items="2">
   <header>Details</header>
   <header>Details</header>
   <data source="open"><label>Opened</label></data>
   <data source="open"> <label>Opened</label></data>
   <data source="close"><label>Closed</label></data>
   <data source="close"> <label>Closed</label></data>
   </group>
   </group>
   <group layout="horizontal" show="incomplete">
   <group layout="horizontal" show="incomplete">
   <group row-items="2">
   <group row-items="2">
   <header>Liner Reference</header>
   <header>Liner Reference</header>
   <data source="m.ch"><label>Mileage M.Ch</label></data>
   <data source="m.ch"> <label>Mileage M.Ch</label></data>
   <data source="lkm"><label>Meterage Km</label></data>
   <data source="lkm"> <label>Meterage Km</label></data>
   </group>  
   </group>  
   <group layout="horizontal" show="incomplete">
   <group layout="horizontal" show="incomplete">
     <group row-items="2">
     <group row-items="2">
     <header>Elevation</header>
     <header>Elevation</header>
     <data source="elvft"><label>Feet</label></data>
     <data source="elvft"> <label>Feet</label></data>
     <data source="elvm"><label>Meters</label></data>
     <data source="elvm"> <label>Meters</label></data>
   </group>
   </group>
   </group>
   </group>
Line 31: Line 31:
},
},
"open": {
"open": {
"label": "Open",
"description": "Opening date",
"description": "Opening date",
"type": "date"
"type": "date"
},
},
"close": {
"close": {
"label": "Close",
"description": "Closing date",
"description": "Closing date",
"type": "date"
"type": "date"
},
},
"m.ch": {
"m.ch": {
"label": "M.Ch",
"description": "Miles and Chain",
"description": "Miles and Chain",
"type": "number"
"type": "number"
},
},
"lkm": {
"lkm": {
"description": "Linier Km ",
"label": "LKm",
"description": "Liner Km ",
"type": "number"
"type": "number"
},
},
"elvft": {
"elvft": {
"label": "Elevation Ft",
"description": "Elevation in feet",
"description": "Elevation in feet",
"type": "number"
"type": "number"
},
},
"elvm": {
"elvm": {
"label": "Elevation M",
"description": "Elevation in meters",
"description": "Elevation in meters",
"type": "number"
"type": "number"

Revision as of 07:12, 14 February 2022

There is a problem with parsing the infobox

  • 0
  • 1
    <title source="name">
  • 2
    <default> {{PAGENAME}}</default>
  • 3
    </title>
  • 4
    <group layout="horizontal" show="incomplete">
  • 5
    <group row-items="2">
  • 6
    <header>Details</header>
  • 7
    <data source="open"> <label>Opened</label></data>
  • 8
    <data source="close"> <label>Closed</label></data>
  • 9
    </group>
  • 10
    <group layout="horizontal" show="incomplete">
  • 11
    <group row-items="2">
  • 12
    <header>Liner Reference</header>
  • 13
    <data source="m.ch"> <label>Mileage M.Ch</label></data>
  • 14
    <data source="lkm"> <label>Meterage Km</label></data>
  • 15
    </group>
  • 16
    <group layout="horizontal" show="incomplete">
  • 17
    <group row-items="2">
  • 18
    <header>Elevation</header>
  • 19
    <data source="elvft"> <label>Feet</label></data>
  • 20
    <data source="elvm"> <label>Meters</label></data>
  • 21
    </group>
  • 22
    </group>
  • 23

    Opening and ending tag mismatch

    Premature end of tag

No description.

Template parameters

ParameterDescriptionTypeStatus
NameName

no description

Page nameoptional
Openopen

Opening date

Dateoptional
Closeclose

Closing date

Dateoptional
M.Chm.ch

Miles and Chain

Numberoptional
LKmlkm

Liner Km

Numberoptional
Elevation Ftelvft

Elevation in feet

Numberoptional
Elevation Melvm

Elevation in meters

Numberoptional