Difference between revisions of "Template:Highlight/doc"

From BTAWiki
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: Highlight template)
 
(No difference)

Latest revision as of 07:18, 15 October 2020

Script error: No such module "Template translation". <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.