Template:Highlight

From DER's LLC
Revision as of 13:03, 19 September 2023 by Ders (talk | contribs) (Created page with "<span style="background-color:{{{2|yellow}}}">{{{1}}}</span><noinclude> {{documentation}} </noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{1}}} Template:Documentation subpage <templatedata> { "description": "This template highlights the text with a background color. Please make sure to use readable colors.", "format": "inline", "params": { "1": { "label": "text", "description": "The text to be highlighted", "example": "Lorem ipsum dolor sit amet.", "required": true }, "2": { "label": "color", "description": "The background color (CSS color) to be used.", "type": "line", "default": "yellow" } } } </templatedata>

Usage

{{highlight|text|red}}, or {{highlight|text}} to use the default highlight color, shown above. {{#ifeq:Highlight|sandbox||

}}