Jump to content

Fyrimynd:BS-map/parameters

Frá Wikipedia, hin frælsa alfrøðin
Parameter namesFunction
inlineDisables title and collapsible function, remove floating, margin and border, widens template width to 100% for transcluding this template into other templates such as {{Infobox rail line}}. If the code of the diagram is not transcluded, but is contained within the code of the infobox,   should be added before {{BS-map}} to force proper table layout.
styleAdditional CSS syntax which defines the style of the whole box.
widthWidth 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.
titleTitle of the map.
title-bgBackground 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-colorFont color of title text. Black by default.
navbarSpecify 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.
collapsibleAllow the box collapsible or not. yes by default, no will void the "expand/collapse" button.
collapseCollapse state of the whole box. yes for collapsing, no by default.
legendLegend page link:
mapBS row templates which comprise the diagram.
mapnn represents numbers 2 to 10. Additional map space. By separating maps into different map parameters, the column alignment of the maps will not affect each other. This is useful if you are displaying two maps where one uses the ordinary BSn row templates (single-side text columns) and the other one uses BSn-2 (dual-side text columns), as the different row templates are not compatible with each other.
map-title
mapn-title
n represents numbers 2 to 10. Optional title header for each map.
map-centered
mapn-centered
n represents numbers 2 to 10. Allows centering/centring each map; will be toggled on for any value.
map-collapsible
mapn-collapsible
n represents numbers 2 to 10. Allows changing the collapsibility of each map. no by default; yes will call the "expand/collapse" button. You must have something in the mapn-title; the mapn-collapsible alone cannot turn it on.
map-collapse
mapn-collapse
n represents numbers 2 to 10. Collapse state of the individual map. yes for collapsing, no by default.
bgBackground color of the whole digram, including the text column in the row templates.
topOptional note above the map.
bottomOptional note below the map. Also a good place to include the {{Navbar}} if you do not want to display it in the title bar.
bottomstyleOptional CSS style for the note below the map, for example text-align:center;.