Template:Dmgs v2: Difference between revisions

From BeeStation Wiki
Jump to navigation Jump to search
(test)
 
(Blanked the page)
Tag: Blanking
 
Line 1: Line 1:
<includeonly>{{#switch:{{{1}}}
| q    = <span style="color:#FF0000">{{{2}}}</span>
| w    = <span style="color:#E2B200">{{{2}}}</span>
| e    = <span style="color:#00B803">{{{2}}}</span>
| r    = <span style="color:#0067E3">{{{2}}}</span>
| t    = <span style="color:#A105B3">{{{2}}}</span>
| qw  = <span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>
| qe  = <span style="color:#FF0000">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>
| qr  = <span style="color:#FF0000">{{{2}}}</span>/<span style="color:#0067E3">{{{3}}}</span>
| we  = <span style="color:#E2B200">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>
| wr  = <span style="color:#E2B200">{{{2}}}</span>/<span style="color:#0067E3">{{{3}}}</span>
| er  = <span style="color:#00B803">{{{2}}}</span>/<span style="color:#0067E3">{{{3}}}</span>
| qwe  = <span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>/<span style="color:#00B803">{{{4}}}</span>
| qwr  = <span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>/<span style="color:#0067E3">{{{4}}}</span>
| qer  = <span style="color:#FF0000">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>/<span style="color:#0067E3">{{{4}}}</span>
| wer  = <span style="color:#E2B200">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>/<span style="color:#0067E3">{{{4}}}</span>
| qwer = <span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>/<span style="color:#00B803">{{{4}}}</span>/<span style="color:#0067E3">{{{5}}}</span>
| #default = {{#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 colorful text.
* first argument is the type of damage.
** q: brute (red)
** w: burn (orange)
** e: toxin (green)
** r: oxy (blue)
** t: extra (purple)
*** this is only single usable.
** qw, qe, qr, qwe, etc... arrangement is given from q to r. (qwer = works, rewq = no)
* if the first argument is given as a number, it will follow qwer.
<pre>{{dmgs_v2 |5|15|25|30}}
{{dmgs_v2 |qwer|1|2|4|6}}
{{dmgs_v2 |qw|15|25}}
{{dmgs_v2 |e|25 Toxin damage}}
{{dmgs_v2 |r|55}}
{{dmgs_v2 |q|over 50 brute damage}}
{{dmgs_v2 |t|liver damage}}
{{dmgs_v2 |qt|5 brute damage|2 liver damage}} <- this is not working because 't' is only single usable
</pre>
will be
* {{dmgs_v2 |5|15|25|30}}
* {{dmgs_v2 |qwer|1|2|4|6}}
* {{dmgs_v2 |qw|15|25}}
* {{dmgs_v2 |e|25 Toxin damage}}
* {{dmgs_v2 |r|55}}
* {{dmgs_v2 |q|over 50 brute damage}} (It doesn't have to be numbers always.)
* {{dmgs_v2 |t|liver damage}}
=== Where can I use this? ===
* Bicaridine: Heals {{dmgs_v2 |q|1.5}} when your taken brute damage is below {{dmgs_v2 |q|50}}. At more than 50 damage, It heals {{dmgs_v2 |q|0.5}}.
* Kelotane: Heals {{dmgs_v2 |w|1.5}} when your taken burn damage is below {{dmgs_v2 |w|50}}. At more than 50 damage, It heals {{dmgs_v2 |w|0.5}}.
* Epinephrine: If you are in the critical condition, heals {{dmgs_v2 |0.5|0.5|0.5|0.5}}. If not, It doesn't heal anything. Prevents oxygen damage from going over {{dmgs_v2 |r|35}}.
* Defibrillator: It can't revive people more than {{dmgs_v2 |qw|180|180}} damages.
Isn't it better to recognize than before?

Latest revision as of 05:55, 27 April 2023