Template:Highlight: Difference between revisions

From Vigyanwiki
(try this)
m (25 revisions imported from alpha:Template:Highlight)
 
(27 intermediate revisions by 9 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{3|}}}|{{#if:{{#time:U|{{{3}}}}} - {{#time:U|now}} > 0|{{hilite/core}}|}}|{{hilite/core}}}}</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) }}</nowiki></tt>''' to set the background color of some text to yellow (or optional color). ''Note: Only use this sparingly and for talk pages!''</noinclude>

Latest revision as of 11:22, 11 June 2023

Template documentation