![]() |
VOOZH | about |
Primarily designed for the {{DungeonsTag}} template to reduce boilerplate.
{{ DungeonsCustomTag | <name> | <background> | [<gradient>] }}
Note that all parameters are index-based!
<name> -- Specifies the name of the tag. The name is displayed in UPPERCASE bold letters in black.
<background> -- Specifies the background colour to use. A gradient can be produced by specifying a gradient (see below).
<gradient> (Optional) -- Gives an optional linear gradient on the background. If given, produces a top-down gradient with the <background> colour at the top, and the <gradient> as the bottom colour.
The template consists of two <span> tags, one nested inside the other. Both use a inline-block display to allow scaling. The first <span> tag specifies the background and reduced vertical scaling to counteract the extra padding from using a inline-block. The second <span> tag then sets the text back to the correct vertical size by inverting the scaling of the first <span>.