Difference between revisions of "Modèle:Highlight"

From Wazeopedia
(Redirected page to Detour Prevention Mechanisms)
(Page créée avec « <span style="background:{{{2|yellow}}}">{{{1}}}</span><noinclude>{{doc}}</noinclude> »)
 
Line 1: Line 1:
#REDIRECT [[Detour Prevention Mechanisms]]
+
<span style="background:{{{2|yellow}}}">{{{1}}}</span><noinclude>{{doc}}</noinclude>

Latest revision as of 10:58, 22 February 2017

{{{1}}}
Documentation icon Template documentation[view] [edit] [history] [purge]

This template allows to highlight a portion of text with a color (Stabilo Boss like)

Usage

text

  • Parameter 1 (required) : Text to highlight
  • Parameter 2 (optional) : Highlight color. Color may be specified by word (e.g., "red", "blue", "lightgreen") or in hexadecimal format (e.g., "#FF0066", "#C0C0C0"). If no value is given for the color, the template defaults to yellow

Examples

This is the {{Highlight | portion of text}} to highlight produces:
This is the portion of text to highlight

This is the {{Highlight | portion of text | lightgreen}} to highlight produces:
This is the portion of text to highlight

The above documentation is transcluded from Modèle:Highlight/doc.
Please add categories to the /doc subpage.
Subpages of this template.