সাঁচ:BS-map
{{{title}}} | |||
---|---|---|---|
{{{top}}} | |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
| |||
{{{bottom}}} |
এই সাঁচটো সাঁচ বিন্যাসৰ জটিল বৈশিষ্টৰে পৰিপূৰ্ণ।
এই সাঁচটো সম্পাদনা কৰাৰ আগতে আপুনি ইয়াৰ ব্যৱস্থাপনা আৰু পাৰ্চাৰ ফাংচন সম্পৰ্কে ভালকৈ জনাতো বাঞ্চনীয়। যদি আপোনাৰ সম্পাদনাই অবাঞ্চিত সমস্যাৰ সৃষ্টি কৰিছে, অনুগ্ৰহ কৰি অতি সোনকালে ইয়াক পূৰ্বৱত কৰক কিয়নো এই সাঁচটো অসংখ্য পৃষ্ঠাত ব্যৱহৃত হৈ থাকিবও পাৰে। মনত ৰাখিব যে, এই সাঁচটোত পৰিবৰ্তন ঘটোৱাৰ আগত আপুনি যিকোনো ধৰণৰ পৰীক্ষা, আৰু সাঁচটো উন্নীতকৰণৰ পৰীক্ষামূলক কাৰ্য সাধাৰণ সাঁচ পৰীক্ষাগাৰ অথবা আপোনাৰ সদস্য স্থানত কৰিব পাৰে। |
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
[সম্পাদনা কৰক]An infobox template to contain the diagram created with Route Diagram Template standard.
পেৰামিটাৰ | বিৱৰণ | প্ৰকাৰ | স্থিতি | |
---|---|---|---|---|
Additional CSS | 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.
| ষ্ট্ৰিং | ঐচ্ছিক |
inline switch | inline | disable title and collapsible function, remove floating, margin and border, widen template width to 100% for transcluding this template into other template like infobox
| ষ্ট্ৰিং | ঐচ্ছিক |
Width of the whole box. | width | Width of the whole box. Can be overridden by style entry.
| ষ্ট্ৰিং | ঐচ্ছিক |
Background color of the title bar | 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 template colorbox or icon image next to the title text.
| ষ্ট্ৰিং | ঐচ্ছিক |
navbar on box header | navbar | 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 not | collapsible | Allow the box collapsible or not.
| ষ্ট্ৰিং | ঐচ্ছিক |
Collapse state | collapse | 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.
| ষ্ট্ৰিং | ঐচ্ছিক |
Legend page link | legend | Legend page link
| ষ্ট্ৰিং | ঐচ্ছিক |
1st map space | map | Add BSn row templates in this parameter to construct a diagram.
| ষ্ট্ৰিং | ঐচ্ছিক |
2nd map space | map2 | Add BSn row templates in this parameter to construct a diagram.
| ষ্ট্ৰিং | ঐচ্ছিক |
3rd map space | map3 | Add BSn row templates in this parameter to construct a diagram.
| ষ্ট্ৰিং | ঐচ্ছিক |
4th map space | map4 | Add BSn row templates in this parameter to construct a diagram.
| ষ্ট্ৰিং | ঐচ্ছিক |
5th map space | map5 | Add BSn row templates in this parameter to construct a diagram.
| ষ্ট্ৰিং | ঐচ্ছিক |
map title | map-title | Optional title for map
| ষ্ট্ৰিং | ঐচ্ছিক |
map2 title | map2-title | Optional title for map2
| ষ্ট্ৰিং | ঐচ্ছিক |
map3 title | map3-title | Optional title for map3
| ষ্ট্ৰিং | ঐচ্ছিক |
map4 title | map4-title | Optional title for map4
| ষ্ট্ৰিং | ঐচ্ছিক |
map5 title | map5-title | Optional title for map5
| ষ্ট্ৰিং | ঐচ্ছিক |
Collapsible or not of map | map-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.
| ষ্ট্ৰিং | ঐচ্ছিক |
Collapsible or not of map2 | map2-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.
| ষ্ট্ৰিং | ঐচ্ছিক |
Collapsible or not of map3 | map3-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.
| ষ্ট্ৰিং | ঐচ্ছিক |
Collapsible or not of map4 | map4-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.
| ষ্ট্ৰিং | ঐচ্ছিক |
Collapsible or not of map5 | map5-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.
| ষ্ট্ৰিং | ঐচ্ছিক |
Collapse state of map | map-collapse | yes for collapsing, no by default.
| ষ্ট্ৰিং | ঐচ্ছিক |
Collapse state of map2 | map2-collapse | yes for collapsing, no by default.
| ষ্ট্ৰিং | ঐচ্ছিক |
Collapse state of map3 | map3-collapse | yes for collapsing, no by default.
| ষ্ট্ৰিং | ঐচ্ছিক |
Collapse state of map4 | map4-collapse | yes for collapsing, no by default.
| ষ্ট্ৰিং | ঐচ্ছিক |
Collapse state of map5 | map5-collapse | yes for collapsing, no by default.
| ষ্ট্ৰিং | ঐচ্ছিক |
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
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 of map 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 | |
---|---|
সাঁচ:BS2সাঁচ:Bs2-scসাঁচ:BS2 |
|-
|style="padding:0 .5em"| † 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 = {{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 = † Diagram not to scale }} The above documentation is transcluded from সাঁচ:BS-map/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |