Difference between revisions of "Template:Class health pack and overheal table"

From Team Fortress Wiki
Jump to: navigation, search
(Added v•d•e to template.)
Line 2: Line 2:
 
! class="header" | Class
 
! class="header" | Class
 
{{#ifeq:{{{1}}}|overheal|
 
{{#ifeq:{{{1}}}|overheal|
! class="header" {{!}} {{Common string|health}}
+
! class="header" {{!}} {{Navbar float|Class health pack and overheal table}} {{Common string|health}}
 
! class="header" {{!}} {{Common string|Overheal}}
 
! class="header" {{!}} {{Common string|Overheal}}
 
! class="header" {{!}} {{Item link|Quick-Fix}} {{common string|Overheal}}
 
! class="header" {{!}} {{Item link|Quick-Fix}} {{common string|Overheal}}
 
|<!-- if {{{1}}} is not overheal -->
 
|<!-- if {{{1}}} is not overheal -->
! class="header" {{!}} [[Image:Smallhealth.png|50x40px]]<br><small>{{lang
+
! class="header" {{!}} {{Navbar float|Class health pack and overheal table}} [[Image:Smallhealth.png|50x40px]]<br><small>{{lang
 
  | en = Small
 
  | en = Small
 
  | de = Klein
 
  | de = Klein

Revision as of 06:14, 22 June 2015

Documentation for Class health pack and overheal table

Parameter 1 can be set to overheal to switch from the health pack table to the overheal table.
Formatting is done per-row, with the use of border-top:0 and border-bottom:0. These values are also passed into the core template.
Some exceptions (Shortstop, Back Scratcher, Dalokohs Bar, Conniver's Kunai) had to be hard-coded into the core template.
Some rows are only relevant to overheal or only relevant to health packs. These rows are wrapped in {{#ifeq:{{{1}}}|overheal|true|false}}.