Difference between revisions of "Template:BS2"

From blackwiki
Jump to navigation Jump to search
imported>Pencefn
(Undid revision 152638372 by Max Schwarz (talk) - gaps have reappeared)
imported>Primefac
m (Changed protection level for "Template:BS2": high-risk template with 2000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
 
(55 intermediate revisions by 23 users not shown)
Line 1: Line 1:
|-
+
<includeonly>{{{{{|safesubst:}}}#ifeq:{{subst:substcheck}}|SUBST|{{{1|}}}{{{{{|safesubst:}}}#if:{{{O1|}}}|!~{{{O1|}}}}}{{{{{|safesubst:}}}#if:{{{O12|}}}|!~{{{O12|}}}}}{{{{{|safesubst:}}}#if:{{{O13|}}}|!~{{{O13|}}}}}{{{{{|safesubst:}}}#if:{{{O14|}}}|!~{{{O14|}}}}}{{{{{|safesubst:}}}#if:{{{O15|}}}|!~{{{O15|}}}}}\{{{2|}}}{{{{{|safesubst:}}}#if:{{{O2|}}}|!~{{{O2|}}}}}{{{{{|safesubst:}}}#if:{{{O22|}}}|!~{{{O22|}}}}}{{{{{|safesubst:}}}#if:{{{O23|}}}|!~{{{O23|}}}}}{{{{{|safesubst:}}}#if:{{{O24|}}}|!~{{{O24|}}}}}{{{{{|safesubst:}}}#if:{{{O25|}}}|!~{{{O25|}}}}}{{{{{|safesubst:}}}#if:{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}|{{{{{|safesubst:}}}#if:{{{3|}}}{{{5|}}}{{{6|}}}|{{{{{|safesubst:}}}#if:{{{4|}}}|{{{{{|safesubst:}}}#if:{{{3|}}}|~~{{{3|}}}~~{{{4|}}}|~~ ~~{{{4|}}}}}|{{{{{|safesubst:}}}#if:{{{3|}}}|~~{{{3|}}}~|~~ ~}}{{{{{|safesubst:}}}#if:{{{5|}}}|~ ~|{{{{{|safesubst:}}}#if:{{{6|}}}|~ ~~ ~}}}}~}}{{{{{|safesubst:}}}#if:{{{5|}}}|{{{{{|safesubst:}}}#if:{{{4|}}}|~~}}{{{5|}}}{{{{{|safesubst:}}}#if:{{{6|}}}|~~{{{6|}}}}}|{{{{{|safesubst:}}}#if:{{{6|}}}|{{{{{|safesubst:}}}#if:{{{4|}}}|~~ ~~}}{{{6|}}}}}}}|~~{{{4|}}}}}}}|{{BSrow
| style="text-align:center; padding:0; white-space:nowrap;" | [[Image:BSicon_{{#IFEQ:{{{1}}}||leer|{{{1|leer}}}}}.svg|{{{PX|20px}}}]][[Image:BSicon_{{#IFEQ:{{{2}}}||leer|{{{2|leer}}}}}.svg|{{{PX|20px}}}]]
+
|1={{BS-overlap|border={{{border|}}}|{{{PX|{{BSpx}}}}}|{{{1|}}}|{{{O1|}}}|{{{O12|}}}|{{{O13|}}}|{{{O14|}}}|{{{O15|}}}|link={{{L1|file:}}}|alt={{{alt1|#default}}}}}
| style="text-align:right; vertical-align:middle; padding:0 .5em; font-size:80%;" {{{HI|}}}| {{#if: {{{km|}}}|{{{km}}}|{{{3|}}}}}
+
{{BS-overlap|border={{{border|}}}|{{{PX2|{{#if: {{{PX|}}}|{{{PX}}}|{{BSpx}}}}}}}|{{{2|}}}|{{{O2|}}}|{{{O22|}}}|{{{O23|}}}|{{{O24|}}}|{{{O25|}}}|link={{{L2|file:}}}|alt={{{alt2|#default}}}}}
| {{#if: {{{6|}}}||colspan="2"}} | {{{4|}}} <span style="font-size:80%;">{{{5|}}}</span>
+
|2={{{3|}}}
{{#if: {{{6|}}}|{{!}} style="text-align:right; padding-left:.5em; font-size:80%; white-space:nowrap;" {{!}} {{{6}}}
+
|3={{{4|}}}
|}}<noinclude>
+
|4={{{5|}}}
 
+
|5={{{6|}}}
Template for ''BS-table'' row comprising two symbols.
+
|bg={{{bg|}}}
* Parameter1: ID of 1st Image (<code>leer</code> or leave blank for no symbol)
+
|HI={{{HI|}}}
* Parameter2: ID of 2nd Image (<code>leer</code> or leave blank for no symbol)
+
|km={{{km|}}}
* Parameter3: mileage
+
|tw={{{tw|}}}
* Parameter4: Name
+
|pad2={{{pad2|}}}
* Parameter5: Note 1
+
}}}}</includeonly><noinclude>{{doc}}</noinclude>
* Parameter6: 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
 
 
 
{{BS warning}}
 
[[Category:German rail line templates]]
 
[[Category:German rail line templates needing translation]]
 
</noinclude>
 

Latest revision as of 17:02, 23 February 2018

Template documentation[view] [edit] [history] [purge]

See Project:ROUTE for usage instruction.