Difference between revisions of "Template:Spy class hat table"

From Team Fortress Wiki
Jump to: navigation, search
(add params to hide misc items or hats, add class name to cells)
Line 5: Line 5:
 
| liststyle  = width: 100%;
 
| liststyle  = width: 100%;
  
| group1 = {{icon class|Spy}}<br/>[[Hats{{if lang}}|{{hat name|hats}}]]
+
| group1 = {{icon class|Spy}}<br /><span style="font-size:0.9em;">[[Spy{{if lang}}|{{class name|Spy}}]]</span><br />[[Hats{{if lang}}|{{hat name|hats}}]]
  
 
| list1  = <!-- Start Row 1 -->{{Class hat table core | colstyle = {{{colstyle|}}}
 
| list1  = <!-- Start Row 1 -->{{Class hat table core | colstyle = {{{colstyle|}}}
Line 67: Line 67:
 
  }}<!-- End Row 3 -->
 
  }}<!-- End Row 3 -->
  
| group2 = {{icon class|Spy}}<br/>[[Miscellaneous items{{if lang}}|{{hat name|misc. items}}]]
+
| group2 = {{icon class|Spy}}<br /><span style="font-size:0.9em;">[[Spy{{if lang}}|{{class name|Spy}}]]</span><br />[[Miscellaneous items{{if lang}}|{{hat name|misc. items}}]]
  
 
| list2 = {{Class hat table core | fullwidth = true | colstyle = {{{colstyle|}}}
 
| list2 = {{Class hat table core | fullwidth = true | colstyle = {{{colstyle|}}}
Line 97: Line 97:
 
  | col1footer = [[Spectre's Spectacles{{if lang}}|{{hat name|spectre's spectacles}}]]
 
  | col1footer = [[Spectre's Spectacles{{if lang}}|{{hat name|spectre's spectacles}}]]
 
  }}
 
  }}
 +
 +
| {{#if:{{{hide-hats|}}}|list1|null}} = {{ns:0}}
 +
| {{#if:{{{hide-misc|}}}|list2|null}} = {{ns:0}}
  
 
}}<!-- End Navbox Wrapper--><noinclude>
 
}}<!-- End Navbox Wrapper--><noinclude>

Revision as of 21:50, 14 October 2011

Template:Class hat table list