This is a documentation subpage for User:Slambo/DE infobox. It may contain usage information, categories and other content that is not part of the original user template page. |
Usage
editThis test template was developed through discussions at WP:TFD.
Use this test template in place of {{Infobox German railway vehicle}} (or its two redirects {{Infobox German Railway Vehicle}} or {{Infobox Schienenfahrzeug}}) It will take the German language parameters and map them to either {{Infobox train}} or {{Infobox locomotive}} based on the presence of values in certain parameters.
Parameter mapping
editMapped to infobox locomotive
edit1 added parameter
- style - See the documentation at User:Slambo/Loco infobox/astyle/doc for the values and their outputs
64 parameters from the German infobox can be mapped directly to existing locomotive infobox parameters. In locomotive infobox order these are:
- name = Name (some German locomotive pages display the text in Baureihe as the name; if Name is left blank and Baureihe is populated, it will show Baureihe; if both are blank, it will show the page name)
- image = Abbildung
- powertype = Gattung
- builder = Hersteller
- builddate = Baujahre
- totalproduction = Anzahl
- aarwheels = AAR wheel arrangement
- gauge = Spurweite
- leadingdiameter = Laufraddurchmesser vorn or Laufraddurchmesser außen for Garratt locomotives
- driverdiameter = Treibraddurchmesser
- wheeldiameter = Raddurchmesser
- trailingdiameter = Laufraddurchmesser hinten or Laufraddurchmesser innen for Garratt locomotives
- minimumcurve = kleinster befahrbarer Halbmesser
- wheelbase = Fester Radstand
- length = Länge über Kupplung (length over couplers; add
|lentghovercouplers=
to locomotive infobox) or Länge über Puffer (length over buffers; add|lengthoverbuffers=
to locomotive infobox) - width = Breite
- height = Höhe
- axleload = Achslast and Radsatzfahrmasse
- weightondrivers = Reibungsmasse
- locoweight = Gesamtmasse
- tenderweight = Dienstmasse Tender
- locotenderweight = Dienstmasse einschl. Tender
- tendertype = Tenderbauart
- fueltype = Brennstoff
- fuelcap = Tankinhalt
- watercap = Wasser
- electricsystem = Stromsystem
- collectionmethod = Stromübertragung
- primemover = Motorentyp
- rpmrange = Nenndrehzahl
- enginetype = Motorbauart
- tractionmotors = Anzahl Fahrmotoren
- boiler = Kessel
- boilerpressure = Kesselüberdruck
- firearea = Rostfläche
- tubearea = Rohrheizfläche
- fireboxarea = Strahlungsheizfläche
- totalsurface = Verdampfungsheizfläche
- superheaterarea = Überhitzerfläche
- cylindercount = Zylinderanzahl
- cylindersize = Kolbenhub × Zylinderdurchmesser
- hpcylindersize = HD-Zylinderdurchmesser
- lpcylindersize = ND-Zylinderdurchmesser
- valvegear = Steuerungsart
- transmission = Leistungsübertragung or Getriebetyp
- maxspeed = Höchstgeschwindigkeit
- poweroutput = Indizierte Leistung
- tractiveeffort = Anfahrzugkraft or Traktionsleistung
- acceleration = Beschleunigung
- deceleration = Bremsverzögerung
- trainheating = Zugheizung
- locobrakes = Lokbremse
- trainbrakes = Zugbremse
- operatorclass = Baureihe
- fleetnumbers = Nummerierung
- retiredate = Ausmusterung
- notes = Anmerkung
Mapped to infobox train
edit40 parameters from the German template can be directly mapped to infobox train parameters
- background = Farbe1
- name = Name
- image = Abbildung
- manufacturer = Hersteller
- yearconstruction = Baujahre
- numberbuilt = Anzahl
- fleetnumbers = Nummerierung
- capacity = Kapazität, Sitzplätze and Stehplätze
- width = Breite
- height = Höhe
- floorheight = Fußbodenhöhe
- doors = Türen
- wheeldiameter = Raddurchmesser
- wheelbase = Fester Radstand
- maxspeed = Höchstgeschwindigkeit
- weight = Gesamtmasse
- axleload = Achslast or Radsatzfahrmasse
- enginetype = Motorentyp or Motorbauart
- cylindercount = Zylinderanzahl
- cylindersize = Kolbenhub × Zylinderdurchmesser
- traction motors = Anzahl Fahrmotoren
- tractiveeffort = Anfahrzugkraft or Traktionsleistung
- transmission = Leistungsübertragung or Getriebetyp
- acceleration = Beschleunigung
- deceleration = Bremsverzögerung
- hvac = Zugheizung
- electricsystem = Stromsystem
- collectionmethod = Stromübertragung
- aarwheels = AAR wheel arrangement
- brakes = Bremsen
- coupling = Kupplungstyp
- gauge = Spurweite
- notes = Anmerkung
Parameters to add or adjust
edit47 parameters from the German infobox need to be adjusted for inclusion in the locomotive infobox or in the train infobox:
- Color specs for operator differentiation: use the
|style=
parameter for this test template- Color1: Farbe1; passed to
|background=
in infobox train, does not exist yet in infobox locomotive - Color2: Farbe2
- Color1: Farbe1; passed to
- Axle arrangement: Achsformel or Bauart
- Carrying wheel diameter: Laufraddurchmesser; add
|carrydiameter=
to locomotive infobox - Pivot pitch: Drehzapfenabstand
- Overall wheelbase: Gesamtradstand; maybe can display as the wheelbase
- Bogie wheelbase: Achstand Fahrgestelle; add
|bogiewheelbase=
to locomotive infobox - Weights:
- Empty weight: Leermasse; add
|emptyweight=
to locomotive infobox; display in the weight line - Service weight: Dienstmasse; add
|serviceweight=
to locomotive infobox; display in the weight line
- Empty weight: Leermasse; add
- Power index: Leistungskennziffer
- Brakes: Bremsen; passed to
|brakes=
in infobox train - Parking brake: Feststellbremse
- Running steps: Übersetzungsstufen; add
|runningsteps=
to locomotive infobox - Drive: Antrieb
- Train protection: Zugsicherung
- Anti-skid protection: Gleitschutz
- Duties: Betriebsart
- Tachometer: Geschwindigkeitsmesser; add
|tach=
to locomotive infobox - Couplers: Kupplungstyp; add
|couplertype=
to locomotive infobox - Train Control: Steuerung
- Maximum incline: Gefälle; add
|maxincline=
to locomotive infobox - Features: Besonderheiten
- Coupled wheel diameter: Kuppelraddurchmesser; add
|coupleddiameter=
to locomotive infobox - Boiler length: Kessellänge; add
|boilerlength=
to locomotive infobox - No. of heating tubes: Anzahl der Heizrohre; add
|tubecount=
to locomotive infobox - No. of smoke tubes: Anzahl der Rauchrohre; add
|fluecount=
to locomotive infobox}} - Heating tube length: Heizrohrlänge (Swiss = Siederohrlänge); add
|tubelength=
to locomotive infobox - Cylinder pressure: Zylinderdruck; add
|cylpressure=
to locomotive infobox - Wheelbase incl. tender: Radstand mit Tender; add
|locotenderwb=
to locomotive infobox - Installed power: Installierte Leistung
- Power output (one hour): Stundenleistung; add
|powerouthour=
to locomotive infobox - Power output (continuous): Dauerleistung; add
|poweroutcont=
to locomotive infobox - Running step switch: Fahrstufenschalter
- Traction batteries: Fahrbatterie; add
|batteries=
to locomotive infobox - Range: Reichweite
- Rack system: Zahnradsystem; add
|racksystem=
to locomotive infobox - Cogwheel cylinder diameter: ZR-Zylinderdurchmesser; add
|cogcylsize=
to locomotive infobox, use for both diameter and stroke - Cogwheel piston stroke: ZR-Kolbenhub; use new
|cogcylsize=
param noted above - Driving cogwheels: Antriebszahnräder; add
|cogdrivecount=
to locomotive infobox - Braking cogwheels: Bremszahnräder; add
|cogbrakecount=
to locomotive infobox - Cogwheel size: GrößeZahnrad; add
|cogdiameter=
to locomotive infobox - Continuous brake: Beharrungsbremse
- Low-platform section: Niederfluranteil
- Coach class: Wagenklasse
- Working weight: Nutzmasse
</includeonly>