Template:Highlight/doc

From Bonkipedia
< Template:Highlight
Revision as of 08:21, 20 September 2022 by 93.108.246.155 (talk) (Undo revision 5469147 by 93.108.246.155 (talk) wrong wiki, sry)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template highlights the text with a background color. Please make sure to use readable colors.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
text1

The text to be highlighted

Example
Lorem ipsum dolor sit amet.
Unknownrequired
color2

The background color (CSS color) to be used.

Default
yellow
Lineoptional

Usage

{{highlight|text|red}}, or {{highlight|text}} to use the default highlight color, shown above.