Template:BSotr

From blackwiki
Revision as of 07:12, 8 June 2020 by imported>Bob1960evens (A white on red variant of BSot without having to add all the params every time)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
{{{1}}}
50px Template documentation[view] [edit] [history] [purge]

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

Example
with {{BSotr}}
without {{BSot}}
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.

Note

This template only works with {{Routemap}}, not with the obsolete {{BS-map}} and deprecated {{BS-table}} RDT formatting.

See also