Difference between revisions of "Template:Demoman 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|Demoman}}<br/>[[Hats{{if lang}}|{{hat name|hats}}]]
+
| group1 = {{icon class|Demoman}}<br /><span style="font-size:0.9em;">[[Demoman{{if lang}}|{{class name|Demoman}}]]</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 90: Line 90:
 
  }}<!-- End Row 4 -->
 
  }}<!-- End Row 4 -->
  
| group2 = {{icon class|Demoman}}<br/>[[Miscellaneous items{{if lang}}|{{hat name|misc. items}}]]
+
| group2 = {{icon class|Demoman}}<br /><span style="font-size:0.9em;">[[Demoman{{if lang}}|{{class name|Demoman}}]]</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|}}}
 
  
 
  | col1header = [[Promotional items{{if lang}}|{{Class hat table header|Promotional}}]]
 
  | col1header = [[Promotional items{{if lang}}|{{Class hat table header|Promotional}}]]
Line 103: Line 102:
 
  | col2footer = [[A Whiff of the Old Brimstone{{if lang}}|{{hat name|a whiff of the old brimstone}}]]
 
  | col2footer = [[A Whiff of the Old Brimstone{{if lang}}|{{hat name|a whiff of the old brimstone}}]]
 
  }}
 
  }}
 +
 +
| {{#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:47, 14 October 2011

Template:Class hat table list