Template:BS-header/doc
This is a documentation subpage for Template:BS-header (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Please consider to use {{BS-map}} instead of this one so you can skip the {{Railway line header}} and {{BS-table}} altogether. |
Title Header for Route diagram template.
Usage[edit]
{{BS-header|title-text|template-name|background-color|font-color|header-width}}
All parameters are optional.
- title-text: the value that appears in the title bar. It is automatically put in bold face. Defaults to "Route map" if not specified.
- template-name: if present, a mini {{Navbar}} with "v d e" links to the route template will be displayed on the left. If the diagram is directly written in the article instead of a template, just leave it empty.
- background-color: The background color of the livery of the system. The default is #be2d2c◆(heavy rail red).
- font-color: The color of the text font (including that in the Navbar). The default is white. If the title-text value is a link, this value won't affect the link's color. Instead, use the HTML element
<font>
like this:[[Green Line|<font color=white>Green Line</font>]]
- header-width: The width of a header as a fixed width or as a proportion of the width of its containing HTML element (typically, a table). The default is 100%. Tip: it is more effective to set the table width in {{Railway line header}} by applying the #1 parameter (for defining additional CSS styling).
Examples[edit]
See also[edit]
- {{Railway line header}}
- {{Rail-header}}