Template:Backpack item/doc

From Team Fortress Wiki
< Template:Backpack item
Revision as of 02:22, 26 October 2020 by Boba (talk | contribs) (2)
Jump to: navigation, search

This template is used to display item stats similar to how they appear in-game.

Parameters

Parameter Example Description Result
Basics
item-name Condor Cap Proper item name in English (Condor Cap instead of Bonnet de condor). Automatically grabs the item's icon. The item name will be automatically translated on any language subpages.
Backpack Condor Cap.png

Condor Cap
Level 1 - 100 Hat

custom-name Spam Hammer Adds a custom name with quotation marks. Still needs item-name to produce the correct image.
Backpack Homewrecker.png

"Spam Hammer"
Level 5 Sledgehammer
+100% damage vs buildings
Damage removes Sappers
-25% damage vs players

no-custom-name-quotes yes Removes quotation marks from custom names if the custom-name field is used. Still needs item-name to produce the correct image.
Backpack Texas Slim's Dome Shine.png

Smooth as Butter
Level 1 - 100 Hat
Sometimes you just need a little less hat.

custom-icon BLU Bombcart.png Adds a custom icon for users' own purposes. This parameter is independent from item-name parameter.
BLU Bombcart.png

Mr. Quackers
Assassin Grade Mask
Mask

quality genuine Defaults to "unique" (the standard item yellow). See Item quality for a list of accepted values.
Backpack Horseless Headless Horsemann's Headtaker.png

Genuine Horseless Headless Horsemann's Headtaker
Level 1 - 100 Axe
This weapon has a large melee range and deploys and holsters slower
No random critical hits
-25 max health on wearer
Cursed by dark spirits similar to those that dwell within the Eyelander.

( Not Tradable or Marketable )

prefix none
The Best
Set to "none" to hide any prefix added by quality, while keeping the quality's color. Can use a custom value.
Backpack Flare Gun.png

The Best Flare Gun
Level 10 Flare Gun
100% critical hit vs burning players
This weapon will reload when not active

suffix none
(Slight Return)
Similar to prefix, mainly for use in non-en pages. Can use a custom value.
Backpack Flame Thrower.png

Flame Thrower (Slight Return)
Level 1 Flame Thrower
Extinguishing teammates restores 20 health
Afterburn reduces Medi Gun healing and resist shield effects.
Alt-Fire: Release a blast of air that pushes enemies and projectiles and extinguish teammates that are on fire.

filter Coldfront Adds the appropriate Strange Filter prefix/suffix to the weapon. See List of maps for a list of accepted values.
Viewmode strange.png
Backpack Shotgun.png

Strange Frosty Shotgun
Strange Shotgun - Kills: 0

paint-color Mann Co. Orange Adds a colored paint splat at the top right of the item icon, indicating the item is painted. See Paint Can for a list of accepted values.
Paint Splat CF7336.png
Backpack Mislaid Sweater.png

The Mislaid Sweater
Commando Grade Sweater
Sweater

unusual-effect Stormy Storm Adds the specified Unusual effect to the item's description. Also adds an Unusual at the top right of the item icon, indicating the item has an Unusual effect. See Unusual for a list of accepted values.
Viewmode unusual.png
Backpack Rimmed Raincatcher.png

Unusual Rimmed Raincatcher
Level 1 - 100 Hat
★ Unusual Effect: Stormy Storm
Because there's no alliteration like alliteration with an 'ARR!'

strange-icon yes Adds an icon at the top right of the item icon, indicating the item is Strange.
Viewmode strange.png
Backpack Scattergun.png

Strange Scattergun
Strange Scattergun - Kills: 0
Extinguishing teammates restores 20 health
Afterburn reduces Medi Gun healing and resist shield effects.
Alt-Fire: Release a blast of air that pushes enemies and projectiles and extinguish teammates that are on fire.

decal-icon yes Adds this icon at the top right of the item icon, indicating the item has a Decal applied.
Paint Splat Decal.png
Backpack Photo Badge.png

Photo Badge
Level 20 Photo Badge
Discourage identity theft.

Custom decals can be applied to this item.

Attributes
item-level 68 The item's level. Defaults to "Level 1 - 100". Can use a custom value.
Backpack Antarctic Researcher.png

The Antarctic Researcher
Level 68 Coat

item-kind Hat Item kind. This string is not automatically translated.
Backpack Lucky Cat Hat.png

Lucky Cat Hat
Elite Grade Absolute Meower
Absolute Meower

no-level yes If set to "yes", item level will not be displayed.
Backpack Camera Beard.png

Camera Beard

limited yes If set to "yes", the the item kind will be colored yellow, and the word "Limited" will be added with a link to Limited Quantity.
Backpack Batter's Helmet.png

Batter's Helmet
Limited Level 1 - 100 Hat
You'll be batting a thousand (skulls in) when you don this red piece of plastic!

grade Commando Colors the item's name according to the specified grade, and treats it like a graded item. Valid options are Civilian, Freelance, Mercenary, Commando, Assassin, Elite.
Backpack Electro Sapper.png

Sapper
Commando Grade Sapper
Sapper

Place on enemy buildings to disable and slowly drain away its health. Placing a sapper does not remove your disguise

wear Field-Tested For use on Decorated weapons. Valid options are Battle Scarred, Well-Worn, Field-Tested, Minimal Wear, Factory New.
Backpack War Room Minigun Field-Tested.png

War Room Minigun
Commando Grade Minigun (Field-Tested)

skin Warhawk Decorated skin name. See Template:Dictionary/decorated#Skins for a list of accepted values.
Backpack Warhawk Rocket Launcher Factory New.png

Warhawk Rocket Launcher
Elite Grade Rocket Launcher (Factory New)

rankson Buildings Sapped Primary stat being tracked for a Strange item.
Viewmode strange.png
Backpack Shovel.png

Strange Shovel
Strange Shovel - Buildings Sapped: 0

killcount 7613 Number of points for the primary stat being tracked. Can use a custom value.
Viewmode strange.png
Backpack Big Elfin Deal.png

Australian Big Elfin Deal
Australian Hat - Points Scored: 7613
You ask me if I wanna be a dentist one more time, pal, I'm gonna kick your teeth in.

rankson2 Kill assists For Strange Parts or the secondary stat being tracked. rankson3 and rankson4 work similarly.
Viewmode strange.png
Backpack Medi Gun.png

Strange Medi Gun
Strange Medi Gun - Ubers: 0
(Kill Assists: 0)

killcount2 50 Number of points for Strange Parts or the secondary stat being tracked. killcount3 and killcount4 work similarly. Can use a custom value.
Viewmode strange.png
Backpack Sniper Rifle.png

Strange Sniper Rifle
Strange Sniper Rifle - Kills: 0
(Damage Dealt: 50)

att-n-neutral
att-n-positive
att-n-negative

att-1-neutral = Cloak Type: Feign Death
att-2-positive = Live forever!
att-3-negative = Just kidding.

Displays up to 8 positive, negative, or neutral values. Can use custom values.
Backpack Dead Ringer.png

Dead Ringer
Level 5 Invis Watch
Cloak Type: Feign Death
Live forever!
Just kidding.

item-description It doesn't matter how much people respect you when they're on fire. For items that have an in-game description. This displays the description in a smaller font in order to distinguish from neutral attributes. Will not display if a custom-description is set. Can use a custom value.
Backpack Yule Hog.png

Yule Hog
Mercenary Grade Hat
Hat

Don't run! It's just ham!

custom-description This hat is the greatest. For items that have a custom in-game description (from a Description Tag). Displays like a normal description but has quotation marks surrounding it. Can use a custom value.
Backpack Napper's Respite.png

Napper's Respite
Level 1 - 100 Hat
"This hat is the greatest."

gift-from Robin Display the source of a gifted item. Can use a custom value.
Backpack Robin Walkers.png

Robin Walkers
Elite Grade Slippers
Slippers


Gift from: Robin
Date Received: Mar 29, 2018 (21:43:08)

date-received Sep 13, 2188 (06:30:00) Display the date a gifted item was received. Will not appear if no gift-from is defined. Can use a custom value.
Backpack Level Three Chin.png

The Level Three Chin
Level 3 Chin

Gift from: boba
Date Received: Sep 13, 2188 (06:30:00)

item-expiration Dec 31, 2010 (23:00:00) For items that expire. Can use a custom value.
Backpack Gift-Stuffed Stocking.png

Gift-Stuffed Stocking
Level 13 Gift
Contains an assortment of goodies for good little Mercenaries.

This item will expire on Dec 31, 2010 (23:00:00).

This is a limited use item. Uses: 1

( Not Tradable or Marketable )

item-uses 4 For items that have a limited number of uses. Can use a custom value.
Backpack Noise Maker - Black Cat.png

Noise Maker - Black Cat
Level 5 Party Favor

This is a limited use item. Uses: 4

item-flags Not Tradable, Marketable, or Usable in Crafting For item flags. Displays them inside brackets. Can use a custom value.
Viewmode unusual.png
Backpack Wiki Cap.png

Community Wiki Cap
Level 20 Hat
★ Unusual Effect: Community Sparkle
Given to valuable Community Contributors
Given to valuable contributors to the official TF2 wiki
http://wiki.teamfortress.com/


( Not Tradable, Marketable, or Usable in Crafting )

Styling
width 75% Width parameter. Defaults to 100% in infoboxes, but for other usages, can be any value (%, px, pt, em).
Backpack Jumper's Jeepcap.png

Jumper's Jeepcap
Level 1 - 100 Hat

style background: #490040; Style parameter. Can add any valid CSS style to the main div.
Backpack Burstchester.png

Taunt: Burstchester
Assassin Grade Special Taunt
Special Taunt

See also

Image insertion templatesview  edit )