Difference between revisions of "Template:Infobox carriage"

From SVR Wiki
Jump to: navigation, search
(see if I can get it to work for carriages too)
 
m (add links)
 
(7 intermediate revisions by 2 users not shown)
Line 13: Line 13:
 
{{#if:{{{carno|}}} | {{!}}'''Number''' {{!}}{{!}} {{{carno}}} }}  
 
{{#if:{{{carno|}}} | {{!}}'''Number''' {{!}}{{!}} {{{carno}}} }}  
 
|-  
 
|-  
{{#if:{{{othernos|}}} | {{!}}'''Other Numbers''' {{!}}{{!}} {{{othernos}}} }}  
+
{{#if:{{{livery|}}} | {{!}}'''Livery''' {{!}}{{!}} {{{livery}}} }}
 +
|-
 +
{{#if:{{{othernos|}}} | {{!}}'''[[Carriage and Wagon numbering|Other numbers]]''' {{!}}{{!}} {{{othernos}}} }}  
 
|-  
 
|-  
 
{{#if:{{{built|}}} {{{built|}}}  | !colspan="2" align="center" bgcolor="#efefef" style="text-align: center;" {{!}} History }}
 
{{#if:{{{built|}}} {{{built|}}}  | !colspan="2" align="center" bgcolor="#efefef" style="text-align: center;" {{!}} History }}
Line 20: Line 22:
 
|-
 
|-
 
{{#if:{{{designed|}}} | {{!}}'''Designed By''' {{!}}{{!}} {{{designed}}} }}  
 
{{#if:{{{designed|}}} | {{!}}'''Designed By''' {{!}}{{!}} {{{designed}}} }}  
 +
|-
 +
{{#if:{{{diagram|}}} | {{!}}'''[[GWR Coaching Stock and Wagon Diagrams|Diagram]]''' {{!}}{{!}} {{{diagram}}} }}
 +
|-
 +
{{#if:{{{lot|}}} | {{!}}'''Lot''' {{!}}{{!}} {{{lot}}} }}
 
|-
 
|-
 
{{#if:{{{cartype|}}} | {{!}}'''Type''' {{!}}{{!}} {{{cartype}}} }}  
 
{{#if:{{{cartype|}}} | {{!}}'''Type''' {{!}}{{!}} {{{cartype}}} }}  
 +
|-
 +
{{#if:{{{topscode|}}} | {{!}}'''[[TOPS codes|TOPS code]]''' {{!}}{{!}} {{{topscode}}} }}
 +
|-
 +
{{#if:{{{length|}}} | {{!}}'''Length''' {{!}}{{!}} {{{length}}} }}
 +
|-
 +
{{#if:{{{weight|}}} | {{!}}'''Weight''' {{!}}{{!}} {{{weight}}} }}
 
|-
 
|-
 
{{#if:{{{seats|}}} | {{!}}'''Seats''' {{!}}{{!}} {{{seats}}} }}  
 
{{#if:{{{seats|}}} | {{!}}'''Seats''' {{!}}{{!}} {{{seats}}} }}  
Line 49: Line 61:
 
Sample infobox to copy & paste
 
Sample infobox to copy & paste
  
{{Infobox Carriages
+
{{Infobox carriage
 
|image      =  
 
|image      =  
 
|caption    =  
 
|caption    =  
Line 55: Line 67:
 
|status    =  
 
|status    =  
 
|carno      =  
 
|carno      =  
 +
|livery    =
 
|othernos  =  
 
|othernos  =  
 
|designed  =  
 
|designed  =  
|cartype    =  
+
|diagram    =
 +
|lot        = 
 +
|cartype    =
 +
|topscode  =
 +
|topscode  =
 +
|length    =
 +
|weight    =
 +
|seats      =  
 
|built      =  
 
|built      =  
 
|years1    =  
 
|years1    =  

Latest revision as of 17:15, 27 January 2021

{{{name}}}
[[Image:{{{image}}}|275px|]]
{{{caption}}}
{{{footnotes}}}

Carriages