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 ...")
 
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span style="background-color: {{{color|#FFFBCC}}};">{{{1}}}</span><noinclude>
<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 ==


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


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