Difference between revisions of "Template:BS"

From blackwiki
Jump to navigation Jump to search
imported>Peterwhy
(upgrade)
imported>DavidArthur
(Revert: the last edit appears to have broken diagrams that mix BS/BS3/BS5 etc.)
Line 1: Line 1:
 
|-
 
|-
| style="text-align:center; padding:0; white-space:nowrap;" |  
+
| style="text-align:center; padding:0;" | {{#if: {{{1|}}}|[[Image:BSicon_{{{1}}}.svg{{!}}{{{PX{{!}}20px}}}]]}}  
{|  cellspacing=0 cellpadding=0 style="background-color:transparent;"
 
|-
 
{{BS-overlap|{{{1|}}}|{{{O1|}}}|{{{PX|20px}}}}}
 
|}
 
 
| style="text-align:right; vertical-align:middle; padding:0 .5em; font-size:80%;" {{{HI|}}}| {{#if: {{{km|}}}|{{{km}}}|{{{2|}}}}}
 
| style="text-align:right; vertical-align:middle; padding:0 .5em; font-size:80%;" {{{HI|}}}| {{#if: {{{km|}}}|{{{km}}}|{{{2|}}}}}
| {{#if: {{{5|}}}||colspan="2"}} |{{{3|}}} <span style="font-size:80%;">{{{4|}}}</span>
+
| {{#if: {{{5|}}}||colspan="2"}} | {{{3|}}} <span style="font-size:80%">{{{4|}}}</span>
 
{{#if: {{{5|}}}|{{!}} style="text-align:right; padding-left:.5em; font-size:80%; white-space:nowrap;" {{!}} {{{5}}}
 
{{#if: {{{5|}}}|{{!}} style="text-align:right; padding-left:.5em; font-size:80%; white-space:nowrap;" {{!}} {{{5}}}
 
|}}<noinclude>
 
|}}<noinclude>
Line 18: Line 14:
 
** designated parameter PX: Width of image ( e.g. PX=50px), default 20px  
 
** designated parameter PX: Width of image ( e.g. PX=50px), default 20px  
 
** designated parameter HI: Use CSS class "highlight", in order to emphasize certain sections, example see Seetalbahn  
 
** designated parameter HI: Use CSS class "highlight", in order to emphasize certain sections, example see Seetalbahn  
** designated parameter O1: ID of the '''O'''verlapping image on the 1st image (i.e. the only image)
 
  
 
{{BS warning}}
 
{{BS warning}}

Revision as of 00:23, 17 November 2007

|- | style="text-align:center; padding:0;" | | style="text-align:right; vertical-align:middle; padding:0 .5em; font-size:80%;" | | colspan="2" |


Template for BS-table row comprising one symbol.

  • Parameter1: ID of Image
  • Parameter2: mileage
  • Parameter3: Name
  • Parameter4: Note 1
  • Parameter5: Note 2 - right-aligned
    • designated parameter PX: Width of image ( e.g. PX=50px), default 20px
    • designated parameter HI: Use CSS class "highlight", in order to emphasize certain sections, example see Seetalbahn

pt:Predefinição:BS