Jump to content

Template:BSotr/doc

From Wikipedia, the free encyclopedia

The BS overlay text red 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

[edit]
Example
with {{BSotr}}
1B
2B
5B
6B
8B
without {{BSot}}
1B
2B
5B
6B
8B
with |bg=139,0,0,1
A
!~*{{BSotr|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 red box in ems. The default is 1.5.

The optional parameter |bg=, changes the color and opacity of the background. The default is 139,0,0,.8 (RGB color 139,0,0, 80% opacity).

All standard wikitext markup can be used.

Notes

[edit]
  1. This template only works with {{Routemap}}, not with the deprecated {{BS-map}} RDT formatting.
  2. The characters !~* must precede the template so that it correctly overlays the icons.

See also

[edit]