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 Wikipedia:Route diagram template table. If your map is transcluded in another infobox, you may consider using {{BS-table3}} in the map template rather than this one.

Parameters

قالب:BS-map/parameters

An infobox template to contain the diagram created with Route Diagram Template standard.

وسائط القالب

وسيطوصفنوعحالة
Additional CSSstyle

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 of the whole box.width

Width of the whole box. Can be overridden by style entry.

غيابي
نصاختياري
Background color of the title bartitle-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 template colorbox or icon image next to the title text.

غيابي
white
نصاختياري
navbar on box headernavbar

Specify the template name if your map is written in a separated template page, it will include a mini bracketed template Navbar in the title bar. Leave this parameter blank if you directly use this template in the article.

غيابي
نصاختياري
collapsible or notcollapsible

Allow the box collapsible or not.

غيابي
yes
نصاختياري
Collapse statecollapse

Collapse state of the whole box. For templates that are collapsed, it is recommended to use the string “|collapse = {{{collapse|<includeonly>yes</includeonly>}}}” so that the template will display in expanded form when viewing the template's page.

غيابي
no
نصاختياري
Legend page linklegend

Legend page link

غيابي
route
نصاختياري
1st map spacemap

Add BSn row templates in this parameter to construct a diagram.

غيابي
نصاختياري
2nd map spacemap2

Add BSn row templates in this parameter to construct a diagram.

غيابي
نصاختياري
3rd map spacemap3

Add BSn row templates in this parameter to construct a diagram.

غيابي
نصاختياري
4th map spacemap4

Add BSn row templates in this parameter to construct a diagram.

غيابي
نصاختياري
5th map spacemap5

Add BSn row templates in this parameter to construct a diagram.

غيابي
نصاختياري
6th map spacemap6

Add BSn row templates in this parameter to construct a diagram.

غيابي
نصاختياري
7th map spacemap7

Add BSn row templates in this parameter to construct a diagram.

غيابي
نصاختياري
8th map spacemap8

Add BSn row templates in this parameter to construct a diagram.

غيابي
نصاختياري
9th map spacemap9

Add BSn row templates in this parameter to construct a diagram.

غيابي
نصاختياري
10th map spacemap10

Add BSn row templates in this parameter to construct a diagram.

غيابي
نصاختياري
map titlemap-title

Optional title for map

غيابي
نصاختياري
map2 titlemap2-title

Optional title for map2

غيابي
نصاختياري
map3 titlemap3-title

Optional title for map3

غيابي
نصاختياري
map4 titlemap4-title

Optional title for map4

غيابي
نصاختياري
map5 titlemap5-title

Optional title for map5

غيابي
نصاختياري
map6 titlemap6-title

Optional title for map6

غيابي
نصاختياري
map7 titlemap7-title

Optional title for map7

غيابي
نصاختياري
map8 titlemap8-title

Optional title for map8

غيابي
نصاختياري
map9 titlemap9-title

Optional title for map9

غيابي
نصاختياري
map10 titlemap10-title

Optional title for map10

غيابي
نصاختياري
Collapsible or not of mapmap-collapsible

Allow the map collapsible or not. no by default, yes will call the expand collapse button. You MUST have something written in the mapn-title otherwise the mapn-collapsible alone is not enough to turn it on.

غيابي
no
نصاختياري
Collapsible or not of map2map2-collapsible

Allow the map collapsible or not. no by default, yes will call the expand collapse button. You MUST have something written in the mapn-title otherwise the mapn-collapsible alone is not enough to turn it on.

غيابي
no
نصاختياري
Collapsible or not of map3map3-collapsible

Allow the map collapsible or not. no by default, yes will call the expand collapse button. You MUST have something written in the mapn-title otherwise the mapn-collapsible alone is not enough to turn it on.

غيابي
no
نصاختياري
Collapsible or not of map4map4-collapsible

Allow the map collapsible or not. no by default, yes will call the expand collapse button. You MUST have something written in the mapn-title otherwise the mapn-collapsible alone is not enough to turn it on.

غيابي
no
نصاختياري
Collapsible or not of map5map5-collapsible

Allow the map collapsible or not. no by default, yes will call the expand collapse button. You MUST have something written in the mapn-title otherwise the mapn-collapsible alone is not enough to turn it on.

غيابي
no
نصاختياري
Collapsible or not of map6map6-collapsible

Allow the map collapsible or not. no by default, yes will call the expand collapse button. You MUST have something written in the mapn-title otherwise the mapn-collapsible alone is not enough to turn it on.

غيابي
no
نصاختياري
Collapsible or not of map7map7-collapsible

Allow the map collapsible or not. no by default, yes will call the expand collapse button. You MUST have something written in the mapn-title otherwise the mapn-collapsible alone is not enough to turn it on.

غيابي
no
نصاختياري
Collapsible or not of map8map8-collapsible

Allow the map collapsible or not. no by default, yes will call the expand collapse button. You MUST have something written in the mapn-title otherwise the mapn-collapsible alone is not enough to turn it on.

غيابي
no
نصاختياري
Collapsible or not of map9map9-collapsible

Allow the map collapsible or not. no by default, yes will call the expand collapse button. You MUST have something written in the mapn-title otherwise the mapn-collapsible alone is not enough to turn it on.

غيابي
no
نصاختياري
Collapsible or not of map10map10-collapsible

Allow the map collapsible or not. no by default, yes will call the expand collapse button. You MUST have something written in the mapn-title otherwise the mapn-collapsible alone is not enough to turn it on.

غيابي
no
نصاختياري
Collapse state of mapmap-collapse

yes for collapsing, no by default.

غيابي
no
نصاختياري
Collapse state of map2map2-collapse

yes for collapsing, no by default.

غيابي
no
نصاختياري
Collapse state of map3map3-collapse

yes for collapsing, no by default.

غيابي
no
نصاختياري
Collapse state of map4map4-collapse

yes for collapsing, no by default.

غيابي
no
نصاختياري
Collapse state of map5map5-collapse

yes for collapsing, no by default.

غيابي
no
نصاختياري
Collapse state of map6map6-collapse

yes for collapsing, no by default.

غيابي
no
نصاختياري
Collapse state of map7map7-collapse

yes for collapsing, no by default.

غيابي
no
نصاختياري
Collapse state of map8map8-collapse

yes for collapsing, no by default.

غيابي
no
نصاختياري
Collapse state of map9map9-collapse

yes for collapsing, no by default.

غيابي
no
نصاختياري
Collapse state of map10map10-collapse

yes for collapsing, no by default.

غيابي
no
نصاختياري
Optional note above the map.top

This is also the good place to include the template BS-Infobox or template Infobox UK railway for lining up image, line length and other information.

غيابي
نصاختياري
Optional note below the map.bottom

This is also the good place to include the template Navbar if you do not want to display it in the title bar.

غيابي
نصاختياري

Usage

{{BS-map
|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 it is float to right by default. If you want to align it to center or left, you need to apply the style parameter by adding float:none; margin:auto or float:left respectively. Alternatively you can include this template in another table which aligns to center or left like so:
{|align=center
|
{{BS-map}}
|}
  • 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

     Station layout
Platform level
Platform level
طول الخط: 500 متر
عرض السكة: 1٬435 mm (4 ft 8+12 in)
Scissors crossover
Side platforms

† المخطط غير مرسوم بمقياس رسم

<pre.raw style="border:0px;overflow:auto;"> {{BS-map |title = {{colorbox|orange}} Station layout |top = {{bs-infobox |image = Placeholder.png |image_size = 150px |caption = Platform level |length = 500 متر |gauge = {{railgauge|standard}} }} |legend = track |map = {{BS2|STR|STR}} {{bs2-sc|STRg|STRf||}} {{BS2|KRWgl+l|KRWgr+r||[[Scissors crossover]]}} {{!}}} {{BS2|STR|STR}} {{BS2|STR+BSr|STR+BSl||[[Side platform]]s|tw=105px}} {{BS2|STR+BSr|STR+BSl}} {{BS2|STRg|STRf||}} |bottom = † المخطط غير مرسوم بمقياس رسم }}