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>}}{{#ifeq:{{{1}}}|w|<span style="color:#E2B200">{{{2}}}</span>}}{{#ifeq:{{{1}}}|e|<span style="color:#00B803">{{{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}}}|t|<span style="color:#A105B3">{{{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}}}|qt|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#A105B3">{{{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}}}|wt|<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#A105B3">{{{3}}}</span>}}{{#ifeq:{{{1}}}|er|<span style="color:#00B803">{{{2}}}</span>/<span style="color:#0067E3">{{{3}}}</span>}}{{#ifeq:{{{1}}}|et|<span style="color:#00B803">{{{2}}}</span>/<span style="color:#A105B3">{{{3}}}</span>}}{{#ifeq:{{{1}}}|rt|<span style="color:#0067E3">{{{2}}}</span>/<span style="color:#A105B3">{{{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}}}|qwt|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>/<span style="color:#A105B3">{{{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}}}|qet|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>/<span style="color:#A105B3">{{{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}}}|wet|<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>/<span style="color:#A105B3">{{{4}}}</span>}}{{#ifeq:{{{1}}}|wrt|<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#0067E3">{{{3}}}</span>/<span style="color:#A105B3">{{{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}}}|e||{{#ifeq:{{{1}}}|qwert|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>/<span style="color:#00B803">{{{4}}}</span>/<span style="color:#0067E3">{{{5}}}/<span style="color:#00B803">{{{6}}}</span>}}{{#ifeq:{{{1}}}|e||{{#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}}}|}}}}</span></includeonly><noinclude> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
Line 8: | Line 8: | ||
** e: toxin (green) | ** e: toxin (green) | ||
** r: oxy (blue) | ** r: oxy (blue) | ||
** t: extra (purple) | |||
** qw, qe, qr, qwe, etc... arrangement is given from q to r. (qwer = works, rewq = no) | ** qw, qe, qr, qwe, etc... arrangement is given from q to r. (qwer = works, rewq = no) | ||
* if first augment is given as number, it will follow qwer. | * if first augment is given as number, it will follow qwer. | ||
Line 17: | Line 18: | ||
{{dmgs|r|55}} | {{dmgs|r|55}} | ||
{{dmgs|q|over 50 brute damage}} | {{dmgs|q|over 50 brute damage}} | ||
{{dmgs|t|liver damage}} | |||
{{dmgs|qt|brute|liver damage}} | |||
</pre> | </pre> | ||
will be | will be | ||
Line 25: | Line 28: | ||
* {{dmgs|r|55}} | * {{dmgs|r|55}} | ||
* {{dmgs|q|over 50 brute damage}} (It deosn't have to be numbers always.) | * {{dmgs|q|over 50 brute damage}} (It deosn't have to be numbers always.) | ||
* {{dmgs|qt|brute|liver damage}} | |||
* {{dmgs|t|liver damage}} | |||
=== Where can I use this? === | === 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}}. | * 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}}. | ||
Line 31: | Line 36: | ||
* Defibrillator: It can't revive people more than {{dmgs|qw|180|180}} damages. | * Defibrillator: It can't revive people more than {{dmgs|qw|180|180}} damages. | ||
isn't better to recognise than before? | isn't better to recognise than before? | ||
=== raw code === | |||
I am sorry, but this is hardcoded becuase I don't know wiki format, but this will make you better to read. | |||
<pre> | |||
{{#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}}}|t|<span style="color:#A105B3">{{{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}}}|qt|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#A105B3">{{{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}}}|wt|<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#A105B3">{{{3}}}</span>}} | |||
{{#ifeq:{{{1}}}|er|<span style="color:#00B803">{{{2}}}</span>/<span style="color:#0067E3">{{{3}}}</span>}} | |||
{{#ifeq:{{{1}}}|et|<span style="color:#00B803">{{{2}}}</span>/<span style="color:#A105B3">{{{3}}}</span>}} | |||
{{#ifeq:{{{1}}}|rt|<span style="color:#0067E3">{{{2}}}</span>/<span style="color:#A105B3">{{{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}}}|qwt|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>/<span style="color:#A105B3">{{{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}}}|qet|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>/<span style="color:#A105B3">{{{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}}}|wet|<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>/<span style="color:#A105B3">{{{4}}}</span>}} | |||
{{#ifeq:{{{1}}}|wrt|<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#0067E3">{{{3}}}</span>/<span style="color:#A105B3">{{{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}}}|e|| | |||
{{#ifeq:{{{1}}}|qwert|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>/<span style="color:#00B803">{{{4}}}</span>/<span style="color:#0067E3">{{{5}}}/<span style="color:#00B803">{{{6}}}</span>}}{{#ifeq:{{{1}}}|e|| | |||
{{#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}}}|}}}}</span> | |||
</pre> |
Revision as of 10:14, 8 January 2023
This shows a colourful text.
- first augment is type of damage.
- q: brute (red)
- w: burn (orange)
- e: toxin (green)
- r: oxy (blue)
- t: extra (purple)
- qw, qe, qr, qwe, etc... arrangement is given from q to r. (qwer = works, rewq = no)
- if first augment is given as number, it will follow qwer.
{{dmgs|5|15|25|30}} {{dmgs|qwer|1|2|4|6}} {{dmgs|qw|15|25}} {{dmgs|e|25 Toxin damage}} {{dmgs|r|55}} {{dmgs|q|over 50 brute damage}} {{dmgs|t|liver damage}} {{dmgs|qt|brute|liver damage}}
will be
- {#ifeq:5|r|15}}{{#ifeq:5|e||5/15/25/30
- {#ifeq:qwer|r|1}}1/2/4/6{{#ifeq:qwer|e||
- {#ifeq:qw|r|15}}15/25{{#ifeq:qw|e||
- 25 Toxin damage{#ifeq:e|r|25 Toxin damage}}{{#ifeq:e|e||
- {#ifeq:r|r|55}}{{#ifeq:r|e||
- over 50 brute damage{#ifeq:q|r|over 50 brute damage}}{{#ifeq:q|e|| (It deosn't have to be numbers always.)
- {#ifeq:qt|r|brute}}brute/liver damage{{#ifeq:qt|e||
- {#ifeq:t|r|liver damage}}liver damage{{#ifeq:t|e||
Where can I use this?
- Bicaridine: Heals 1.5{#ifeq:q|r|1.5}}{{#ifeq:q|e|| when your taken brute damage is below 50{#ifeq:q|r|50}}{{#ifeq:q|e||. At more than 50 damage, It heals 0.5{#ifeq:q|r|0.5}}{{#ifeq:q|e||.
- Kelotane: Heals 1.5{#ifeq:w|r|1.5}}{{#ifeq:w|e|| when your taken burn damage is below 50{#ifeq:w|r|50}}{{#ifeq:w|e||. At more than 50 damage, It heals 0.5{#ifeq:w|r|0.5}}{{#ifeq:w|e||.
- Epinephrine: If you are in the critical condition, heals {#ifeq:0.5|r|0.5}}{{#ifeq:0.5|e||0.5/0.5/0.5/0.5. If not, It doesn't heal anything. Prevents oxygen damage from going over {#ifeq:r|r|35}}{{#ifeq:r|e||.
- Defibrillator: It can't revive people more than {#ifeq:qw|r|180}}180/180{{#ifeq:qw|e|| damages.
isn't better to recognise than before?
raw code
I am sorry, but this is hardcoded becuase I don't know wiki format, but this will make you better to read.
{{#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}}}|t|<span style="color:#A105B3">{{{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}}}|qt|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#A105B3">{{{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}}}|wt|<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#A105B3">{{{3}}}</span>}} {{#ifeq:{{{1}}}|er|<span style="color:#00B803">{{{2}}}</span>/<span style="color:#0067E3">{{{3}}}</span>}} {{#ifeq:{{{1}}}|et|<span style="color:#00B803">{{{2}}}</span>/<span style="color:#A105B3">{{{3}}}</span>}} {{#ifeq:{{{1}}}|rt|<span style="color:#0067E3">{{{2}}}</span>/<span style="color:#A105B3">{{{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}}}|qwt|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>/<span style="color:#A105B3">{{{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}}}|qet|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>/<span style="color:#A105B3">{{{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}}}|wet|<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#00B803">{{{3}}}</span>/<span style="color:#A105B3">{{{4}}}</span>}} {{#ifeq:{{{1}}}|wrt|<span style="color:#E2B200">{{{2}}}</span>/<span style="color:#0067E3">{{{3}}}</span>/<span style="color:#A105B3">{{{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}}}|e|| {{#ifeq:{{{1}}}|qwert|<span style="color:#FF0000">{{{2}}}</span>/<span style="color:#E2B200">{{{3}}}</span>/<span style="color:#00B803">{{{4}}}</span>/<span style="color:#0067E3">{{{5}}}/<span style="color:#00B803">{{{6}}}</span>}}{{#ifeq:{{{1}}}|e|| {{#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}}}|}}}}</span>