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

From Team Fortress Wiki
Jump to: navigation, search
(Added remaining da-strings.)
m (Image -> File)
Line 6: Line 6:
 
! 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" {{!}} [[File:Smallhealth.png|50x40px]]<br><small>{{lang
 
  | en = Small
 
  | en = Small
 
  | da = Lille
 
  | da = Lille
Line 21: Line 21:
 
  | ru = Маленькая
 
  | ru = Маленькая
 
  }}</small>
 
  }}</small>
! class="header" {{!}} [[Image:Mediumhealth.png|50x40px]]<br><small>{{lang
+
! class="header" {{!}} [[File:Mediumhealth.png|50x40px]]<br><small>{{lang
 
  | en = Medium
 
  | en = Medium
 
  | da = Medium
 
  | da = Medium
Line 36: Line 36:
 
  | ru = Средняя
 
  | ru = Средняя
 
  }}</small>
 
  }}</small>
! class="header" {{!}} [[Image:Largehealth.png|50x40px]]<br><small>{{lang
+
! class="header" {{!}} [[File:Largehealth.png|50x40px]]<br><small>{{lang
 
  | en = Large
 
  | en = Large
 
  | da = Stor
 
  | da = Stor

Revision as of 19:20, 22 April 2016

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}}.