Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox rail equipment: Difference between revisions

Template page
No edit summary
No edit summary
 
(29 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="margin: 1.4em; margin-top:0; margin-right:0; padding: 0px; float: right; border:none;">
<templatestyles src="Template:Infobox_rail_equipment/styles.css" />
<div class="infobox-container">
{|class="prettytable" style="border:none; margin:0; padding:0; text-align:left"
{|class="prettytable" style="border:none; margin:0; padding:0; text-align:left"
|+ <div style="font-size:2em; font-weight: bold;">{{#if: {{#show: {{{rr}}} |?Has railroad abbreviation }} | {{#show: {{{rr}}} |?Has railroad abbreviation }} | {{#show: {{{rr}}} |?Has reporting mark }} }} {{{num}}} {{#set: Has road number={{{num}}} }}</div>
|+ <div class="car-number">{{#if: {{#show: {{{rr}}} |?Has railroad abbreviation }} | {{#show: {{{rr}}} |?Has railroad abbreviation }} | {{#show: {{{rr}}} |?Has reporting mark }} }} {{{num}}} {{#set: Has road number={{{num}}} }}</div>
<div style="margin-top: -0.5em; margin-bottom: 0.4em;">{{AM-ID display|{{{am-id-check|}}}|{{{am-id-raw|}}}|set}}</div>
<div class="am-id-seg">{{AM-ID display|{{{am-id-check|}}}|{{{am-id-raw|}}}|set}}</div>
|-
{{line item|Former operator|{{{rr|}}}|Has railroad}}
{{line item|Former operator|{{{rr|}}}|Has railroad}}
{{line item|Service|{{{service|}}}}}
{{line item|System|{{{system|}}}}}
{{line item|Propulsion|{{{propulsion|}}}|Uses propulsion}}
{{line item|Equipment type|{{#show: Category:{{{type}}} |?Has shorter singular }} }}
{{line item|Manufacturer|{{{mfgr|}}}|Has manufacturer}}
{{line item|Manufacturer|{{{mfgr|}}}|Has manufacturer}}
{{line item|Model|{{{mfg-model|}}}|Has manufacturer-designated model}}
{{line item|Model|{{{mfg-model|}}}|Has manufacturer-designated model}}
{{line item|Date of manufacture|{{{mfg-date|}}}|Has manufacture date}}
{{line item|Date of manufacture|{{{mfg-date|}}}|Has manufacture date}}
{{line item|Class (as designated by operator)|{{{class|}}}|Has railroad-designated model}}
{{line item|Class (as designated by operator)|{{{class|}}}|Has railroad-designated model}}
{{line item|Core operating collection|{{{core-operating-collection|}}}|Is part of core operating collection}}
{{line item|Representative interpretive collection|{{{representative-interp|}}}|Is part of representative regional interpretive collection}}
{{line item|Ran to Rio Vista Junction|{{{ran-to-rvj|}}} }}
{{line item|Track space occupancy|{{{len|}}}|Has extreme length|| ft}}
{{line item|Track space occupancy|{{{len|}}}|Has extreme length|| ft}}
{{line item|Cosmetic condition|{{{cond-cosmetic|}}}|Has cosmetic condition}}
{{line item|Cosmetic condition|{{{cond-cosmetic|}}}|Has cosmetic condition}}
Line 17: Line 26:
{{line item|Current role at WRM|{{{wrm-role|}}}|Used at WRM as}}
{{line item|Current role at WRM|{{{wrm-role|}}}|Used at WRM as}}
|}
|}
{{#if: {{{place|}}} | {{info-segment location|{{{place|}}}|{{{track|}}}|{{{spot|}}} }} }}
{{#if: {{{place|}}} | {{info-segment location|{{{place|}}}|{{{track|}}}|{{{spot|}}} }} }}
{{#invoke: Service history generator|gen}}
</div>
<includeonly>
  {{#if: {{NAMESPACE}}||
    [[Category:railway equipment]]
    {{#if: {{{type|}}}|[[Category:{{{type}}}]] |}}
    {{#if: {{{service|}}}|[[Category:{{{service}}} equipment]] |}}
    {{#if: {{{system|}}}|[[Category:{{{system}}} equipment]] |}}
    {{#ifeq: {{{ran-to-rvj}}}|Yes|[[Category:Ran to Rio Vista Junction]] |}}
  }}
</includeonly>


{{#invoke: Service history generator}}
</div>


<includeonly>{{#if: {{NAMESPACE}}||[[Category:railway equipment]]}}</includeonly>
<noinclude>
<noinclude>
<templatedata>
<templatedata>
Line 31: Line 47:
"label": "Former operator ",
"label": "Former operator ",
"type": "string",
"type": "string",
"suggestedvalues": [
"required": true,
"Sacramento Northern"
"example": "Sacramento Northern"
],
"required": true
},
},
"num": {
"num": {
"label": "Road number",
"label": "Road number",
"type": "string",
"type": "string",
"suggestedvalues": [
"required": true,
"1005"
"example": "1005"
],
"required": true
},
},
"mfgr": {
"mfgr": {
"label": "Manufacturer"
"label": "Manufacturer",
"example": "Holman Car Co."
},
},
"mfg-model": {
"mfg-model": {
"label": "Model (as designated by manufacturer)"
"label": "Model (as designated by manufacturer)",
"example": "SLRV"
},
},
"mfg-date": {
"mfg-date": {
"label": "Year/date of manufacture",
"label": "Year/date of manufacture",
"type": "date"
"type": "date",
"example": "1930"
},
},
"class": {
"class": {
"label": "Class/model (as designated by railroad)",
"label": "Class/model (as designated by railroad)",
"type": "string"
"type": "string",
"example": "Bridge Unit"
},
},
"len": {
"len": {
Line 67: Line 83:
"label": "Alex Marcopulos database ID with check digit",
"label": "Alex Marcopulos database ID with check digit",
"type": "number",
"type": "number",
"example": "WRM-R9995"
},
"am-id-raw": {
"label": "Alex Marcopulos database ID without check digit",
"example": "WRM-R999"
},
"servicehist_f": {
"label": "Service history",
"description": "Put service history of the car here. Each line is service under a different railroad, following the format \"<year> to <year>: <railroad name>\".",
"example": "1900 to 1920: Central California Traction",
"type": "string"
},
"cond-cosmetic": {
"label": "Cosmetic condition",
"example": "Excellent",
"type": "line",
"suggestedvalues": [
"suggestedvalues": [
"WRM-R9995"
"Excellent",
"Good",
"Fair",
"Poor",
"Decrepit"
]
]
},
},
"am-id-raw": {
"cond-ops": {
"label": "Alex Marcopulos database ID without check digit",
"label": "Operational status",
"example": "Operational",
"type": "line",
"suggestedvalues": [
"Operational",
"Operational for non-revenue moves",
"Non-operational"
]
},
"cond-service": {
"label": "Service ability",
"example": "Full",
"type": "line",
"suggestedvalues": [
"Full",
"Limited",
"    Special event    ",
"Training",
"    Shop moves    ",
"Non-operational"
]
},
"all-weather": {
"label": "All-weather ability",
"example": "0",
"type": "boolean"
},
"best-op-weather": {
"label": "Best operating weather",
"example": "Any",
"type": "line",
"suggestedvalues": [
"Any",
"Warm",
"Cool"
]
},
"wheels": {
"label": "Wheel profile",
"example": "Railroad",
"type": "line",
"suggestedvalues": [
"Railroad",
"Streetcar"
]
},
"wrm-role": {
"label": "Role at WRM",
"example": "Regular interurban",
"type": "line",
"suggestedvalues": [
"Regular interurban",
"Regular streetcar"
]
},
"place": {
"label": "Usual storage place",
"example": "Car House 3",
"type": "line",
"suggestedvalues": [
"Car House 1",
"Car House 2",
"Car House 3",
"Car House 4",
"Blakemore Warehouse",
"Branch line",
"Boneyard",
"Hospital Train",
"Atlas spur"
]
},
"track": {
"label": "Usual storage track",
"example": "33",
"type": "number"
},
"spot": {
"label": "Usual storage spot",
"example": "5",
"type": "number",
"suggestedvalues": [
"suggestedvalues": [
"WRM-R999"
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10"
]
]
}
}
Line 88: Line 212:
"mfg-date",
"mfg-date",
"class",
"class",
"len"
"len",
"servicehist_f",
"cond-cosmetic",
"cond-ops",
"cond-service",
"all-weather",
"best-op-weather",
"wheels",
"wrm-role",
"place",
"track",
"spot"
],
],
"format": "block"
"format": "block"

Latest revision as of 04:21, 8 November 2025

{{{num}}}




Used to give summary information about a piece of railway equipment in or otherwise related to BAERA's collection. Also populates the roster.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Former operator rr

no description

Example
Sacramento Northern
Stringrequired
Road numbernum

no description

Example
1005
Stringrequired
Alex Marcopulos database ID with check digitam-id-check

no description

Example
WRM-R9995
Numberoptional
Alex Marcopulos database ID without check digitam-id-raw

no description

Example
WRM-R999
Unknownoptional
Manufacturermfgr

no description

Example
Holman Car Co.
Unknownoptional
Model (as designated by manufacturer)mfg-model

no description

Example
SLRV
Unknownoptional
Year/date of manufacturemfg-date

no description

Example
1930
Dateoptional
Class/model (as designated by railroad)class

no description

Example
Bridge Unit
Stringoptional
Extreme length/track space occupancylen

This is the length of the ends of a piece of railway equipment (i.e. the length over coupler pulling faces, over anticlimbers, over buffers, or over body ends, as the case may be). This determines how much track space the piece of equipment occupies. Values are in feet.

Example
43
Numberoptional
Service historyservicehist_f

Put service history of the car here. Each line is service under a different railroad, following the format "<year> to <year>: <railroad name>".

Example
1900 to 1920: Central California Traction
Stringoptional
Cosmetic conditioncond-cosmetic

no description

Suggested values
Excellent Good Fair Poor Decrepit
Example
Excellent
Lineoptional
Operational statuscond-ops

no description

Suggested values
Operational Operational for non-revenue moves Non-operational
Example
Operational
Lineoptional
Service abilitycond-service

no description

Suggested values
Full Limited Special event Training Shop moves Non-operational
Example
Full
Lineoptional
All-weather abilityall-weather

no description

Example
0
Booleanoptional
Best operating weatherbest-op-weather

no description

Suggested values
Any Warm Cool
Example
Any
Lineoptional
Wheel profilewheels

no description

Suggested values
Railroad Streetcar
Example
Railroad
Lineoptional
Role at WRMwrm-role

no description

Suggested values
Regular interurban Regular streetcar
Example
Regular interurban
Lineoptional
Usual storage placeplace

no description

Suggested values
Car House 1 Car House 2 Car House 3 Car House 4 Blakemore Warehouse Branch line Boneyard Hospital Train Atlas spur
Example
Car House 3
Lineoptional
Usual storage tracktrack

no description

Example
33
Numberoptional
Usual storage spotspot

no description

Suggested values
1 2 3 4 5 6 7 8 9 10
Example
5
Numberoptional