Template:Pill/documentation
Appearance
See also: Template:color box
This template produces a generic inline pill shape, optionally with some text inside. Primarily for User namespace.
The supported parameters are:
1=
: the text to display. For example,{{pill|text}}
produces text. Defaults to 
.bg=
andfg=
: self-explanatory.{{pill|pink on blue|bg=blue|fg=pink}}
produces pink on blue. Default to black and white, respectively.html=
andcss=
: additional HTML parameters and/or CSS rules. For example, you can usehtml=title='[non-abbreviated text]'
for abbreviations, andcss=font-family: "Comic Sans MS";
to change the look. Example. Note that the CSS is wrapped in apostrophes, so you should use double quotes in the corresponding parameter.