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 3: Line 3:
   <default> {{PAGENAME}}</default>
   <default> {{PAGENAME}}</default>
   </title>
   </title>
  <image source="image" />
   <group collapse="open">  
   <group collapse="open">  
     <header>Details</header>
     <header>Details</header>
     <data source="name"><label>Name</label></data>
     <data source="open"><label>Opened</label></data>
     <data source="line"><label>Line</label></data>
     <data source="close"><label>Closed</label></data>
     <data source="location"><label>Location</label></data>
  <group layout="horizontal" show="incomplete">
     <data source="result"><label>Outcome</label></data>
    <header>Liner Reference</header>
     <data source="m.ch"><label>Mileage M.Ch</label>/>
     <data source="lkm"><label>Meterage Km</label>/>
   </group>  
   </group>  
  <group collapse="closed" layout="horizontal" show="incomplete">
  <group layout="horizontal" show="incomplete">
     <header>Combatants</header>
     <header>Elevation</header>
     <data source="side1" />
     <data source="elvft"><label>Feet</label>/>
    <data source="side2" />
     <data source="elvm"><label>Meters</label>/>
  </group>
  <group collapse="closed" layout="horizontal" show="incomplete">
    <header>Commanders</header>
     <data source="commanders1" />
    <data source="commanders2" />
   </group>
   </group>
  <group collapse="closed" layout="horizontal" show="incomplete">
    <header>Strength</header>
    <data source="forces1" />
    <data source="forces2" />
  </group>
  <group collapse="closed" layout="horizontal" show="incomplete">
    <header>Casualties</header>
    <data source="casual1" />
    <data source="casual2" />
  </group>
  <data source="civilian"><label>Civilian casualties</label></data>
</infobox>
</infobox>
<noinclude>
<noinclude>
Line 38: Line 23:
"params": {
"params": {
"Name": {},
"Name": {},
"side2": {},
"open": {
"forces1": {},
"description": "Opening date"
"forces2": {}
},
}
"close": {
"description": "Closing date"
},
"m.ch": {
"description": "Miles and Chain"
},
"lkm": {
"description": "Linier Km "
},
"elvm": {
"description": "Elevation in meters"
},
"elvft": {
"description": "Elevation in feet"
}
},
"paramOrder": [
"Name",
"open",
"close",
"m.ch",
"lkm",
"elvft",
"elvm"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 06:37, 14 February 2022

There is a problem with parsing the infobox

  • 0
  • 1
    <title source="name">
  • 2
    <default> {{PAGENAME}}</default>
  • 3
    </title>
  • 4
    <group collapse="open">
  • 5
    <header>Details</header>
  • 6
    <data source="open"><label>Opened</label></data>
  • 7
    <data source="close"><label>Closed</label></data>
  • 8
    <group layout="horizontal" show="incomplete">
  • 9
    <header>Liner Reference</header>
  • 10
    <data source="m.ch"><label>Mileage M.Ch</label>/>
  • 11
    <data source="lkm"><label>Meterage Km</label>/>
  • 12
    </group>

    Opening and ending tag mismatch

  • 13
    <group layout="horizontal" show="incomplete">
  • 14
    <header>Elevation</header>
  • 15
    <data source="elvft"><label>Feet</label>/>
  • 16
    <data source="elvm"><label>Meters</label>/>
  • 17
    </group>

    Opening and ending tag mismatch

  • 18

    Opening and ending tag mismatch

    Premature end of tag

No description.

Template parameters

ParameterDescriptionTypeStatus
NameName

no description

Unknownoptional
openopen

Opening date

Unknownoptional
closeclose

Closing date

Unknownoptional
m.chm.ch

Miles and Chain

Unknownoptional
lkmlkm

Linier Km

Unknownoptional
elvftelvft

Elevation in feet

Unknownoptional
elvmelvm

Elevation in meters

Unknownoptional