Template:Dmgs: Difference between revisions
Jump to navigation
Jump to search
EvilDragon (talk | contribs) No edit summary |
EvilDragon (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#ifeq:{{{1}}}|q|<span style="color:#FF0000">{{{2}}}</span>|}} | <includeonly>{{#ifeq:{{{1}}}|q|<span style="color:#FF0000">{{{2}}}</span>|}}{{#ifeq:{{{1}}}|w|<span style="color:#E2B200">{{{2}}}</span>|}}{{#ifeq:{{{1}}}|e|<span style="color:#00B803">{{{2}}}</span>|}}{{#ifeq:{{{1}}}|r|<span style="color:#0067E3">{{{2}}}</span>|}}{{#ifeq:{{{1}}}|qw|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>|}}{{#ifeq:{{{1}}}|qe|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>|}}{{#ifeq:{{{1}}}|qr|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#0067E3">{{{3}}}</span>|}}{{#ifeq:{{{1}}}|we|<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>|}}{{#ifeq:{{{1}}}|wr|<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#0067E3">{{{3}}}</span>|}}{{#ifeq:{{{1}}}|er|<span style="color:#00B803">{{{2}}}</span>/<span style="color:#0067E3">{{{3}}}</span>|}}{{#ifeq:{{{1}}}|qwe|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>/<span style="color:#00B803">{{{4}}}</span>|}}{{#ifeq:{{{1}}}|qwr|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>/<span style="color:#0067E3">{{{4}}}</span>|}}{{#ifeq:{{{1}}}|qer|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>/<span style="color:#0067E3">{{{4}}}</span>|}}{{#ifeq:{{{1}}}|wer|<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>/<span style="color:#0067E3">{{{4}}}</span>|}}{{#ifeq:{{{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}}}}}{{#ifeq:{{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}}}}}</includeonly><noinclude> | ||
[[Category:Templates]] | |||
This shows damages with colourful numbers. | |||
<pre>{{dmgs|5|15|25|30}}</pre> | |||
returns as <span style="color:#FF0000">5</span>/<span style="color:#E2B200">15</span>/<span style="color:#00B803">25</span>/<span style="color:#0067E3">30</span> | |||
<!-- | |||
for the usage of maintnance | |||
{{#ifeq:{{{1}}}|q|<span style="color:#FF0000">{{{2}}}</span>|}} | |||
{{#ifeq:{{{1}}}|w|<span style="color:#E2B200">{{{2}}}</span>|}} | {{#ifeq:{{{1}}}|w|<span style="color:#E2B200">{{{2}}}</span>|}} | ||
{{#ifeq:{{{1}}}|e|<span style="color:#00B803">{{{2}}}</span>|}} | {{#ifeq:{{{1}}}|e|<span style="color:#00B803">{{{2}}}</span>|}} | ||
Line 14: | Line 28: | ||
{{#ifeq:{{{1}}}|wer|<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>/<span style="color:#0067E3">{{{4}}}</span>|}} | {{#ifeq:{{{1}}}|wer|<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>/<span style="color:#0067E3">{{{4}}}</span>|}} | ||
{{#ifeq:{{{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}}}}} | {{#ifeq:{{{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}}}}} | ||
{{#ifeq:{{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 | {{#ifeq:{{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}}}}} | ||
--> | |||
Revision as of 09:55, 25 July 2021
This shows damages with colourful numbers.
{{dmgs|5|15|25|30}}
returns as 5/15/25/30