Template:BS3: Difference between revisions

From CivWiki
Jump to navigation Jump to search
Content added Content deleted
m (Welsh interwiki link)
m (97 revisions imported from wikipedia:Template:BS3: this one is missing for the BS map to work)
 
(40 intermediate revisions by 20 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|}}}}}{{{{{|safesubst:}}}#if:{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}|{{{{{|safesubst:}}}#if:{{{4|}}}{{{6|}}}{{{7|}}}|{{{{{|safesubst:}}}#if:{{{5|}}}|{{{{{|safesubst:}}}#if:{{{4|}}}|~~{{{4|}}}~~{{{5|}}}|~~ ~~{{{5|}}}}}|{{{{{|safesubst:}}}#if:{{{4|}}}|~~{{{4|}}}~|~~ ~}}{{{{{|safesubst:}}}#if:{{{6|}}}|~ ~|{{{{{|safesubst:}}}#if:{{{7|}}}|~ ~~ ~}}}}~}}{{{{{|safesubst:}}}#if:{{{6|}}}|{{{{{|safesubst:}}}#if:{{{5|}}}|~~}}{{{6|}}}{{{{{|safesubst:}}}#if:{{{7|}}}|~~{{{7|}}}}}|{{{{{|safesubst:}}}#if:{{{7|}}}|{{{{{|safesubst:}}}#if:{{{5|}}}|~~ ~~}}{{{7|}}}}}}}|~~{{{5|}}}}}}}|{{BSrow
<includeonly>|-
|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;text-align:center;" bgcolor={{{bg|transparent}}}|
{{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="padding:0;margin:0 auto;background-color:transparent;"
{{BS-overlap|border={{{border|}}}|{{{PX3|{{#if: {{{PX|}}}|{{{PX}}}|{{BSpx}}}}}}}|{{{3|}}}|{{{O3|}}}|{{{O32|}}}|{{{O33|}}}|{{{O34|}}}|{{{O35|}}}|link={{{L3|file:}}}|alt={{{alt3|#default}}}}}
|-
|2={{{4|}}}
{{BS-overlap|{{{1|}}}|{{{O1|}}}|{{{PX|{{BSpx}}}}}}}
|3={{{5|}}}
{{BS-overlap|{{{2|}}}|{{{O2|}}}|{{{PX2|{{#if: {{{PX|}}}|{{{PX}}}|{{BSpx}}}}}}}}}
|4={{{6|}}}
{{BS-overlap|{{{3|}}}|{{{O3|}}}|{{{PX3|{{#if: {{{PX|}}}|{{{PX}}}|{{BSpx}}}}}}}}}
|5={{{7|}}}
|}
|bg={{{bg|}}}
| style="text-align:right; vertical-align:middle; padding:0 .5em; font-size:80%;" {{{HI|}}}| {{#if: {{{km|}}}|{{{km}}}|{{{4|}}}}}
|HI={{{HI|}}}
| {{#if: {{{7|}}}||colspan="2"}} {{#if:{{{tw|}}}|width={{{tw}}}|}}|{{{5|}}} <span style="font-size:80%;">{{{6|}}}</span>
|km={{{km|}}}
{{#if: {{{7|}}}|{{!}} style="text-align:right; padding-left:.5em; font-size:80%; white-space:nowrap;" {{!}} {{{7}}}
|tw={{{tw|}}}
|}}</includeonly><noinclude>
|pad2={{{pad2|}}}
{{template shortcut|bs3}}
}}}}</includeonly><noinclude>{{documentation}}</noinclude>
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: mileage
* Parameter5: Name
* Parameter6: Note 1
* Parameter7: Note 2 - right-aligned
** designated parameter PX: Global width of all images or the particular width of 1st image (e.g. PX=50px), default {{BSpx}}
*** designated parameter PX2, PX3: Width of the 2nd and 3rd image respectively, they apply the result of PX by default
** designated parameter bg: Use color name or RGB code to "highlight", in order to emphasize certain sections
** designated parameter tw: width of the text column. This is especially required for joining the icons cohesively when the text length in the "normal" BS row template text column isn't wide enough to override the BS row collapsible section(s).
** designated parameter O1, O2, O3: ID of the '''O'''verlapping image on the 1st, 2nd or 3rd image respectvely

{{BS warning}}
[[Category:Rail routemap templates]]

[[cy:Nodyn:BS3]]
[[de:Vorlage:BS3]]
[[eo:Ŝablono:SP3]]
[[es:Plantilla:BS3]]
[[fr:Modèle:BS3bis]]
[[hu:Sablon:BS3]]
[[id:Templat:BS3]]
[[ja:Template:BS3]]
[[ka:თარგი:BS3]]
[[nl:Sjabloon:SP3]]
[[no:Mal:JBS3]]
[[pt:Predefinição:BS3]]
[[ru:Шаблон:BS3]]
[[sv:Mall:BS3]]
[[yi:מוסטער:באן ליניע אפט3]]
[[zh:Template:BS3]]
</noinclude>

Latest revision as of 18:44, 15 February 2021

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

See Project:ROUTE for usage instruction.