Difference between revisions of "Template:Sniper 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|Sniper}}<br/>[[Hats{{if lang}}|{{hat name|hats}}]]
+
| group1 = {{icon class|Sniper}}<br /><span style="font-size:0.9em;">[[Sniper{{if lang}}|{{class name|Sniper}}]]</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 69: Line 69:
 
  }}<!-- End Row 3 -->
 
  }}<!-- End Row 3 -->
  
| group2 = {{icon class|Sniper}}<br/>[[Miscellaneous items{{if lang}}|{{hat name|misc. items}}]]
+
| group2 = {{icon class|Sniper}}<br /><span style="font-size:0.9em;">[[Sniper{{if lang}}|{{class name|Sniper}}]]</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 82: Line 82:
 
  | col2footer = [[Crocodile Smile{{if lang}}|{{hat name|crocodile smile}}]]
 
  | col2footer = [[Crocodile Smile{{if lang}}|{{hat name|crocodile smile}}]]
 
  }}
 
  }}
 +
 +
| {{#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