Sjabloon:BS-map/doc

Uit informatiestandaarden
Naar navigatie springen Naar zoeken springen
Shortcuts:

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

Sjabloon:BS-map/parameters

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

Sjabloon:BS-map/map
Sjabloon:Colorbox Station layout

Sjabloon:BS-Infobox

† Diagram not to scale

<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 meters |gauge = {{gauge|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 = † Diagram not to scale }}