Jump to content

Template:Force Font Color

From Worm Wiki

{{#ifeq:*UNSET*||| {{#ifexpr:{{#ifeq:{{#sub:{{{text}}}|0|2}}|[[|1|0}} and {{#ifeq:{{#sub:{{{text}}}|-2|2}}|]]|1|0}}| {{#if:{{#pos:{{{text}}}||}}

   |{{#replace:{{#replace:{{{text}}}||||}}|]]|]]}}
   |{{#replace:{{{text}}}|]]||{{#sub:{{{text}}}|2|-2}}]]}}

}} |{{{text}}} }} }}