Sjabloon:BS-map/doc
40px | This is a documentation subpage for Sjabloon:BS-map. It contains usage information, categories, interlanguage links and other content that is not part of the original sjabloon page. |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
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.
Inhoud
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
orfloat: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/mapSjabloon:Colorbox Station layout |
---|
† 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 }}