Difference between revisions of "Template:BS"

From blackwiki
Jump to navigation Jump to search
imported>Malyctenar
m (cellspacing)
imported>Kevin Steinhardt
(Reverted back a few edits. In my opinion, this template should be locked.)
Line 1: Line 1:
 +
<includeonly>|-
 +
| style="padding:0; white-space:nowrap;" | <center>
 +
{|  cellspacing=0 cellpadding=0 style="background-color:transparent;"
 
|-
 
|-
| style="padding:0; white-space:nowrap; text-align:center" |
+
{{BS-overlap|{{{1|}}}|{{{O1|}}}|{{{PX|{{BSpx}}}}}}}
{| cellspacing=0 cellpadding=0 style="background:transparent"
 
{{BS-overlap |{{{1|}}}|{{{O1|}}}|{{{PX|{{BSpx}}}}}}}
 
 
|}
 
|}
| style="text-align:right; vertical-align:middle; padding:0 .5em; font-size:80%;" {{{HI|}}}| {{#if: {{{km|}}} | {{{km}}} | {{{2|}}} }}
+
</center>
| {{#if: {{{5|}}} ||colspan="2"}} | {{{3|}}} <span style="font-size:80%;">{{{4|}}}</span>
+
| style="text-align:right; vertical-align:middle; padding:0 .5em; font-size:80%;" {{{HI|}}}| {{#if: {{{km|}}}|{{{km}}}|{{{2|}}}}}
{{#if: {{{5|}}} |{{!}} style="text-align:right; padding-left:.5em; font-size:80%; white-space:nowrap;" {{!}} {{{5}}}
+
| {{#if: {{{5|}}}||colspan="2"}} |{{{3|}}} <span style="font-size:80%;">{{{4|}}}</span>
}}<noinclude>
+
{{#if: {{{5|}}}|{{!}} style="text-align:right; padding-left:.5em; font-size:80%; white-space:nowrap;" {{!}} {{{5}}}
 +
|}}</includeonly><noinclude>
  
 
Template for ''BS-table'' row comprising two symbols.
 
Template for ''BS-table'' row comprising two symbols.
 
+
* Parameter1: ID of 1st Image (<code>leer</code> or leave blank for no symbol)
# Parameter1: ID of 1st Image (<code>leer</code> or leave blank for no symbol)
+
* Parameter2: mileage
# Parameter2: mileage
+
* Parameter3: Name
# Parameter3: Name
+
* Parameter4: Note 1
# Parameter4: Note 1
+
* Parameter5: Note 2 - right-aligned
# Parameter5: Note 2 - right-aligned
+
** designated parameter PX: Width of image ( e.g. PX=50px), default {{BSpx}}  
#* named parameter PX: Width of image ( e.g. PX=50px), default {{BSpx}}  
+
** designated parameter HI: Use CSS class "highlight", in order to emphasize certain sections, example see Seetalbahn  
#* named 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)
#* named parameter O1: ID of the '''O'''verlapping image on the 1st image (i.e. the only image)
 
  
 
{{BS warning}}
 
{{BS warning}}
[[Category:German rail line templates|BS]]
+
[[Category:German rail line templates]]
 +
[[Category:German rail line templates needing translation]]
  
 
[[de:Vorlage:BS]]
 
[[de:Vorlage:BS]]

Revision as of 19:23, 28 July 2008


Template for BS-table row comprising two symbols.

  • Parameter1: ID of 1st Image (leer or leave blank for no symbol)
  • 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
    • designated parameter O1: ID of the Overlapping image on the 1st image (i.e. the only image)

de:Vorlage:BS eo:Ŝablono:SP es:Plantilla:BS fr:Modèle:BS hu:Sablon:BS id:Templat:BS ja:Template:BS nl:Sjabloon:SP no:Mal:JBS pt:Predefinição:BS sv:Mall:BS zh:Template:BS