Difference between revisions of "Template:UserItem"

From Team Fortress Wiki
Jump to: navigation, search
m (Reducing the border size; it's bumping off the allignment of other userboxes.)
m (Fixed links to Item Quality page, Added the ability to use "strange" as an acceptable Quality value. Kill-Eater ranks however aren't available. See talk page for why.)
Line 9: Line 9:
 
                 | community = #70B04A
 
                 | community = #70B04A
 
                 | valve    = #A50F79
 
                 | valve    = #A50F79
 +
| strange  = #CD9B1D
 
                 | #default  = #FFD700 <!-- default to unique -->
 
                 | #default  = #FFD700 <!-- default to unique -->
 
               }}
 
               }}
Line 21: Line 22:
 
                 | community = #2F3A24
 
                 | community = #2F3A24
 
                 | valve    = #39192D
 
                 | valve    = #39192D
 +
| strange  = #3B3125
 
                 | #default  = #4B4116 <!-- default to unique -->
 
                 | #default  = #4B4116 <!-- default to unique -->
 
               }}
 
               }}
Line 34: Line 36:
 
                 | community = #2F3A24
 
                 | community = #2F3A24
 
                 | valve    = #39192D
 
                 | valve    = #39192D
 +
| strange  = #3B3125
 
                 | #default  = #4B4116 <!-- default to unique -->
 
                 | #default  = #4B4116 <!-- default to unique -->
 
               }}
 
               }}
Line 40: Line 43:
 
   |id      = [[File:Backpack {{{item}}}.png|40px]]
 
   |id      = [[File:Backpack {{{item}}}.png|40px]]
 
   |info    = This user owns {{#switch: {{{quality|}}}
 
   |info    = This user owns {{#switch: {{{quality|}}}
                 | normal    =  a [[Quality#Normal items|<font color="#B2B2B2">Normal]]</font> [[{{{item}}}|
+
                 | normal    =  a [[Item_quality#Normal_items|<font color="#B2B2B2">Normal]]</font> [[{{{item}}}|
  
 
<font color="#B2B2B2">{{{item}}}]]</font>.
 
<font color="#B2B2B2">{{{item}}}]]</font>.
                 | unique    =  a [[Quality#Unique items|<font color="#FFD700">Unique]]</font> [[{{{item}}}|
+
                 | unique    =  a [[Item_quality#Unique_items|<font color="#FFD700">Unique]]</font> [[{{{item}}}|
  
 
<font color="#FFD700">{{{item}}}]]</font>.
 
<font color="#FFD700">{{{item}}}]]</font>.
                 | vintage  =  a [[Quality#Vintage items|<font color="#476291">Vintage]]</font> [[{{{item}}}|
+
                 | vintage  =  a [[Item_quality#Vintage_items|<font color="#476291">Vintage]]</font> [[{{{item}}}|
  
 
<font color="#476291">{{{item}}}]]</font>.
 
<font color="#476291">{{{item}}}]]</font>.
                 | genuine  =  a [[Quality#Genuine items|<font color="#4d7455">Genuine]]</font> [[{{{item}}}|
+
                 | genuine  =  a [[Item_quality#Genuine_items|<font color="#4d7455">Genuine]]</font> [[{{{item}}}|
  
 
<font color="#4d7455">{{{item}}}]]</font>.
 
<font color="#4d7455">{{{item}}}]]</font>.
                 | unusual  =  an [[Quality#Unusual items|<font color="#8650AC">Unusual]]</font> [[{{{item}}}|
+
                 | unusual  =  an [[Item_quality#Unusual_items|<font color="#8650AC">Unusual]]</font> [[{{{item}}}|
  
 
<font color="#8650AC">{{{item}}}]]</font>.
 
<font color="#8650AC">{{{item}}}]]</font>.
                 | self-made =  a [[Quality#Self-Made items|<font color="#70B04A">Self-Made]]</font>  
+
                 | self-made =  a [[Item_quality#Self-Made_items|<font color="#70B04A">Self-Made]]</font>  
  
 
[[{{{item}}}|<font color="#70B04A">{{{item}}}]]</font>.
 
[[{{{item}}}|<font color="#70B04A">{{{item}}}]]</font>.
                 | community =  a [[Quality#Community items|<font color="#70B04A">Community]]</font>  
+
                 | community =  a [[Item_quality#Community_items|<font color="#70B04A">Community]]</font>  
  
 
[[{{{item}}}|<font color="#70B04A">{{{item}}}]]</font>.
 
[[{{{item}}}|<font color="#70B04A">{{{item}}}]]</font>.
                 | valve    =  a [[Quality#Valve weapons|<font color="#A50F79">Valve]]</font> [[{{{item}}}|
+
                 | valve    =  a [[Item_quality#Valve_items|<font color="#A50F79">Valve]]</font> [[{{{item}}}|
  
 
<font color="#A50F79">{{{item}}}]]</font>.
 
<font color="#A50F79">{{{item}}}]]</font>.
                 | #default  =  a [[Quality#Unique items|<font color="#FFD700">Unique]]</font> [[{{{item}}}|
+
| strange    =  a [[Item_quality#Strange_items|<font color="#A50F79">Strange]]</font> [[{{{item}}}|
 +
 
 +
<font color="#CD9B1D">{{{item}}}]]</font>.
 +
                 | #default  =  a [[Item_quality#Unique_items|<font color="#FFD700">Unique]]</font> [[{{{item}}}|
  
 
<font color="#FFD700">{{{item}}}]]</font>.
 
<font color="#FFD700">{{{item}}}]]</font>.

Revision as of 15:00, 24 June 2011

[[File:Backpack {{{item}}}.png|40px]] This user owns a Unique [[{{{item}}}|

{{{item}}}]].


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.