Difference between revisions of "Template:Overheal tool"

From Team Fortress Wiki
Jump to: navigation, search
m (Attempting a fix that would change a 125HP overheal from 187.5 to 185.)
 
(34 intermediate revisions by 26 users not shown)
Line 1: Line 1:
<small> / {{tooltip|{{#ifeq:{{Overheal|{{{1|300}}}}}|187.5|185|{{Overheal|{{{1|300}}}}}}}|{{#ifeq:{{{mode}}}|classic|{{lang|en=Adrenalised|fr=Adrénalisé}}|{{lang|en=Overhealed|fr=Buffé}}}} {{lang|en=by a Medic|fr=par un Medic}}}}</small>
+
<includeonly><small> {{lang
 +
  | en = /
 +
  | de = /
 +
  | es = /
 +
  | fr = /
 +
  | pl = /
 +
  | pt-br = /
 +
  | ru = /
 +
  | zh-hant = /
 +
}}[[File:Medic_emblem_RED.png|15px|link=]]{{tooltip|{{Math/Overheal|{{{1|300}}}}}|{{#ifeq:{{{mode}}}|classic|{{lang
 +
| en = Adrenalised
 +
| cs = Při přeléčení
 +
| de = Adrenalisiert
 +
| es = Con adrenalina
 +
| fr = Adrénalisé
 +
| ko = 흥분 상태
 +
| pl = Nadleczony
 +
| pt-br = Com adrenalina
 +
| ro = Adrenalină
 +
| ru = При стимуляции
 +
| zh-hans = 受肾上腺素影响下
 +
}}|{{lang
 +
| en = Overhealed
 +
| cs = Při přeléčení
 +
| de = Überheilung
 +
| es = Con exceso de curación
 +
| fi = Medicin
 +
| fr = Buffé
 +
| ko = 메딕에게
 +
| pl = Nadleczony
 +
| pt = Sobrecurado
 +
| pt-br = Com sobrecura
 +
| ro = Surplus de viață
 +
| ru = При сверхлечении
 +
| tr = Medic tarafından<!-- technically incorrect translating, but turkish syntax != english syntax -->
 +
| zh-hans = 被医生<!-- technically incorrect translating, but chinese syntax != english syntax -->
 +
| zh-hant = 超量治療
 +
}}}}
 +
 
 +
{{lang
 +
| en = by a Medic
 +
| cs = od Medika
 +
| de = durch einen Medic
 +
| es = de un Medic
 +
| fi = yliparantaessa
 +
| fr = par un Medic
 +
| ko = 과치료를 받음
 +
| pl = przez Medyka
 +
| pt = por um Medic
 +
| pt-br = de um Medic
 +
| ro = de un Medic
 +
| ru = медиком
 +
| tr = aşırı iyileştirilirken<!-- see above note for tr -->
 +
| zh-hans = 超量治疗<!-- see above note for zh-hans -->
 +
}}}}</small></includeonly><noinclude>
 +
{{Translation switching|en, de, es, fr, pl, pt-br, ro, ru}}
 +
{{doc begin}}
 +
== Usage ==
 +
For use on class pages. When provided with a number, will calculate the overheal and display it nicely.
 +
== Example ==
 +
For a theoretical class that had 500 health:<br>
 +
500 {{tlx|Overheal tool|500}} produces: 500 {{Overheal tool|500}}<br>
 +
For usage on classic pages:<br>
 +
500 {{tlx|Overheal tool|500|3=mode=classic}} produces: 500 {{Overheal tool|500|mode=classic}}
 +
[[Category:Formatting templates]]
 +
[[Category:Templates]]
 +
</noinclude>

Latest revision as of 18:22, 8 March 2024

Documentation for Overheal tool

Usage

For use on class pages. When provided with a number, will calculate the overheal and display it nicely.

Example

For a theoretical class that had 500 health:
500 {{Overheal tool|500}} produces: 500 /Medic emblem RED.png750
For usage on classic pages:
500 {{Overheal tool|500|mode=classic}} produces: 500 /Medic emblem RED.png750