Template:BSot/sandbox
Jump to navigation
Jump to search
{{{1}}}
![]() | This is the template sandbox page for Template:BSot (diff). See also the companion subpage for test cases. |
The BS overlay text template places text on a semi-transparent background onto a Route diagram template. It is useful in situations where text would be otherwise unreadable.
Usage
Example | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
{{BSot|text}}
Adding either or both of the optional parameters |b
and |i
will bold or italicize the display.
The optional parameter |w=
, or |width=
, sets the width of the white box in ems. The default is 1.5
.
The optional parameter |bg=
, changes the color and opacity of the background. The default is 255,255,255,.6
(RGB color 255,255,255, 60% opacity).
All standard wikitext markup can be used.
Note
This template only works with {{Routemap}}, not with the obsolete {{BS-map}} and deprecated {{BS-table}} RDT formatting.
See also
- {{BSotr}}
The above documentation is transcluded from Template:BSot/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |