This is a shorthand template which groups {{Railway line header}}, {{BS-header}} and {{BS-table}} all in one single entity to ease the creation of standalone Википедия:Маршрутные шаблоны table.

Parameters Үзгәртү

style Additional CSS syntax which defines the style of the whole box. It is useful when you are transcluding this map box into other infobox, e.g. add "border:0px; width:100%" to remove the border and let it fully stretch inside the infobox.
width Width of the whole box. Can be overridden by style entry. No default value because it will void the tw parameter of the BS# row template which is applied to override the text column width of BS# row collapsible section.
title Title of the map.
title-bg Background color of the title bar to indicate the livery color of the subject. But this is preferable not to be applied as per WP:COLOR and instead use {{colorbox}} or icon image next to the title text. White by default.
title-color Font color of title text, please avoid using this parameter as a concern for accessibility of color. Black by default.
navbar Specify the template name if your map is written in a separated template page, it will include a mini bracketed {{Navbar}} in the title bar. Leave this parameter blank if you directly use this template in the article.
collapsible Allow the box collapsible or not. yes by default, no will void the "show/hide" collapsible button. You MUST have something written in the title otherwise the collapsible alone is not enough to turn it on.
collapse Collapse state of the whole box. yes for collapsing, no by default.
legend Legend page link:
map BS row templates which comprise the diagram. No {{BS-table}} is required.
map# # represents 2 to 10. Additional map space. By separating maps into different map parameters, the column alignment of the maps will not implicate to each other. This is useful if you are displaying two maps, one uses the ordinary BS# row templates (single-side text columns) and the other one uses BS#-2 (dual-side text columns) which are not compatible to each other.
# represents 2 to 10. Optional title header for each map.
# represents 2 to 10. Allow the individual map collapsible or not. no by default, yes will call the "show/hide" collapsible button. You MUST have something written in the map#-title otherwise the map#-collapsible alone is not enough to turn it on.
# represents 2 to 10. Collapse state of the individual map. yes for collapsing, no by default.
bg Background color of the whole digram, including the text column in the row templates.
top Optional note above the map. This is also the good place to include {{BS-Infobox}} or {{Infobox UK railway}} for neat data display.
bottom Optional note below the map. Also a good place to include the {{Navbar}} if you do not want to display it in the title bar.

Usage Үзгәртү

|style = 
|title = 
|title-bg = 
|navbar = 
|collapsible = 
|collapse = 
|width = 
|top = 
|legend = 
|bg = 
|map-title = 
|map = 
|map2-title = 
|map2 = 
|bottom = 

Note Үзгәртү

  • Since this template table applies Infobox class which means you cannot directly control its alignment to center or left in style parameter. To override the compulsive right alignment, include this template in another table which aligns to center or left like so:
  • Any manually written new row should replace the | by {{!}}.
  • If you are using in-diagram collapsible section which begins with {{BS-startCollapsible}} or {{BS2-startCollapsible}}, the ending of the collapsible section must be {{!}}} instead of |}. Otherwise the box will end immediately after the collapsible section.

Example Үзгәртү

Калып:Colorbox Station layout 


file:]][[Image:BSicon_20px.svg ]]
file:]][[Image:BSicon_20px.svg ]]
Scissors crossover
Side platforms
† Diagram not to scale

<pre.raw style="border:0px;overflow:auto;"> {{BS-map |title = {{colorbox|orange}} Station layout |top = {{{!}} align=center {{!}} {{BS-Infobox |image = Placeholder.png |image_size = 150px |caption = Platform level |length = 0.5 |gauge = 1435 }} {{!}}} |legend = track |map = {{BS2|STR|STR}} {{BS2-startCollapsible|STRg|STRf||}} {{BS2|KRWgl+l|KRWgr+r||[[Scissors crossover]]}} {{!}}} {{BS2|STR|STR}} {{BS2|STR+BSr|STR+BSl||[[Side platform]]s|tw=110px}} {{BS2|STR+BSr|STR+BSl}} {{BS2|STRg|STRf||}} |bottom = † Diagram not to scale }}