Difference between revisions of "Template:UserItem"

From Team Fortress Wiki
Jump to: navigation, search
(Fix so all instances have the same height regardless of image shape.)
m (Added links to the images (again))
 
(4 intermediate revisions by one other user not shown)
Line 7: Line 7:
 
   | haunted  = #38F3AB
 
   | haunted  = #38F3AB
 
   | unusual  = #8650AC
 
   | unusual  = #8650AC
 +
        | collectors = #AA0000
 
   | self-made
 
   | self-made
 
   | community = #70B04A
 
   | community = #70B04A
Line 21: Line 22:
 
     | haunted  = #1C7966
 
     | haunted  = #1C7966
 
     | unusual  = #332538
 
     | unusual  = #332538
 +
        | collectors = #3d0606
 
   | self-made
 
   | self-made
 
   | community = #2F3A24
 
   | community = #2F3A24
Line 36: Line 38:
 
     | haunted  = #1C7966
 
     | haunted  = #1C7966
 
   | unusual  = #332538
 
   | unusual  = #332538
 +
        | collectors = #3d0606
 
   | self-made
 
   | self-made
 
     | community = #2F3A24
 
     | community = #2F3A24
Line 44: Line 47:
 
   |info-s  = 7
 
   |info-s  = 7
 
   |info-fc  = #fff
 
   |info-fc  = #fff
   |id      = [[File:Backpack {{{item|Huntsman}}}.png|40x40px]]
+
   |id      = [[File:Backpack {{{item|Huntsman}}}.png|40x40px|link={{{item|Huntsman}}}]]
 
   |info    = This user owns {{#switch: {{{quality|}}}
 
   |info    = This user owns {{#switch: {{{quality|}}}
 
   | normal    = {{#switch: {{{item|}}}
 
   | normal    = {{#switch: {{{item|}}}
Line 125: Line 128:
 
   | #default                = an
 
   | #default                = an
 
   }} [[Unusual|<font color="#8650AC">Unusual]]</font> [[{{{item}}}|<font color="#8650AC">{{{item}}}]]</font>.
 
   }} [[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|}}}
 
   | self-made = {{#switch: {{{item|}}}
 
   | Stereoscopic Shades
 
   | Stereoscopic Shades

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.