Template:Highlight: Difference between revisions

From Vigyanwiki
(rm /core, add "test")
m (25 revisions imported from alpha:Template:Highlight)
 
(20 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{3|}}}|{{#ifexpr:({{#time:U|{{{3}}}}} - {{#time:U|now}}) > 0|{{hilite|{{{1|}}}|{{{2|yellow}}}}}|}}|{{hilite|{{{1|}}}|{{{2|yellow}}}}}}}</includeonly><noinclude>
{{#if:{{{3|}}}|{{#ifexpr:({{#time:U|{{{3}}}}} - {{#time:U|now}}) > 0|{{highlight/core|{{{1|}}}|{{#ifeq:{{{2|}}}||yellow|{{{2}}}}}}}|{{{1|}}}}}|{{highlight/core|{{{1|}}}|{{{2|yellow}}}}}}}<noinclude>{{documentation}}</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>
 
{{hilite|''Note: Only use this sparingly and for talk pages!''}}</noinclude>

Latest revision as of 11:22, 11 June 2023

Template documentation