Difference between revisions of "Template:UserItem"

From Team Fortress Wiki
Jump to: navigation, search
m (Adding Haunted quality. Hopefully this works properly.)
m (Added links to the images (again))
 
(16 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
{{Userbox
 
{{Userbox
 
   |border-c = {{#switch: {{{quality|}}}
 
   |border-c = {{#switch: {{{quality|}}}
                | normal    = #B2B2B2
+
  | normal    = #B2B2B2
                | unique    = #FFD700
+
  | unique    = #FFD700
                | vintage  = #476291
+
  | vintage  = #476291
                | genuine  = #4D7455
+
  | genuine  = #4D7455
                | haunted
+
  | haunted   = #38F3AB
                | unusual  = #8650AC
+
  | unusual  = #8650AC
                | self-made
+
        | collectors = #AA0000
                | community = #70B04A
+
  | self-made
                | valve    = #A50F79
+
  | community = #70B04A
| strange  = #CF6A32
+
  | valve    = #A50F79
                | #default  = #FFD700 <!-- default to unique -->
+
  | strange  = #CF6A32
              }}
+
  | #default  = #FFD700 <!-- default to unique -->
 +
  }}
 
   |border-s = 1
 
   |border-s = 1
 
   |id-c    = {{#switch: {{{quality|}}}
 
   |id-c    = {{#switch: {{{quality|}}}
                | normal    = #232323
+
  | normal    = #232323
                | unique    = #4B4216
+
  | unique    = #4C4216
                | vintage  = #272A32
+
  | vintage  = #252932
                | genuine  = #282E26
+
  | genuine  = #262D25
                | haunted
+
    | haunted   = #1C7966
                | unusual  = #332738
+
    | unusual  = #332538
                | self-made
+
        | collectors = #3d0606
                | community = #2F3A24
+
  | self-made
                | valve    = #39192D
+
  | community = #2F3A24
| strange  = #41351B
+
  | valve    = #39192D
                | #default  = #4B4216 <!-- default to unique -->
+
  | strange  = #422A1D
              }}
+
  | #default  = #4C4216 <!-- default to unique -->
 +
  }}
 
   |id-s    = 14
 
   |id-s    = 14
 
   |id-fc    =  
 
   |id-fc    =  
 
   |info-c  = {{#switch: {{{quality|}}}
 
   |info-c  = {{#switch: {{{quality|}}}
                | normal    = #232323
+
  | normal    = #232323
                | unique    = #4B4216
+
  | unique    = #4C4216
                | vintage  = #272A32
+
  | vintage  = #252932
                | genuine  = #282E26
+
    | genuine  = #262D25
                | haunted
+
    | haunted   = #1C7966
                | unusual  = #332738
+
  | unusual  = #332538
                | self-made
+
        | collectors = #3d0606
                | community = #2F3A24
+
  | self-made
                | valve    = #39192D
+
    | community = #2F3A24
| strange  = #41351B
+
  | valve    = #39192D
                | #default  = #4B4216 <!-- default to unique -->
+
  | strange  = #422A1D
              }}
+
  | #default  = #4C4216 <!-- default to unique -->
 +
  }}
 
   |info-s  = 7
 
   |info-s  = 7
 
   |info-fc  = #fff
 
   |info-fc  = #fff
   |id      = [[File:Backpack {{{item|Huntsman}}}.png|40px]]
+
   |id      = [[File:Backpack {{{item|Huntsman}}}.png|40x40px|link={{{item|Huntsman}}}]]
 
   |info    = This user owns {{#switch: {{{quality|}}}
 
   |info    = This user owns {{#switch: {{{quality|}}}
                | normal    = a [[Normal|<font color="#B2B2B2">Normal]]</font> [[{{{item}}}|<font color="#B2B2B2">{{{item}}}]]</font>.
+
  | normal    = {{#switch: {{{item|}}}
                | unique    = a [[Unique|<font color="#FFD700">Unique]]</font> [[{{{item}}}|<font color="#FFD700">{{{item}}}]]</font>.
+
  | Fists
                | vintage  = a [[Vintage|<font color="#476291">Vintage]]</font> [[{{{item}}}|<font color="#476291">{{{item}}}]]</font>.
+
  | Apoco-Fists
                | genuine  = a [[Genuine|<font color="#4d7455">Genuine]]</font> [[{{{item}}}|<font color="#4D7455">{{{item}}}]]</font>.
+
  | Killing Gloves of Boxing
                | haunted  = a [[Haunted|<font color="#8650AC">Haunted]]</font> [[{{{item}}}|<font color="#8650AC">{{{item}}}]]</font>.
+
  | Gloves of Running Urgently
                | unusual  = an [[Unusual|<font color="#8650AC">Unusual]]</font> [[{{{item}}}|<font color="#8650AC">{{{item}}}]]</font>.
+
  | Fists of Steel = a pair of
                 | self-made = a [[Self-Made|<font color="#70B04A">Self-Made]]</font> [[{{{item}}}|<font color="#70B04A">{{{item}}}]]</font>.
+
  | #default        = a
                | community = a [[Community_(quality)|<font color="#70B04A">Community]]</font> [[{{{item}}}|<font color="#70B04A">{{{item}}}]]</font>.
+
  }} [[Normal|<font color="#B2B2B2">Normal]]</font> [[{{{item}}}|<font color="#B2B2B2">{{{item}}}]]</font>.
                | valve    = a [[Valve_(quality)|<font color="#A50F79">Valve]]</font> [[{{{item}}}|<font color="#A50F79">{{{item}}}]]</font>.
+
  | unique    = {{#switch: {{{item|}}}
| strange     = a [[Strange|<font color="#CF6A32">Strange]]</font> [[{{{item}}}|<font color="#CF6A32">{{{item}}}]]</font>.
+
  | Planeswalker Goggles
                | #default  = a [[Unique|<font color="#FFD700">Unique]]</font> [[{{{item|Huntsman}}}|<font color="#FFD700">{{{item|Huntsman}}}]]</font>.
+
  | Flip-Flops
              }}
+
  | Ball-Kicking Boots
 +
  | Stereoscopic Shades
 +
  | Spooky Sleeves
 +
  | Spooky Shoes
 +
  | Long Fall Loafers
 +
  | Breakneck Baggies
 +
  | Soldier's Slope Scopers
 +
  | Steel Pipes
 +
  | Captain's Cocktails
 +
  | Sight for Sore Eyes
 +
  | Googol Glass Eyes
 +
  | Pickled Paws
 +
  | Security Shades
 +
  | Steel-Toed Stompers
 +
  | Grand Duchess Fairy Wings
 +
  | Aqua Flops
 +
  | Prairie Heel Biters
 +
  | Brainiac Goggles
 +
  | Texas Half-Pants
 +
  | Ze Goggles
 +
  | Silver Bullets
 +
  | Spectre's Spectacles
 +
  | Sneaky Spats of Sneaking
 +
  | Buck Turner All-Stars
 +
  | Antlers
 +
  | Tough Stuff Muffs
 +
  | Earbuds
 +
  | Professor Speks
 +
  | Summer Shades
 +
  | Pyrovision Goggles
 +
  | Deus Specs                                    = a pair of
 +
  | Essential Accessories
 +
  | Lord Cockswain's Novelty Mutton Chops and Pipe
 +
  | Burning Bongos
 +
  | Tribal Bones
 +
  | Rail Spikes
 +
  | Hair of the Dog                                = the
 +
  | #default                                      = a
 +
  }} [[Unique|<font color="#FFD700">Unique]]</font> [[{{{item}}}|<font color="#FFD700">{{{item}}}]]</font>.
 +
  | vintage  = {{#switch: {{{item|}}}
 +
  | Earbuds
 +
  | Pyrovision Goggles = a pair of
 +
  | #default          = a
 +
  }} [[Vintage|<font color="#476291">Vintage]]</font> [[{{{item}}}|<font color="#476291">{{{item}}}]]</font>.
 +
  | genuine  = {{#switch: {{{item|}}}
 +
  | Planeswalker Goggles
 +
  | Ball-Kicking Boots
 +
  | Buck Turner All-Stars
 +
  | Deus Specs            = a pair of
 +
  | #default              = a
 +
  }} [[Genuine|<font color="#4d7455">Genuine]]</font> [[{{{item}}}|<font color="#4D7455">{{{item}}}]]</font>.
 +
  | haunted  = {{#switch: {{{item|}}}
 +
  | Spooky Sleeves
 +
  | Spooky Shoes
 +
  | Steel Pipes
 +
  | Pickled Paws
 +
  | Steel-Toed Stompers
 +
  | Grand Duchess Fairy Wings
 +
  | Silver Bullets            = a pair of
 +
  | Hair of the Dog          = the
 +
  | #default                  = a
 +
  }} [[Haunted|<font color="#38F3AB">Haunted]]</font> [[{{{item}}}|<font color="#38F3AB">{{{item}}}]]</font>.
 +
  | unusual  = {{#switch: {{{item|}}}
 +
  | Soldier's Slope Scopers
 +
  | Ze Goggles
 +
  | Tough Stuff Muffs      = a pair of
 +
  | #default                = an
 +
  }} [[Unusual|<font color="#8650AC">Unusual]]</font> [[{{{item}}}|<font color="#8650AC">{{{item}}}]]</font>.
 +
        | collectors = {{#switch: {{{item|}}}
 +
                 | #default                = a
 +
              }} [[Collector's|<font color="#AA0000">Collector's]]</font> [[{{{item}}}|<font color="#AA0000">{{{item}}}]]</font>.
 +
  | self-made = {{#switch: {{{item|}}}
 +
  | Stereoscopic Shades
 +
  | Spooky Sleeves
 +
  | Spooky Shoes
 +
  | Soldier's Slope Scopers
 +
  | Captain's Cocktails
 +
  | Sight for Sore Eyes
 +
  | Googol Glass Eyes
 +
  | Security Shades
 +
  | Grand Duchess Fairy Wings
 +
  | Prairie Heel Biters
 +
  | Brainiac Goggles
 +
  | Texas Half-Pants
 +
  | Ze Goggles
 +
  | Spectre's Spectacles
 +
  | Sneaky Spats of Sneaking
 +
  | Tough Stuff Muffs
 +
  | Earbuds
 +
  | Professor Speks
 +
  | Summer Shades
 +
  | Deus Specs                                    = a pair of
 +
  | Lord Cockswain's Novelty Mutton Chops and Pipe = the
 +
  | #default = a
 +
  }} [[Self-Made|<font color="#70B04A">Self-Made]]</font> [[{{{item}}}|<font color="#70B04A">{{{item}}}]]</font>.
 +
  | community = a [[Community_(quality)|<font color="#70B04A">Community]]</font> [[{{{item}}}|<font color="#70B04A">{{{item}}}]]</font>.
 +
  | valve    = a [[Valve_(quality)|<font color="#A50F79">Valve]]</font> [[{{{item}}}|<font color="#A50F79">{{{item}}}]]</font>.
 +
  | strange   = {{#switch: {{{item|}}}
 +
  | Fists
 +
  | Killing Gloves of Boxing
 +
  | Gloves of Running Urgently
 +
  | Fists of Steel            = a pair of
 +
  | #default                  = a
 +
  }} {{#if:{{{strange-text|}}}|[[Strange|<font color="#CF6A32">{{{strange-text}}}]]</font>|[[Strange|<font color="#CF6A32">Strange]]</font>}} [[{{{item}}}|<font color="#CF6A32">{{{item}}}]]</font>.
 +
  | #default  = {{#switch: {{{item|}}}
 +
  | Planeswalker Goggles
 +
  | Flip-Flops
 +
  | Ball-Kicking Boots
 +
  | Stereoscopic Shades
 +
  | Spooky Sleeves
 +
  | Spooky Shoes
 +
  | Long Fall Loafers
 +
  | Breakneck Baggies
 +
  | Soldier's Slope Scopers
 +
  | Steel Pipes
 +
  | Captain's Cocktails
 +
  | Sight for Sore Eyes
 +
  | Googol Glass Eyes
 +
  | Pickled Paws
 +
  | Security Shades
 +
  | Steel-Toed Stompers
 +
  | Grand Duchess Fairy Wings
 +
  | Aqua Flops
 +
  | Prairie Heel Biters
 +
  | Brainiac Goggles
 +
  | Texas Half-Pants
 +
  | Ze Goggles
 +
  | Silver Bullets
 +
  | Spectre's Spectacles
 +
  | Sneaky Spats of Sneaking
 +
  | Buck Turner All-Stars
 +
  | Antlers
 +
  | Tough Stuff Muffs
 +
  | Earbuds
 +
  | Professor Speks
 +
  | Summer Shades
 +
  | Pyrovision Goggles
 +
  | Deus Specs                                    = a pair of
 +
  | Essential Accessories
 +
  | Lord Cockswain's Novelty Mutton Chops and Pipe
 +
  | Burning Bongos
 +
  | Tribal Bones
 +
  | Rail Spikes
 +
  | Hair of the Dog                                = the
 +
  | #default                                      = a
 +
  }} [[Unique|<font color="#FFD700">Unique]]</font> [[{{{item|Huntsman}}}|<font color="#FFD700">{{{item|Huntsman}}}]]</font>.
 +
  }}
 
}}
 
}}
 
<br><includeonly><!--
 
<br><includeonly><!--

Latest revision as of 20:37, 18 January 2024

Backpack Huntsman.png This user owns a Unique Huntsman.


Template documentation [view] [edit] [history] [purge]

{{UserItem
|quality = Item Quality
|item = Name of item. This section uses the file-set of "File:Backpack_<item>.png".
}}

Here's an Example:

{{UserItem
|quality = unusual
|item = Horseless Headless Horsemann's Headtaker
}}

The code for this template can also be used like so;

{{UserItem|quality = unusual|item = Horseless Headless Horsemann's Headtaker}}

Acceptable Item Quality Values

  • normal
  • unique
  • vintage
  • genuine
  • strange
  • haunted
  • unusual
  • collector's
  • self-made
  • community
  • valve

Examples

Backpack Scattergun.png This user owns a Normal Scattergun.


Backpack Degreaser.png This user owns a Unique Degreaser.


Backpack Natascha.png This user owns a Vintage Natascha.


Backpack Sun-on-a-Stick.png This user owns a Genuine Sun-on-a-Stick.


Backpack Fists.png This user owns a pair of Strange Fists.


Backpack Napper's Respite.png This user owns an Unusual Napper's Respite.


Backpack B-ankh!.png This user owns a Haunted B-ankh!.


Backpack Medi Gun.png This user owns a Community Medi Gun.


Backpack Dalokohs Bar.png This user owns a Self-Made Dalokohs Bar.


Backpack Rocket Launcher.png This user owns a Valve Rocket Launcher.


Backpack Degreaser.png This user owns a Hale's Own Degreaser.


Backpack Wrangler.png This user owns a Collector's Wrangler.