Template:Highlight: Difference between revisions

From TalossaWiki
Jump to navigation Jump to search
Line 10: Line 10:


{{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>

Revision as of 17:14, 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.