Highlight: Difference between revisions
Jump to navigation
Jump to search
(Created page with " '''New box of highlighters'''<br> {{Highlight |pink|pink}} {{Highlight |red|red}} {{Highlight |orange|orange}} {{Highlight |lightyellow|lightyellow}} {{Highlight |yellow...") |
No edit summary |
||
Line 17: | Line 17: | ||
Syntax: { { Highlight | text to display | optional color } } | Syntax: { { Highlight | text to display | optional color } } | ||
The default color is {{Highlight|yellow}} | The default color is {{Highlight|yellow}} | ||
{{font color|red|lightgreen|red with lightgreen highlight - using font color}} |
Revision as of 15:49, 15 March 2019
New box of highlighters
{{#if:|{{#ifexpr:({{#time:U|{{{3}}}}} - {{#time:U|now}}) > 0|pink|pink}}|pink}} {{#if:|{{#ifexpr:({{#time:U|{{{3}}}}} - {{#time:U|now}}) > 0|red|red}}|red}} {{#if:|{{#ifexpr:({{#time:U|{{{3}}}}} - {{#time:U|now}}) > 0|orange|orange}}|orange}} {{#if:|{{#ifexpr:({{#time:U|{{{3}}}}} - {{#time:U|now}}) > 0|lightyellow|lightyellow}}|lightyellow}} {{#if:|{{#ifexpr:({{#time:U|{{{3}}}}} - {{#time:U|now}}) > 0|yellow|yellow}}|yellow}} {{#if:|{{#ifexpr:({{#time:U|{{{3}}}}} - {{#time:U|now}}) > 0|lightgreen|lightgreen}}|lightgreen}} {{#if:|{{#ifexpr:({{#time:U|{{{3}}}}} - {{#time:U|now}}) > 0|green|green}}|green}} {{#if:|{{#ifexpr:({{#time:U|{{{3}}}}} - {{#time:U|now}}) > 0|lightblue|lightblue}}|lightblue}} {{#if:|{{#ifexpr:({{#time:U|{{{3}}}}} - {{#time:U|now}}) > 0|blue|blue}}|blue}} {{#if:|{{#ifexpr:({{#time:U|{{{3}}}}} - {{#time:U|now}}) > 0|violet|violet}}|violet}} {{#if:|{{#ifexpr:({{#time:U|{{{3}}}}} - {{#time:U|now}}) > 0|brown|brown}}|brown}} {{#if:|{{#ifexpr:({{#time:U|{{{3}}}}} - {{#time:U|now}}) > 0|gray|gray}}|gray}} {{#if:|{{#ifexpr:({{#time:U|{{{3}}}}} - {{#time:U|now}}) > 0|silver|silver}}|silver}} {{#if:|{{#ifexpr:({{#time:U|{{{3}}}}} - {{#time:U|now}}) > 0|gold|gold}}|gold}}
Syntax: { { Highlight | text to display | optional color } } The default color is {{#if:|{{#ifexpr:({{#time:U|{{{3}}}}} - {{#time:U|now}}) > 0|yellow|yellow}}|yellow}} {{ safesubst:#if: red with lightgreen highlight - using font color | {{ safesubst:#if: | {{ safesubst:#ifeq: | yes | [[ {{ safesubst:#if:1| red with lightgreen highlight - using font color }}|{{ safesubst:#if:1| red with lightgreen highlight - using font color }}]] | [[|{{ safesubst:#if:1| red with lightgreen highlight - using font color }}]] }} | {{ safesubst:#if:1| red with lightgreen highlight - using font color }} }} | {{ safesubst:#if: | {{ safesubst:#ifeq: | yes | [[ {{ safesubst:#if:1| lightgreen }} |{{ safesubst:#if:1| lightgreen }}]] | [[ {{ safesubst:#if:1| }} |{{ safesubst:#if:1| lightgreen }}]] }} | {{ safesubst:#if:1| lightgreen }} }}
}}