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

From Team Fortress Wiki
Jump to: navigation, search
(testing nesting functionality)
Line 1: Line 1:
{{Navbox
+
{{Navbox | border = {{#if:{{{nest|}}}|child|null}}
  
| bodystyle  = margin-bottom: 0.75em; border: 1px solid #aaa;
+
| bodystyle  = margin-bottom: 0.75em; {{#if:{{{nest|}}}||border: 1px solid #aaa;}}
 
| groupstyle = font-size: 105%; background: #ffbd7e; width: 10%; text-align: center;
 
| groupstyle = font-size: 105%; background: #ffbd7e; width: 10%; text-align: center;
 
| liststyle  = width: 100%;
 
| liststyle  = width: 100%;
Line 16: Line 16:
 
     }}]]<br />{{navbar|Scout class hat table|notalk=1|plain=1}}
 
     }}]]<br />{{navbar|Scout class hat table|notalk=1|plain=1}}
 
| list1  = {{Navbox with columns | child | bodystyle = width: 100%; text-align: center; | fullwidth = true
 
| list1  = {{Navbox with columns | child | bodystyle = width: 100%; text-align: center; | fullwidth = true
 
| colheaderstyle = background: #FFDDAD; text-align: center;
 
| colstyle      = background: #FFDDAD; text-align: center;
 
| col2headercolspan = 2
 
| col3headercolspan = 2
 
 
| colstyle      = background: #FFDDAD; text-align: center;
 
  
 
  | col1 = {{icon item|item=batter's helmet|icon-size=100px}}
 
  | col1 = {{icon item|item=batter's helmet|icon-size=100px}}
Line 33: Line 26:
 
  | col8 = {{icon item|item=baseball bill's sports shine|icon-size=100px}}
 
  | col8 = {{icon item|item=baseball bill's sports shine|icon-size=100px}}
 
   
 
   
  | colheaderstyle = background: #FFDDAD; text-align: center;
+
  | colheaderstyle = background: #FFDDAD; text-align: center; {{#if:{{{nest|}}}|display: none;}}
 
  | colstyle      = background: #FFDDAD; text-align: center;
 
  | colstyle      = background: #FFDDAD; text-align: center;
 
  | col2headercolspan = 2
 
  | col2headercolspan = 2

Revision as of 13:11, 2 October 2010

Others