Difference between revisions of "Template:BS4"

From blackwiki
Jump to navigation Jump to search
imported>Peterwhy
(fix Firefox alignment problem)
imported>Jc86035
m
 
(50 intermediate revisions by 21 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|}}}}}\{{{3|}}}{{{{{|safesubst:}}}#if:{{{O3|}}}|!~{{{O3|}}}}}{{{{{|safesubst:}}}#if:{{{O32|}}}|!~{{{O32|}}}}}{{{{{|safesubst:}}}#if:{{{O33|}}}|!~{{{O33|}}}}}{{{{{|safesubst:}}}#if:{{{O34|}}}|!~{{{O34|}}}}}{{{{{|safesubst:}}}#if:{{{O35|}}}|!~{{{O35|}}}}}\{{{4|}}}{{{{{|safesubst:}}}#if:{{{O4|}}}|!~{{{O4|}}}}}{{{{{|safesubst:}}}#if:{{{O42|}}}|!~{{{O42|}}}}}{{{{{|safesubst:}}}#if:{{{O43|}}}|!~{{{O43|}}}}}{{{{{|safesubst:}}}#if:{{{O44|}}}|!~{{{O44|}}}}}{{{{{|safesubst:}}}#if:{{{O45|}}}|!~{{{O45|}}}}}{{{{{|safesubst:}}}#if:{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}|{{{{{|safesubst:}}}#if:{{{5|}}}{{{7|}}}{{{8|}}}|{{{{{|safesubst:}}}#if:{{{6|}}}|{{{{{|safesubst:}}}#if:{{{5|}}}|~~{{{5|}}}~~{{{6|}}}|~~ ~~{{{6|}}}}}|{{{{{|safesubst:}}}#if:{{{5|}}}|~~{{{5|}}}~|~~ ~}}{{{{{|safesubst:}}}#if:{{{7|}}}|~ ~|{{{{{|safesubst:}}}#if:{{{8|}}}|~ ~~ ~}}}}~}}{{{{{|safesubst:}}}#if:{{{7|}}}|{{{{{|safesubst:}}}#if:{{{6|}}}|~~}}{{{7|}}}{{{{{|safesubst:}}}#if:{{{8|}}}|~~{{{8|}}}}}|{{{{{|safesubst:}}}#if:{{{8|}}}|{{{{{|safesubst:}}}#if:{{{6|}}}|~~ ~~}}{{{8|}}}}}}}|~~{{{6|}}}}}}}|{{BSrow
| style="padding:0; white-space:nowrap;" | <center>
+
|1={{BS-overlap|border={{{border|}}}|{{{PX|{{BSpx}}}}}|{{{1|}}}|{{{O1|}}}|{{{O12|}}}|{{{O13|}}}|{{{O14|}}}|{{{O15|}}}|link={{{L1|file:}}}|alt={{{alt1|#default}}}}}
{| cellspacing=0 cellpadding=0 style="background-color:transparent;"
+
{{BS-overlap|border={{{border|}}}|{{{PX2|{{#if: {{{PX|}}}|{{{PX}}}|{{BSpx}}}}}}}|{{{2|}}}|{{{O2|}}}|{{{O22|}}}|{{{O23|}}}|{{{O24|}}}|{{{O25|}}}|link={{{L2|file:}}}|alt={{{alt2|#default}}}}}
|-
+
{{BS-overlap|border={{{border|}}}|{{{PX3|{{#if: {{{PX|}}}|{{{PX}}}|{{BSpx}}}}}}}|{{{3|}}}|{{{O3|}}}|{{{O32|}}}|{{{O33|}}}|{{{O34|}}}|{{{O35|}}}|link={{{L3|file:}}}|alt={{{alt3|#default}}}}}
{{BS-overlap|{{{1|}}}|{{{O1|}}}|{{{PX|20px}}}}}
+
{{BS-overlap|border={{{border|}}}|{{{PX4|{{#if: {{{PX|}}}|{{{PX}}}|{{BSpx}}}}}}}|{{{4|}}}|{{{O4|}}}|{{{O42|}}}|{{{O43|}}}|{{{O44|}}}|{{{O45|}}}|link={{{L4|file:}}}|alt={{{alt4|#default}}}}}
{{BS-overlap|{{{2|}}}|{{{O2|}}}|{{{PX|20px}}}}}
+
|2={{{5|}}}
{{BS-overlap|{{{3|}}}|{{{O3|}}}|{{{PX|20px}}}}}
+
|3={{{6|}}}
{{BS-overlap|{{{4|}}}|{{{O4|}}}|{{{PX|20px}}}}}
+
|4={{{7|}}}
|}
+
|5={{{8|}}}
</center>
+
|bg={{{bg|}}}
| style="text-align:right; vertical-align:middle; padding:0 .5em; font-size:80%;" {{{HI|}}}| {{#if: {{{km|}}}|{{{km}}}|{{{5|}}}}}
+
|HI={{{HI|}}}
| {{#if: {{{8|}}}||colspan="2"}} |{{{6|}}} <span style="font-size:80%;">{{{7|}}}</span>
+
|km={{{km|}}}
{{#if: {{{8|}}}|{{!}} style="text-align:right; padding-left:.5em; font-size:80%; white-space:nowrap;" {{!}} {{{8}}}
+
|tw={{{tw|}}}
|}}<noinclude>
+
|pad2={{{pad2|}}}
 
+
}}}}</includeonly><noinclude>{{doc}}
Template for '''BS-table''' row comprising four symbols.
 
* Parameter1: ID of 1st Image (<code>leer</code> or leave blank for no symbol)
 
* Parameter2: ID of 2nd Image (<code>leer</code> or leave blank for no symbol)
 
* Parameter3: ID of 3rd Image (<code>leer</code> or leave blank for no symbol)
 
* Parameter4: ID of 4th Image (<code>leer</code> or leave blank for no symbol)
 
* Parameter5: mileage
 
* Parameter6: Name
 
* Parameter7: Note 1
 
* Parameter8: 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, O2, O3, O4: ID of the '''O'''verlapping image on the 1st, 2nd, 3rd or 4th image respectvely
 
 
 
{{BS warning}}
 
[[Category:German rail line templates]]
 
[[Category:German rail line templates needing translation]]
 
 
 
[[pt:Predefinição:BS4]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 09:30, 12 September 2015

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

See project:ROUTE for usage instruction.