Difference between revisions of "Template:Overheal tool"

From Team Fortress Wiki
Jump to: navigation, search
(Added some more translation switching.)
(Added documentation.)
Line 1: Line 1:
<small> {{lang
+
<includeonly><small> {{lang
 
   | en = /  
 
   | en = /  
 
   | zh-hant = /
 
   | zh-hant = /
}}[[File:Medic_emblem_RED.png|15px|link=]]{{tooltip|{{Math/Overheal|{{{1|300}}}}}|{{#ifeq:{{{mode}}}|classic|
+
}}[[File:Medic_emblem_RED.png|15px|link=]]{{tooltip|{{Math/Overheal|{{{1|300}}}}}|{{#ifeq:{{{mode}}}|classic|{{lang
 
 
{{lang
 
 
| en = Adrenalised
 
| en = Adrenalised
 
| cs = Při přeléčení
 
| cs = Při přeléčení
Line 36: Line 34:
 
| cs = od Medika
 
| cs = od Medika
 
| pt = por um Medic
 
| pt = por um Medic
}}}}</small><noinclude>
+
}}}}</small></includeonly><noinclude>
 +
{{Translation switching|cs, fr, ko, pl, 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:Formatting templates]]
 
</noinclude>
 
</noinclude>

Revision as of 20:28, 6 December 2013

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