Difference between revisions of "Template:Backpack item"

From Team Fortress Wiki
Jump to: navigation, search
m
(documentation)
Line 8: Line 8:
 
}}{{#if:{{{negative-attributes|<noinclude>yes</noinclude>}}}|<span style="color: #FF4040;">{{{negative-attributes|<noinclude>+60% cloak drain rate</noinclude>}}}</span><br />}}
 
}}{{#if:{{{negative-attributes|<noinclude>yes</noinclude>}}}|<span style="color: #FF4040;">{{{negative-attributes|<noinclude>+60% cloak drain rate</noinclude>}}}</span><br />}}
 
</div>
 
</div>
</div><noinclude>
+
</div><noinclude><br />{{Doc begin}}
[[Category:Formatting templates]]
+
This template is used to display item stats similar to how they appear in-game.
[[Category:Image insertion templates]]
+
 
 +
== Parameters ==
 +
{| class="wikitable grid"
 +
! Parameter
 +
! Required
 +
! Example
 +
! Description
 +
|-
 +
! colspan="4" style="text-align: left;" | ''Parameters''
 +
|-
 +
| <code>item-name</code>
 +
| yes
 +
| <code>Dead Ringer</code>
 +
| The name of the item. Given as <code><nowiki>{{BASEPAGENAME}}</nowiki></code> by default in infoboxes.
 +
|-
 +
| <code>item-level</code>
 +
| no
 +
| <code>Level 5 Invis Watch</code>
 +
| The level of the item.
 +
|-
 +
| <code>neutral-attributes</code>
 +
| no
 +
| <code>Cloak Type: Feign Death</code>
 +
| Any neutral item info.
 +
|-
 +
| <code>positive-attributes</code>
 +
| no
 +
| <code>+80% cloak regen rate</code>
 +
| Any positive item info.
 +
|-
 +
| <code>negative-attributes</code>
 +
| no
 +
| <code>+60% cloak drain rate</code>
 +
| Any negative item info.
 +
|-
 +
! colspan="4" style="text-align: left;" | ''Style''
 +
|-
 +
| <code>width</code>
 +
| no
 +
| <code>100%</code> [default]
 +
| Force a particular width. Defaults to 100%, so it fills out its space in weapon infoboxes fully.
 +
|-
 +
! colspan="4" style="text-align: left;" | ''Other''
 +
|-
 +
| <code>quality</code>
 +
| no
 +
|
 +
| Item name image quality.
 +
|-
 +
|}
 +
[[Category:Formatting templates|Backpack item]]
 +
[[Category:Image insertion templates|Backpack item]]
 
</noinclude>
 
</noinclude>

Revision as of 21:48, 18 August 2010

Backpack Dead Ringer.png

File:Item name Dead Ringer.png
Level 5 Invis Watch
Cloak Type: Feign Death
+80% cloak regen rate
+60% cloak drain rate


Documentation for Backpack item

This template is used to display item stats similar to how they appear in-game.

Parameters

Parameter Required Example Description
Parameters
item-name yes Dead Ringer The name of the item. Given as {{BASEPAGENAME}} by default in infoboxes.
item-level no Level 5 Invis Watch The level of the item.
neutral-attributes no Cloak Type: Feign Death Any neutral item info.
positive-attributes no +80% cloak regen rate Any positive item info.
negative-attributes no +60% cloak drain rate Any negative item info.
Style
width no 100% [default] Force a particular width. Defaults to 100%, so it fills out its space in weapon infoboxes fully.
Other
quality no Item name image quality.