Template:Dmgs: Difference between revisions

From BeeStation Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly><span style="color:#FF0000">{{{1}}}</span>/<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>/<span style="color:#0067E3">{{{4}}}</span>
<includeonly>{{#if:{{{1}}}|q|<span style="color:#FF0000">{{{2}}}</span>}}
{{#if:{{{1}}}|w|<span style="color:#E2B200">{{{2}}}</span>}}
{{#if:{{{1}}}|e|<span style="color:#00B803">{{{2}}}</span>}}
{{#if:{{{1}}}|r|<span style="color:#0067E3">{{{2}}}</span>}}
{{#if:{{{1}}}|qw|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>}}
{{#if:{{{1}}}|qe|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>}}
{{#if:{{{1}}}|qr|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#0067E3">{{{3}}}</span>}}
{{#if:{{{1}}}|we|<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>}}
{{#if:{{{1}}}|wr|<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#0067E3">{{{3}}}</span>}}
{{#if:{{{1}}}|er|<span style="color:#00B803">{{{2}}}</span>/<span style="color:#0067E3">{{{3}}}</span>}}
{{#if:{{{1}}}|qwe|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>/<span style="color:#00B803">{{{4}}}</span>}}
{{#if:{{{1}}}|qwr|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>/<span style="color:#0067E3">{{{4}}}</span>}}
{{#if:{{{1}}}|qer|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>/<span style="color:#0067E3">{{{4}}}</span>}}
{{#if:{{{1}}}|wer|<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>/<span style="color:#0067E3">{{{4}}}</span>}}
{{#if:{{{1}}}|qwer|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>/<span style="color:#00B803">{{{4}}}</span>/<span style="color:#0067E3">{{{5}}}}}
{{#if:{{isnumeric|{{{1}}}}}|{{{1}}}|<span style="color:#FF0000">{{{1}}}</span>/<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>/<span style="color:#0067E3">{{{4}}}}}}}</span>


</includeonly><noinclude>
</includeonly><noinclude>

Revision as of 09:47, 25 July 2021


This shows damages with colourful numbers.

{{dmgs|5|15|25|30}}

returns as 5/15/25/30