Template:Dmgs: Difference between revisions

From BeeStation Wiki
Jump to navigation Jump to search
No edit summary
(I love chatgpt)
 
(22 intermediate revisions by the same user not shown)
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>{{#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>


</includeonly><noinclude>
[[Category:Templates]]
[[Category:Templates]]


This shows damages with colourful numbers.
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|5|15|25|30}}</pre>
<pre>{{dmgs|5|15|25|30}}
 
{{dmgs|qwer|1|2|4|6}}
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>
{{dmgs|qw|15|25}}
{{dmgs|r|55}}
{{dmgs|q|over 50 brute damage}}
{{dmgs|e|25 Toxin damage}}
{{dmgs|t|liver damage}}
{{dmgs|qt|5 brute damage|2 liver damage}} <- this is not working because 't' is only single usable
</pre>
will be
* {{dmgs|5|15|25|30}}
* {{dmgs|qwer|1|2|4|6}}
* {{dmgs|qw|15|25}}
* {{dmgs|r|55}}
* {{dmgs|q|over 50 brute damage}} (It doesn't have to be numbers always.)
* {{dmgs|e|25 Toxin damage}}
* {{dmgs|t|2 liver damage}}
=== Where can I use this? ===
* Bicaridine: Heals {{dmgs|q|1.5}} when your taken brute damage is below {{dmgs|q|50}}. At more than 50 damage, It heals {{dmgs|q|0.5}}.
* Kelotane: Heals {{dmgs|w|1.5}} when your taken burn damage is below {{dmgs|w|50}}. At more than 50 damage, It heals {{dmgs|w|0.5}}.
* Epinephrine: If you are in the critical condition, heals {{dmgs|0.5|0.5|0.5|0.5}}. If not, It doesn't heal anything. Prevents oxygen damage from going over {{dmgs|r|35}}.
* Defibrillator: It can't revive people more than {{dmgs|qw|180|180}} damages.
Isn't it better to recognize than before?

Latest revision as of 02:21, 27 April 2023


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.
{{dmgs|5|15|25|30}}
{{dmgs|qwer|1|2|4|6}}
{{dmgs|qw|15|25}}
{{dmgs|r|55}}
{{dmgs|q|over 50 brute damage}}
{{dmgs|e|25 Toxin damage}}
{{dmgs|t|liver damage}}
{{dmgs|qt|5 brute damage|2 liver damage}} <- this is not working because 't' is only single usable

will be

  • 5/15/25/30
  • 1/2/4/6
  • 15/25
  • 55
  • over 50 brute damage (It doesn't have to be numbers always.)
  • 25 Toxin damage
  • 2 liver damage

Where can I use this?

  • Bicaridine: Heals 1.5 when your taken brute damage is below 50. At more than 50 damage, It heals 0.5.
  • Kelotane: Heals 1.5 when your taken burn damage is below 50. At more than 50 damage, It heals 0.5.
  • Epinephrine: If you are in the critical condition, heals 0.5/0.5/0.5/0.5. If not, It doesn't heal anything. Prevents oxygen damage from going over 35.
  • Defibrillator: It can't revive people more than 180/180 damages.

Isn't it better to recognize than before?