Difference between revisions of "Template:Tf2-item-attribute"

From AlliedModders Wiki
Jump to: navigation, search
(OK, template must be being cached, which is just irritating.)
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}}
+
<span style="margin: 10px; background-color: black; color: {{#switch:positive
 +
| positive = cyan
 +
| negative = red
 +
| white
 +
}};">Description</span>
 +
 
  
 
<code><nowiki>{{Tf2-item-attribute|negative|Description}}</nowiki></code>
 
<code><nowiki>{{Tf2-item-attribute|negative|Description}}</nowiki></code>
  
{{Tf2-item-attribute|negative|Description}}
+
<span style="margin: 10px; background-color: black; color: {{#switch:negative
 +
| positive = cyan
 +
| negative = red
 +
| white
 +
}};">Description</span>
 +
 
  
 
<code><nowiki>{{Tf2-item-attribute|neutral|Description}}</nowiki></code>
 
<code><nowiki>{{Tf2-item-attribute|neutral|Description}}</nowiki></code>
  
{{Tf2-item-attribute|neutral|Description}}
+
<span style="margin: 10px; background-color: black; color: {{#switch:neutral
 +
| positive = cyan
 +
| negative = red
 +
| white
 +
}};">Description</span>
 +
 
  
 
</noinclude>
 
</noinclude>

Revision as of 08:17, 25 May 2012


Usage:

{{Tf2-item-attribute|positive|Description}}

Description


{{Tf2-item-attribute|negative|Description}}

Description


{{Tf2-item-attribute|neutral|Description}}

Description