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

From Team Fortress Wiki
Jump to: navigation, search
(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 17: Line 17:
 
| 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;
+
  | 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:13, 2 October 2010

Others