Template:Highlight: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<span style="background-color: {{{color| | <span style="background-color: {{{color|yellow}}};">{{{1}}}</span><noinclude> | ||
==Usage== | ==Usage== | ||
This template is useful for highlighting text in a digital document, much in the same way you ruined your expensive university textbooks, but in a much less permanent and costly way. | This template is useful for highlighting text in a digital document, much in the same way you ruined your expensive university textbooks, but in a much less permanent and costly way. | ||
Line 5: | Line 5: | ||
== Usage == | == Usage == | ||
<nowiki>{{Highlight|The quick brown fox jumped over the lazy dog.}}</nowiki> | |||
results in: | results in: | ||
{{Highlight|The quick brown fox jumped over the lazy dog.}} | {{Highlight|The quick brown fox jumped over the lazy dog.}} | ||
The color can be changed using the <tt>color</tt> parameter but defaults to yellow. | The color can be changed using the <tt>color</tt> parameter but defaults to yellow. | ||
<nowiki>{{Highlight|color=lightgreen|The quick brown fox jumped over the lazy dog.}}</nowiki> | |||
results in: | |||
{{Highlight|color=lightgreen|The quick brown fox jumped over the lazy dog.}} | |||
[[Category:Structural templates|{{PAGENAME}}]]</noinclude> | [[Category:Structural templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 17:15, 7 March 2014
{{{1}}}
Usage
This template is useful for highlighting text in a digital document, much in the same way you ruined your expensive university textbooks, but in a much less permanent and costly way.
Usage
{{Highlight|The quick brown fox jumped over the lazy dog.}}
results in:
The quick brown fox jumped over the lazy dog.
The color can be changed using the color parameter but defaults to yellow.
{{Highlight|color=lightgreen|The quick brown fox jumped over the lazy dog.}}
results in:
The quick brown fox jumped over the lazy dog.