Template:Highlight/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Doc/subpage}} == Usage == This template is used to add simple Word-like highlighting to a sentence. The default highlight color is yellow and text color is black, but these...") |
mNo edit summary |
||
Line 2: | Line 2: | ||
== Usage == | == Usage == | ||
This template is used to add simple Word-like highlighting to a sentence. The default highlight color is yellow and text color is black, but these can be changed with the {{param|color}} and {{param|text color}} parameters respectively. | This template is used to add simple Word-like highlighting to a sentence. The default highlight color is yellow and text color is black, but these can be changed with the {{param|color}} and {{param|text color}} parameters respectively. | ||
<br> | |||
{{Code|<nowiki>{{highlight|Look at me!}}</nowiki>}} -> {{highlight|Look at me!}} | {{Code|<nowiki>{{highlight|Look at me!}}</nowiki>}} -> {{highlight|Look at me!}} | ||
<br> | |||
{{Code|<nowiki>{{highlight|color=blue|text color=rgb(255,255,255)|Look at me!}}</nowiki>}} -> {{highlight|color=blue|text color=rgb(255,255,255)|Look at me!}} |
Latest revision as of 12:29, 16 January 2024

This is a documentation subpage for Template:Highlight.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Usage
This template is used to add simple Word-like highlighting to a sentence. The default highlight color is yellow and text color is black, but these can be changed with the {{{color}}} and {{{text color}}} parameters respectively.
{{highlight|Look at me!}} -> Look at me!
{{highlight|color=blue|text color=rgb(255,255,255)|Look at me!}} -> Look at me!