Template:Highlight: Difference between revisions
From Vigyanwiki
(add background yellow) |
(add info) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{3|}}}|{{#ifexpr:({{#time:U|{{{3}}}}} - {{#time:U|now}}) > 0|{{hilite/core|{{{1|}}}|{{{2|yellow}}}}}|}}|{{hilite/core|{{{1|}}}|{{{2|yellow}}}}}}}</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) | expiration (optional) }}</nowiki></tt>''' to set the background color of some text to yellow (or optional color). <br> | ||
''Note: Only use this sparingly and for talk pages!''</noinclude> |
Revision as of 05:07, 9 June 2010
Use {{hilite | text | color (optional) | expiration (optional) }} to set the background color of some text to yellow (or optional color).
Note: Only use this sparingly and for talk pages!