Template:Highlight: Difference between revisions

From Vigyanwiki
(re-add yellow)
(rm /core, add "test")
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|{{{1|}}}|{{{2|yellow}}}}}|}}|{{hilite|{{{1|}}}|{{{2|yellow}}}}}}}</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>
{{hilite|''Note: Only use this sparingly and for talk pages!''}}</noinclude>

Revision as of 05:21, 9 June 2010

Use {{hilite | text | color (optional) | expiration (optional) }} to set the background color of some text to yellow (or optional color).

Template loop detected: Template:Hilite