Difference between revisions of "User:Serg/Sandbox/Item Block/Item Colour"

From Team Fortress Wiki
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{#switch:{{{var1|yes}}}  
+
{{#switch:{{{input|yes}}}  
 
| yes = <nowiki>#729E42</nowiki>
 
| yes = <nowiki>#729E42</nowiki>
 
| want = <nowiki>#E7B53B</nowiki>
 
| want = <nowiki>#E7B53B</nowiki>
Line 6: Line 6:
  
 
<noinclude>
 
<noinclude>
 
+
{{Doc begin|Item Colour}}
 +
Simply a colour switch, goes through various potential inputs and relays a colour related to the input.
 +
==Usage Notes==
 +
Simply pass a value of ''yes'', ''no'', and ''want'' and it will return a respective TF2-esque colour.
 +
<pre>
 +
{{User:Serg/Sandbox/Item_Block/Item_Colour
 +
|input = yes
 +
}}
 +
</pre>
 +
==To Do==
 +
*More colours with more input.
 +
*Fix up the Documentation, with examples of the colours.
 
</noinclude>
 
</noinclude>

Latest revision as of 12:20, 6 December 2010

#729E42


Documentation for Item Colour

Simply a colour switch, goes through various potential inputs and relays a colour related to the input.

Usage Notes

Simply pass a value of yes, no, and want and it will return a respective TF2-esque colour.

{{User:Serg/Sandbox/Item_Block/Item_Colour
|input = yes
}}

To Do

  • More colours with more input.
  • Fix up the Documentation, with examples of the colours.