Difference between revisions of "Template:Strange rank name"

From Team Fortress Wiki
Jump to: navigation, search
(This one says 'Strange Tool', apparently)
m
Line 3: Line 3:
 
   {{#ifeq:{{lc:{{{item-name}}}}}|holiday punch|yes}}
 
   {{#ifeq:{{lc:{{{item-name}}}}}|holiday punch|yes}}
 
|
 
|
     {{#ifexpr: 0 <= {{{kills}}} and {{{kills}}} < 10 | {{Item name|Strange}}}}
+
     {{#ifexpr: 0 <= {{{kills}}} and {{{kills}}} < 10 | {{Item name|strange-rank}}}}
 
     {{#ifexpr: 10 <= {{{kills}}} and {{{kills}}} < 25 | {{Item name|Unremarkable}}}}
 
     {{#ifexpr: 10 <= {{{kills}}} and {{{kills}}} < 25 | {{Item name|Unremarkable}}}}
 
     {{#ifexpr: 25 <= {{{kills}}} and {{{kills}}} < 45 | {{Item name|Almost Amusing}}}}
 
     {{#ifexpr: 25 <= {{{kills}}} and {{{kills}}} < 45 | {{Item name|Almost Amusing}}}}

Revision as of 13:01, 3 November 2020

Documentation for Strange rank name

This template returns the correct (language-translated and killcount-accurate) strange rank name. For example, a rocket launcher with 750 kills is 'Positively Inhumane'. This is primarily used for {{Backpack item}}.