Template:Highlight: Difference between revisions
From Vigyanwiki
(add info) |
(rm yellow, I just saw the /core bit) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{3|}}}|{{#ifexpr:({{#time:U|{{{3}}}}} - {{#time:U|now}}) > 0|{{hilite/core|{{{1|}}}|{{{2| | <includeonly>{{#if:{{{3|}}}|{{#ifexpr:({{#time:U|{{{3}}}}} - {{#time:U|now}}) > 0|{{hilite/core|{{{1|}}}|{{{2|}}}}}|}}|{{hilite/core|{{{1|}}}|{{{2|}}}}}}}</includeonly><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> | 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> | ''Note: Only use this sparingly and for talk pages!''</noinclude> |
Revision as of 05:11, 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!