Difference between revisions of "Template:BS4-2"

From blackwiki
Jump to navigation Jump to search
imported>Sameboat
imported>Primefac
m (Protected "Template:BS4-2": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefin...)
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>|-
+
<includeonly>{{{{{|safesubst:}}}#ifeq:{{subst:substcheck}}|SUBST|{{{{{|safesubst:}}}#if:{{{5|}}}{{{7|}}}|{{{{{|safesubst:}}}#if:{{{7|}}}|{{{7|}}}~{{{{{|safesubst:}}}#if:{{{5|}}}|~{{{5|}}}~|~ ~}}~ ! !|{{{5|}}}! !}}}}{{{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:{{{6|}}}{{{8|}}}{{{9|}}}|{{{{{|safesubst:}}}#if:{{{8|}}}{{{9|}}}|{{{{{|safesubst:}}}#if:{{{6|}}}|~~ ~~{{{6|}}}|~~ ~{{{{{|safesubst:}}}#if:{{{8|}}}|~ ~|{{{{{|safesubst:}}}#if:{{{9|}}}|~ ~~ ~}}}}~}}{{{{{|safesubst:}}}#if:{{{8|}}}|{{{{{|safesubst:}}}#if:{{{6|}}}|~~}}{{{8|}}}{{{{{|safesubst:}}}#if:{{{9|}}}|~~{{{9|}}}}}|{{{{{|safesubst:}}}#if:{{{9|}}}|{{{{{|safesubst:}}}#if:{{{6|}}}|~~ ~~}}{{{9|}}}}}}}|~~{{{6|}}}}}}}|{{BSrow-2
| style="text-align:right; padding:2;" |<span style="font-size:80%;">{{{7|}}}</span> {{{5|}}}
+
|1={{BS-overlap|border={{{border|}}}|{{{PX|{{BSpx}}}}}|{{{1|}}}|{{{O1|}}}|{{{O12|}}}|{{{O13|}}}|{{{O14|}}}|{{{O15|}}}|link={{{L1|file:}}}|alt={{{alt1|#default}}}}}
| style="padding:0; white-space:nowrap;"  bgcolor={{{bg|transparent}}}| <center>
+
{{BS-overlap|border={{{border|}}}|{{{PX2|{{#if: {{{PX|}}}|{{{PX}}}|{{BSpx}}}}}}}|{{{2|}}}|{{{O2|}}}|{{{O22|}}}|{{{O23|}}}|{{{O24|}}}|{{{O25|}}}|link={{{L2|file:}}}|alt={{{alt2|#default}}}}}
{| cellspacing=0 cellpadding=0 style="background-color:transparent"
+
{{BS-overlap|border={{{border|}}}|{{{PX3|{{#if: {{{PX|}}}|{{{PX}}}|{{BSpx}}}}}}}|{{{3|}}}|{{{O3|}}}|{{{O32|}}}|{{{O33|}}}|{{{O34|}}}|{{{O35|}}}|link={{{L3|file:}}}|alt={{{alt3|#default}}}}}
|-
+
{{BS-overlap|border={{{border|}}}|{{{PX4|{{#if: {{{PX|}}}|{{{PX}}}|{{BSpx}}}}}}}|{{{4|}}}|{{{O4|}}}|{{{O42|}}}|{{{O43|}}}|{{{O44|}}}|{{{O45|}}}|link={{{L4|file:}}}|alt={{{alt4|#default}}}}}
{{BS-overlap|{{{1|}}}|{{{O1|}}}|{{{PX|{{BSpx}}}}}}}
+
|2={{{5|}}}
{{BS-overlap|{{{2|}}}|{{{O2|}}}|{{{PX2|{{#if: {{{PX|}}}|{{{PX}}}|{{BSpx}}}}}}}}}
+
|3={{{6|}}}
{{BS-overlap|{{{3|}}}|{{{O3|}}}|{{{PX3|{{#if: {{{PX|}}}|{{{PX}}}|{{BSpx}}}}}}}}}
+
|4={{{7|}}}
{{BS-overlap|{{{4|}}}|{{{O4|}}}|{{{PX4|{{#if: {{{PX|}}}|{{{PX}}}|{{BSpx}}}}}}}}}
+
|5={{{8|}}}
|}
+
|6={{{9|}}}
</center>
+
|bg={{{bg|}}}
|{{#if: {{{9|}}}||colspan="2"}} |{{{6|}}} <span style="font-size:80%;">{{{8|}}}</span>
+
|HI={{{HI|}}}
{{#if: {{{9|}}}|{{!}} style="text-align:right; padding-left:.5em; font-size:80%; white-space:nowrap;" {{!}} {{{9}}}
+
|km={{{km|}}}
|}}</includeonly><noinclude>
+
|tw={{{tw|}}}
 
+
|tw-left={{{tw-left|}}}
{| {{Railway line header}}
+
}}}}</includeonly><noinclude>{{doc}}</noinclude>
{{BS-header|Sample}}
 
{{BS-table}}
 
{{BS4-2|STRlf|HBHF|HBHF|STRlg||Alphaville|Betatown|||- Red Line}}
 
{{BS4-2|||BHF|||Gammaham|(DeltaRail)|(DeltaRail)|}}
 
|}
 
|}
 
{{template shortcut|bs4-2}}
 
Template for '''BS-table''' row comprising eight symbols and notes on either side.
 
* Para1: ID of 1st Image (blank for no symbol)
 
* Para2: ID of 2nd Image (blank for no symbol)
 
* Para3: ID of 3rd Image (blank for no symbol)
 
* Para4: ID of 4th Image (blank for no symbol)
 
* Para5: left name - right-aligned, appears left of icons
 
* Para6: right name - left-aligned, appears right of icons
 
* Para7: left note - right-aligned, appears left of left name
 
* Para8: right note 1 - left-aligned, appears right of right name
 
* Para9: right note 2 - right-aligned, appears right of right note 1
 
** Other designated parameters are the same as its father template {{tl|BS4}}
 
 
 
{{BS warning}}
 
[[Category:Germany railway line templates]]
 
[[Category:Germany railway line templates needing translation]]
 
 
 
</noinclude>
 

Latest revision as of 19:21, 10 January 2018

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

See Project:ROUTE for usage instruction.