మూస:BS-map/parameters

వికీపీడియా నుండి
Jump to navigation Jump to search
Parameter names Function
inline Disable title row and collapsible, add float:none;width:100%;margin:0;border:none for transcluding this template to other template like {{infobox}}.
style Additional CSS syntax which defines the style of the whole box.
width Width of the whole box. Can be overridden by style entry. No default value because it will void the tw parameter in the BSn row template which is applied to override the text column width of BSn 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. 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 "expand/collapse" button.
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.
mapn n represents numbers 2 to 5. 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 BSn row templates (single-side text columns) and the other one uses BSn-2 (dual-side text columns) which are not compatible to each other.
map-title
mapn-title
n represents numbers 2 to 5. Optional title header for each map.
map-collapsible
mapn-collapsible
n represents numbers 2 to 5. Allow the individual 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.
map-collapse
mapn-collapse
n represents numbers 2 to 5. 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 the {{BS-Infobox}} or {{Infobox UK railway}} for lining up image, line length and other informations.
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.