Template:Highlight
For adding yellow highlight to specified text. The highlight color can be changed. Please keep template usage to talk pages only.
Usage
{{Highlight | text | color (optional) | expiration (optional)}}
Parameters
1
Required- Enter the text to be highlighted.
2
- Colors 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
Code | Output | Notes |
---|---|---|
{{Highlight|text}} |
text | The default highlight color is yellow |
{{Highlight|text|lightblue}} |
text | The second parameter is the highlight color |
See also
- Wikipedia:Template:Highlight round – highlights the included text using a rounded box with shadows
- Wikipedia:Template:tq – for quoting text on talk pages
- Wikipedia:Template:font color
Editors can experiment in this template's sandbox.