Template:Highlight: Difference between revisions

From COLLADA Public Wiki
Jump to navigation Jump to search
Elf (talk | contribs)
fmt
Elf (talk | contribs)
use color template
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><span style="background-color:#FFFF00;">{{{1}}}</span></includeonly><noinclude>
<includeonly><span style="background-color:{{site color 1 mid}};">{{{1}}}</span></includeonly><noinclude>
'''''Usage:'''''
'''''Usage:'''''


''Surround text as an argument, for example, this:''
''Surround text as an argument, for example, this:''
  <nowiki>{{highlight|sample text}}</nowiki>
  <nowiki>Here is some {{highlight|sample text}} for you.</nowiki>
''Produces this:''
''Produces this:''
<span style="background-color:#FFFF00;">sample text</span>


[[Category:User templates]]</noinclude>
Here is some {{highlight|sample text}} for you.
[[Category:User templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 02:38, 12 March 2009

Usage:

Surround text as an argument, for example, this:

Here is some {{highlight|sample text}} for you.

Produces this:

Here is some sample text for you.