doc

From Redazione
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> <templatedata> { "description": "This template highlights the text...")
 
m (1 revision imported)
 
(No difference)

Latest revision as of 09:56, 10 July 2020

Lua error in Module:Autotranslate at line 72: No fallback page found for autotranslate (base=Template:Documentation subpage, lang=⧼lang⧽).__EXPECTED_UNCONNECTED_PAGE__

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.