Difference between revisions of "Template:Infobox locomotive"

From Train Control Systems Documentation
Jump to navigation Jump to search
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
|above = {{{name|{{PAGENAME}}}}}
+
|above = {{{name|{{PAGENAMEBASE}}}}}
  
 
|image    = {{#if:{{{image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}|sizedefault=300x300px|alt={{{alt|}}}}}}}
 
|image    = {{#if:{{{image|}}}|{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|}}}|sizedefault=300x300px|alt={{{alt|}}}}}}}
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
Line 12: Line 13:
 
  |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 -->

Revision as of 16:57, 16 December 2019

Template:PAGENAMEBASE
Decoder Information
Template documentation[create]