Template:Highlight: Difference between revisions

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

Latest revision as of 11:22, 11 June 2023

Template documentation