Difference between revisions of "Template:User Item/doc"

From Team Fortress Wiki
Jump to: navigation, search
(default default?)
m (Changing {{w}} to w:)
 
(3 intermediate revisions by one other user not shown)
Line 6: Line 6:
 
*'''name''' = Name of item.
 
*'''name''' = Name of item.
 
*'''rename''' = Alternate name (for renamed items).
 
*'''rename''' = Alternate name (for renamed items).
*'''quality''' = Item quality (accepts ''Normal'', ''Vintage'', ''Genuine'', ''Unusual'', ''Haunted'', ''Community'', ''Self-Made'', ''Valve'' or any [[Strange#Strange weapon ranks|Strange]] or [[Strange#Spirit Of Giving ranks|Spirit Of Giving]] ranks).
+
*'''quality''' = Item quality (accepts ''Normal'', ''Vintage'', ''Genuine'', ''Unusual'', ''Haunted'', ''Community'', ''Self-Made'', ''Valve'' or any [[Strange#Ranks|Strange]] rank).
 
*'''paint''' = Painted color ([[paint can|paint can's]] name. For team paints, team should be specified in CAPS, e.g. ''Team Spirit RED'').
 
*'''paint''' = Painted color ([[paint can|paint can's]] name. For team paints, team should be specified in CAPS, e.g. ''Team Spirit RED'').
*'''colour''' = Background colour. Accepts any hex code or {{w|Web colors#X11 color names|HTML colour}}. Defaults to ''white'' to blend in with the page.
+
*'''colour''' = Background colour. Accepts any hex code or [[w:Web colors#X11 color names|HTML colour]]. Defaults to ''white'' to blend in with the page.
*'''style''' = A style. This should only be used if the desired style is NOT the default style. The [[Styles#Items with styles|styles table]] lists all default styles in the first column.
+
*'''style''' = A style. This should only be used if the desired style is NOT the default style. The [[Styles#Items with styles|styles table]] lists all default styles in the first column. This feature is not compatible with weapons.
 
*'''info''' = Comment.
 
*'''info''' = Comment.
  
 
==Examples==
 
==Examples==
<pre>{{User Item|name = Mad Milk|rename = Lon Lon Milk|quality = Hale's Own|info = 390 kills}}</pre>
+
{|
{{User Item|name = Mad Milk|rename = Lon Lon Milk|quality = Hale's Own|info = 390 kills}}<br>
+
|<pre>{{User Item|name = Mad Milk|rename = Lon Lon Milk|quality = Hale's Own}}</pre>
<pre>{{User Item|name = Larrikin Robin|rename = Robbin' Hood|colour = green}}</pre>
+
|-
{{User Item|name = Larrikin Robin|rename = Robbin' Hood|colour = green}}
+
|{{User Item|name = Mad Milk|rename = Lon Lon Milk|quality = Hale's Own}}
<pre>{{User Item|name = Scotsman's Stove Pipe|quality = Vintage|paint = Indubitably Green}}</pre>
+
|-
{{User Item|name = Scotsman's Stove Pipe|quality = Vintage|paint = Indubitably Green}}
+
|<pre>{{User Item|name = Larrikin Robin|rename = Robbin' Hood|colour = green}}</pre>
<pre>{{User Item|name = Scotsman's Stove Pipe|rename = Happy Irishman|info = Potatoes!|paint = Indubitably Green|style = Garish and Overbearing}}</pre>
+
|-
{{User Item|name = Scotsman's Stove Pipe|rename = Happy Irishman|info = Potatoes!|paint = Indubitably Green|style = Garish and Overbearing}}
+
|{{User Item|name = Larrikin Robin|rename = Robbin' Hood|colour = green}}
<pre>{{User Item|name = Respectless Rubber Glove|rename = Chicken|quality = Valve|info = Deeply Frozen|paint = Team Spirit BLU|colour = #FA8072}}</pre>
+
|-
{{User Item|name = Respectless Rubber Glove|rename = Chicken|quality = Valve|info = Deeply Frozen|paint = Team Spirit BLU|colour = #FA8072}}
+
|<pre>{{User Item|name = Scotsman's Stove Pipe|quality = Vintage|paint = Indubitably Green}}</pre>
<br>
+
|-
 +
|{{User Item|name = Scotsman's Stove Pipe|quality = Vintage|paint = Indubitably Green}}
 +
|-
 +
|<pre>{{User Item|name = Scotsman's Stove Pipe|rename = Happy Irishman|info = Potatoes!|paint = Indubitably Green|style = Garish and Overbearing}}</pre>
 +
|-
 +
|{{User Item|name = Scotsman's Stove Pipe|rename = Happy Irishman|info = Potatoes!|paint = Indubitably Green|style = Garish and Overbearing}}
 +
|-
 +
|<pre>{{User Item|name = Respectless Rubber Glove|rename = Chicken|quality = Valve|info = Deeply Frozen|paint = Team Spirit BLU|colour = #FA8072}}</pre>
 +
|-
 +
|{{User Item|name = Respectless Rubber Glove|rename = Chicken|quality = Valve|info = Deeply Frozen|paint = Team Spirit BLU|colour = #FA8072}}
 +
|-
 +
|<pre>{{User Item|name = Splendid Screen|quality = The Dynamic Do-Gooder's|info = 390 kills}}</pre>
 +
|-
 +
|{{User Item|name = Splendid Screen|quality = The Dynamic Do-Gooder's|info = 390 kills}}
 +
|}<br>

Latest revision as of 14:33, 25 November 2012

This is a userbox-style template which can be used to display any item desired, along with its name, quality, an image, and any other information you want to add.

Parameters

WARNING: All parameters are CASE SENSITIVE

  • name = Name of item.
  • rename = Alternate name (for renamed items).
  • quality = Item quality (accepts Normal, Vintage, Genuine, Unusual, Haunted, Community, Self-Made, Valve or any Strange rank).
  • paint = Painted color (paint can's name. For team paints, team should be specified in CAPS, e.g. Team Spirit RED).
  • colour = Background colour. Accepts any hex code or HTML colour. Defaults to white to blend in with the page.
  • style = A style. This should only be used if the desired style is NOT the default style. The styles table lists all default styles in the first column. This feature is not compatible with weapons.
  • info = Comment.

Examples

{{User Item|name = Mad Milk|rename = Lon Lon Milk|quality = Hale's Own}}
Item icon Mad Milk.png Hale's Own "Lon Lon Milk"


{{User Item|name = Larrikin Robin|rename = Robbin' Hood|colour = green}}
Item icon Larrikin Robin.png "Robbin' Hood"


{{User Item|name = Scotsman's Stove Pipe|quality = Vintage|paint = Indubitably Green}}
Painted Scotsman's Stove Pipe 729E42.png Vintage Scotsman's Stove Pipe


{{User Item|name = Scotsman's Stove Pipe|rename = Happy Irishman|info = Potatoes!|paint = Indubitably Green|style = Garish and Overbearing}}
Painted Scotsman's Stove Pipe 729E42 Garish and Overbearing.png "Happy Irishman"
Potatoes!


{{User Item|name = Respectless Rubber Glove|rename = Chicken|quality = Valve|info = Deeply Frozen|paint = Team Spirit BLU|colour = #FA8072}}
Painted Respectless Rubber Glove 5885A2.png Valve "Chicken"
Deeply Frozen


{{User Item|name = Splendid Screen|quality = The Dynamic Do-Gooder's|info = 390 kills}}
Item icon Splendid Screen.png The Dynamic Do-Gooder's Splendid Screen
390 kills