Template:Highlight: Difference between revisions

From The Adachi Wiki
Jump to navigation Jump to search
>Tacsipacsi
move documentation to subpage
 
Created page with "<span style="background-color:{{{2|yellow}}}">{{{1}}}</span><noinclude> {{documentation}} </noinclude>"
 
(No difference)

Latest revision as of 19:39, 11 February 2023

{{{1}}}

Template documentation

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

Template parameters[Edit template data]

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.