Template:Highlight: Difference between revisions

From Vigyanwiki
(fix)
(add background yellow)
Line 1: Line 1:
<includeonly>{{#if:{{{3|}}}|{{#ifexpr:({{#time:U|{{{3}}}}} - {{#time:U|now}}) > 0|{{hilite/core|{{{1|}}}|{{{2|}}}}}|}}|{{hilite/core|{{{1|}}}|{{{2|}}}}}}}</includeonly><noinclude>
<includeonly>{{#if:{{{3|}}}|{{#ifexpr:({{#time:U|{{{3}}}}} - {{#time:U|now}}) > 0|{{hilite/core|{{{1|}}}|{{{2|yellow}}}}}|}}|{{hilite/core|{{{1|}}}|{{{2|yellow}}}}}}}</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>

Revision as of 04:59, 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!