Difference between revisions of "Template:Infobox locomotive"

From Train Control Systems Documentation
Jump to navigation Jump to search
("whats this" for decoder info)
 
(13 intermediate revisions by 3 users not shown)
Line 6: Line 6:
  
 
<!-- MODEL INFORMATION -->
 
<!-- MODEL INFORMATION -->
 +
|data1    = {{#if:{{{Manufacturer|}}}{{{Stock Number|}}}{{{Scale|}}}{{{Power Type|}}}{{{Release Date|}}}{{{Retail Price|}}}|
 
  {{infobox
 
  {{infobox
 
  |bodyclass=collapsible
 
  |bodyclass=collapsible
 
  |bodystyle={{Subinfobox bodystyle}}
 
  |bodystyle={{Subinfobox bodystyle}}
  |abovestyle = background-color: #eeb47f; font-size:100%; padding-left:3em;
+
  |abovestyle = background-color: #16A085; font-size:100%; padding-left:3em;
 
  |above  = Model Information
 
  |above  = Model Information
 
  |labelstyle  = padding-top:0.225em; line-height:1.15em; padding-right:0.75em; width:36%;
 
  |labelstyle  = padding-top:0.225em; line-height:1.15em; padding-right:0.75em; width:36%;
 
+
|data1    = {{{hatnote|}}}
 
|label2  = Manufacturer
 
|label2  = Manufacturer
  |data2  = {{{Manufacturer}}}
+
  |data2  = {{{Manufacturer|}}}
 
|label3  = Stock Number
 
|label3  = Stock Number
 
  |data3  = {{{Stock Number|}}}
 
  |data3  = {{{Stock Number|}}}
Line 25: Line 26:
 
|label7  = Retail Price
 
|label7  = Retail Price
 
  |data7  = {{{Retail Price|}}}
 
  |data7  = {{{Retail Price|}}}
}}  
+
}} }}
  
 
<!-- DECODER DETAILS -->
 
<!-- DECODER DETAILS -->
Line 31: Line 32:
 
  |bodyclass=collapsible
 
  |bodyclass=collapsible
 
  |bodystyle={{Subinfobox bodystyle}}
 
  |bodystyle={{Subinfobox bodystyle}}
  |abovestyle = background-color: #eeb47f; font-size:100%; padding-left:3em;
+
  |abovestyle = background-color: #16A085; font-size:100%; padding-left:3em;
 
  |above  = Decoder Information
 
  |above  = Decoder Information
 
  |labelstyle  = padding-top:0.225em; line-height:1.15em; padding-right:0.75em; width:36%;
 
  |labelstyle  = padding-top:0.225em; line-height:1.15em; padding-right:0.75em; width:36%;
  
|label8  = Decoder Type
+
|label8  = Decoder Type[[{{NAMESPACE}}:CV_249|(?)]]
 
  |data8  = {{{Decoder Type|}}}
 
  |data8  = {{{Decoder Type|}}}
|label9  = Version
+
|label9  = Version[[{{NAMESPACE}}:CV_7|(?)]]
 
  |data9  = {{{Version|}}}
 
  |data9  = {{{Version|}}}
|label0   = Lighting Functions
+
|label10  = Sound Set[[{{NAMESPACE}}:CV_248|(?)]]
  |data10   = {{{Functions|}}}
+
|data10  = {{{Sound Set|}}}
 +
|label11   = Lighting Functions
 +
  |data11   = {{{Functions|}}}
 +
}}
 +
 
 +
<!-- PROTOTYPE INFORMATION -->
 +
{{infobox
 +
|bodyclass=collapsible
 +
|bodystyle={{Subinfobox bodystyle}}
 +
|abovestyle = background-color: #16A085; font-size:100%; padding-left:3em;
 +
|above  = Prototype Information
 +
|labelstyle  = padding-top:0.225em; line-height:1.15em; padding-right:0.75em; width:36%;
 +
 
 +
|label11  = Builder
 +
|data11  = {{{Builder|}}}
 +
|label12  = Build Date
 +
|data12  = {{{Build Date|}}}
 +
|label13  = Total Produced
 +
|data13  = {{{Total Produced|}}}
 +
|label14  = Motive Power
 +
|data14  = {{{Motive Power|}}}
 +
|label15  = Cylinder Cfg
 +
|data15  = {{{Cylinders|}}}
 +
|label16  = Aspiration
 +
|data16  = {{{Aspiration|}}}
 +
|label17  = Power Output
 +
|data17  = {{{Power Output|}}}
 +
|label18  = More Info
 +
|data18  = {{{Prototype Link|}}}
 
}}
 
}}
  

Latest revision as of 00:48, 13 October 2022

Infobox locomotive
Decoder Information
Prototype Information
Template documentation[create]