Template:Highlight: Difference between revisions

From Vigyanwiki
(Undid revision 366896985 by Keraunoscopia (talk) hmm, revert to fix)
(rm yellow again)
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|}}}}}|}}|{{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:29, 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!