Template:Backpack item/doc
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). The item name will be automatically translated on language subpages. | |
custom-name
|
Spam Hammer
|
Adds a custom name with quotation marks. Still needs item-name to produce the correct image.
|
|
no-custom-name-quotes
|
yes
|
Removes quotation marks from custom names if the custom-name field is used.
|
|
custom-icon
|
Backpack Ham Shank.png
|
Adds a custom icon for users' own purposes. This parameter is independent from item-name parameter.
|
|
quality
|
genuine
|
Defaults to "unique " (the standard item yellow). See Item quality for a list of accepted values.
|
|
prefix
|
none The Best
|
Set to "none" to hide any prefix added by quality , while keeping the quality's color. Can also use a custom value.
|
|
suffix
|
none (Slight Return)
|
Similar to prefix , for use in non-en pages. Can also use a custom value.
|
|
filter
|
Coldfront
|
Adds the appropriate Strange Filter prefix/suffix to the weapon. | |
paint-color
|
Mann Co. Orange
|
Adds a colored paint splat at the top right of the item icon, indicating the item is painted. | |
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. | |
strange-icon
|
yes
|
Adds an icon at the top right of the item icon, indicating the item is Strange. | |
decal-icon
|
yes
|
Adds this icon at the top right of the item icon, indicating the item has a Decal applied. | |
Attributes | |||
item-level
|
68
|
Item level. Defaults to "1 - 100". | |
item-kind
|
Hat
|
Item kind. This string is not automatically translated. | |
no-level
|
yes
|
Optional attribute. If "yes", item level will not be displayed. | |
limited
|
yes
|
Optional attribute. If "yes", the item name will be colored yellow, the word "Limited" will be added with a link to Limited Quantity. |
Batter's Helmet |
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 .
|
|
wear
|
Field-Tested
|
For use on Decorated weapons. Valid options are Battle Scarred, Well-Worn, Field-Tested, Minimal Wear, Factory New .
|
|
skin
|
Warhawk
|
Decorated skin name. See Template:Dictionary/decorated#Skins for a list of accepted values. | |
rankson
|
Buildings Sapped
|
Primary stat being tracked for a Strange item. | |
killcount
|
7613
|
Number of points for the primary stat being tracked. | |
rankson2
|
Kill assists or Damage dealt
|
For Strange Parts or the secondary stat being tracked. rankson3 and rankson4 work similarly.
|
|
killcount2
|
50
|
Number of points for Strange Parts or the secondary stat being tracked. killcount3 and killcount4 work similarly.
|
|
|
|
Displays up to 8 positive, negative, or neutral values. | |
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.
|
|
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. | |
gift-from
|
Robin
|
Display the source of a gifted item. | |
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.
|
|
item-expiration
|
Dec 31, 2010 (23:00:00)
|
For items that expire. | |
item-uses
|
4
|
For items that have "uses". | |
item-flags
|
Not Tradable, Marketable, or Usable in Crafting
|
For item flags. Displays them inside brackets. | |
Styling | |||
width
|
75%
|
Width parameter. Defaults to 100% in infoboxes, but for other usages, can be any value (%, px, pt, em).
|
|
style
|
background: #490040;
|
Style parameter. Can add any valid CSS style to the main div. |
See also
Image insertion templates (
)- Team Fortress 2
{{Backpack icon}}
– for inserting an image from the backpack.{{Backpack item}}
– for displaying loadout stats.{{Icon class}}
– for displaying class icons.{{Icon item}}
– for displaying images from the item icons done in Shugo style.{{Icon killicon}}
– for displaying kill icon images.{{Kill notice}}
– for displaying a kill notice.
- Wiki-related
{{Possession}}
– for displaying the icons used in{{Item checklist}}
.{{User halloween mask possession}}
– for displaying Halloween Mask icons used in hat and item checklists.{{Comment}}
– for displaying "Support", "Oppose" and "Comment" symbols.{{Pro}}
,{{Con}}
&{{Neut}}
; Compact form for common uses of{{Comment}}
{{Flagicon}}
– generates the flag icon of a country when given the country code.