Difference between revisions of "Template:User Item/doc"
Cooper Kid (talk | contribs) m |
Cooper Kid (talk | contribs) (Aded a couple of useful links.) |
||
Line 1: | Line 1: | ||
+ | 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== | ==Parameters== | ||
'''WARNING: All parameters are CASE SENSITIVE''' | '''WARNING: All parameters are CASE SENSITIVE''' | ||
Line 4: | 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'' | + | *'''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). |
*'''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. | + | *'''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 default styles in the first column. |
*'''info''' = Comment. | *'''info''' = Comment. | ||
Line 21: | Line 23: | ||
<pre>{{User Item|name = Respectless Rubber Glove|rename = Chicken|quality = Valve|info = Deeply Frozen|paint = Team Spirit BLU|colour = #FA8072}}</pre> | <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}} | {{User Item|name = Respectless Rubber Glove|rename = Chicken|quality = Valve|info = Deeply Frozen|paint = Team Spirit BLU|colour = #FA8072}} | ||
− | + | <br> |
Revision as of 13:09, 20 March 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 or Spirit Of Giving ranks).
- 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 Template:W. 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 default styles in the first column.
- info = Comment.
Examples
{{User Item|name = Mad Milk|rename = Lon Lon Milk|quality = Hale's Own|info = 390 kills}}
{{User Item|name = Larrikin Robin|rename = Robbin' Hood|colour = green}}
{{User Item|name = Reggaelator|quality = Vintage|paint = Indubitably Green}}
{{User Item|name = Scotsman's Stove Pipe|rename = Happy Irishman|info = Potatoes!|paint = Indubitably Green|style = Garish and Overbearing}}
{{User Item|name = Respectless Rubber Glove|rename = Chicken|quality = Valve|info = Deeply Frozen|paint = Team Spirit BLU|colour = #FA8072}}