Template:Highlight: Difference between revisions

From TalossaWiki
Jump to navigation Jump to search
(Created page with "<span style="background-color: {{{color|#FFFBCC}}};">{{{1}}}</span><noinclude> ==Usage== This template is useful for highlighting text in a digital document, much in the same ...")
 
No edit summary
Line 5: Line 5:
== Usage ==
== Usage ==


<pre><nowiki>{{Highlight|text}}</nowiki></pre>
<pre><nowiki>{{Highlight|The quick brown fox jumped over the lazy dog.}}</nowiki></pre>


results in:
results in:


{{Highlight|text}}
{{Highlight|The quick brown fox jumped over the lazy dog.}}


The color can be changed using the <tt>color</tt> parameter.
The color can be changed using the <tt>color</tt> parameter but defaults to yellow.


[[Category:Structural templates|{{PAGENAME}}]]</noinclude>
[[Category:Structural templates|{{PAGENAME}}]]</noinclude>

Revision as of 12:16, 5 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.