Template:Highlight: Difference between revisions

From Vigyanwiki
(hilite template)
 
(try this)
Line 1: Line 1:
<span style="background:{{{2|yellow}}}">{{{1}}}</span><noinclude>
<includeonly>{{#if:{{{3|}}}|{{#if:{{#time:U|{{{3}}}}} - {{#time:U|now}} > 0|{{hilite/core}}|}}|{{hilite/core}}}}</includeonly><noinclude>
Use '''<tt><nowiki>{{hilite | text | color (optional) }}</nowiki></tt>''' to set the background color of some text to yellow (or optional color). ''Note: Only use this sparingly and for talk pages!''</noinclude><!--
Use '''<tt><nowiki>{{hilite | text | color (optional) }}</nowiki></tt>''' to set the background color of some text to yellow (or optional color). ''Note: Only use this sparingly and for talk pages!''</noinclude>
TODO:
  Add default date qualifier -- if it's after so many days, the hilite goes away.
-->

Revision as of 04:05, 9 June 2010

Use {{hilite | text | color (optional) }} to set the background color of some text to yellow (or optional color). Note: Only use this sparingly and for talk pages!