Difference between revisions of "Template:Tf2-item-attribute"
(Turns out it IS padding.) |
(Changed span to p) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>< | + | <includeonly><p style="padding: 5px; background-color: black; color: {{#switch:{{{1}}} |
| positive = cyan | | positive = cyan | ||
| negative = red | | negative = red | ||
| white | | white | ||
− | }};">{{{2}}}</ | + | }};">{{{2}}}</p></includeonly> |
<noinclude> | <noinclude> | ||
Usage: | Usage: | ||
Line 9: | Line 9: | ||
<code><nowiki>{{Tf2-item-attribute|positive|Description}}</nowiki></code> | <code><nowiki>{{Tf2-item-attribute|positive|Description}}</nowiki></code> | ||
− | + | {{Tf2-item-attribute|positive|Description}} | |
− | | positive | ||
− | | | ||
− | |||
− | }} | ||
− | |||
<code><nowiki>{{Tf2-item-attribute|negative|Description}}</nowiki></code> | <code><nowiki>{{Tf2-item-attribute|negative|Description}}</nowiki></code> | ||
− | + | {{Tf2-item-attribute|negative|Description}} | |
− | |||
− | | negative | ||
− | | | ||
− | }} | ||
− | |||
<code><nowiki>{{Tf2-item-attribute|neutral|Description}}</nowiki></code> | <code><nowiki>{{Tf2-item-attribute|neutral|Description}}</nowiki></code> | ||
− | + | {{Tf2-item-attribute|neutral|Description}} | |
− | | | ||
− | |||
− | |||
− | }} | ||
+ | All unknown types become a neutral attribute. | ||
</noinclude> | </noinclude> |
Latest revision as of 09:26, 25 May 2012
Usage:
{{Tf2-item-attribute|positive|Description}}
Description
{{Tf2-item-attribute|negative|Description}}
Description
{{Tf2-item-attribute|neutral|Description}}
Description
All unknown types become a neutral attribute.