Difference between revisions of "Template:Class hat table core"

From Team Fortress Wiki
Jump to: navigation, search
m
m
 
(12 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{Navbox with columns  
+
<includeonly>{{Navbox with columns|child
| border = {{{child|child}}}
 
| bodystyle = width: 100%; text-align: center; {{{bodystyle|}}} | fullwidth = {{{fullwidth|true}}}
 
  
| colheaderstyle = background: #FFDDAD; text-align: center; line-height: 1em; padding: 0.5em 0em; {{{colheaderstyle|}}}
+
| colwidth = {{{colwidth|20%}}}
 +
| {{#if:{{{fullwidth|}}}|fullwidth|null}} = true
 +
 
 +
| {{#if:{{{class|}}}|class|null}} = {{{class|}}}
 +
| bodystyle = width: 100%; text-align: center; {{{bodystyle|}}}
 +
 
 +
| colheaderstyle = background: #FFBD7E; text-align: center; line-height: 1em; padding: 0.5em; {{{colheaderstyle|}}}
 
| colstyle      = background: #FFDDAD; text-align: center; {{{colstyle|}}}
 
| colstyle      = background: #FFDDAD; text-align: center; {{{colstyle|}}}
 
| colfooterstyle = background: none; font-weight: none; line-height: 1.25em; padding: 0.5em; {{{colfooterstyle|}}}
 
| colfooterstyle = background: none; font-weight: none; line-height: 1.25em; padding: 0.5em; {{{colfooterstyle|}}}
Line 12: Line 16:
 
| col4headercolspan = {{{col4headercolspan|1}}}
 
| col4headercolspan = {{{col4headercolspan|1}}}
 
| col5headercolspan = {{{col5headercolspan|1}}}
 
| col5headercolspan = {{{col5headercolspan|1}}}
| col6headercolspan = {{{col6headercolspan|1}}}
 
| col7headercolspan = {{{col7headercolspan|1}}}
 
| col8headercolspan = {{{col8headercolspan|1}}}
 
  
 
| col1header = {{{col1header|}}} | col1headerstyle = {{{col1headerstyle|}}}
 
| col1header = {{{col1header|}}} | col1headerstyle = {{{col1headerstyle|}}}
Line 21: Line 22:
 
| col4header = {{{col4header|}}} | col4headerstyle = {{{col4headerstyle|}}}
 
| col4header = {{{col4header|}}} | col4headerstyle = {{{col4headerstyle|}}}
 
| col5header = {{{col5header|}}} | col5headerstyle = {{{col5headerstyle|}}}
 
| col5header = {{{col5header|}}} | col5headerstyle = {{{col5headerstyle|}}}
| col6header = {{{col6header|}}} | col6headerstyle = {{{col6headerstyle|}}}
 
| col7header = {{{col7header|}}} | col7headerstyle = {{{col7headerstyle|}}}
 
| col8header = {{{col8header|}}} | col8headerstyle = {{{col8headerstyle|}}}
 
  
| col1 = {{{col1|}}} | col1style = {{{col1style|}}}
+
| col1 = {{#if:{{{col1|}}}|{{Item icon|{{{col1}}}|75px}}|&nbsp;}} | col1style = {{#if:{{{col1|}}}|{{{col1style|}}}|background:none;}}
| col2 = {{{col2|}}} | col2style = {{{col2style|}}}
+
| col2 = {{#if:{{{col2|}}}|{{Item icon|{{{col2}}}|75px}}|&nbsp;}} | col2style = {{#if:{{{col2|}}}|{{{col2style|}}}|background:none;}}
| col3 = {{{col3|}}} | col3style = {{{col3style|}}}
+
| col3 = {{#if:{{{col3|}}}|{{Item icon|{{{col3}}}|75px}}|&nbsp;}} | col3style = {{#if:{{{col3|}}}|{{{col3style|}}}|background:none;}}
| col4 = {{{col4|}}} | col4style = {{{col4style|}}}
+
| col4 = {{#if:{{{col4|}}}|{{Item icon|{{{col4}}}|75px}}|&nbsp;}} | col4style = {{#if:{{{col4|}}}|{{{col4style|}}}|background:none;}}
| col5 = {{{col5|}}} | col5style = {{{col5style|}}}
+
| col5 = {{#if:{{{col5|}}}|{{Item icon|{{{col5}}}|75px}}|&nbsp;}} | col5style = {{#if:{{{col5|}}}|{{{col5style|}}}|background:none;}}
| col6 = {{{col6|}}} | col6style = {{{col6style|}}}
 
| col7 = {{{col7|}}} | col7style = {{{col7style|}}}
 
| col8 = {{{col8|}}} | col8style = {{{col8style|}}}
 
  
| col1footer = {{{col1footer|}}} | col1footerstyle = {{{col1footerstyle|}}}
+
| col1footer = {{{col1footer|&nbsp;}}} | col1footerstyle = {{#if:{{{col1footer|}}}|{{{col1footerstyle|}}}|background:none;}}
| col2footer = {{{col2footer|}}} | col2footerstyle = {{{col2footerstyle|}}}
+
| col2footer = {{{col2footer|&nbsp;}}} | col2footerstyle = {{#if:{{{col2footer|}}}|{{{col2footerstyle|}}}|background:none;}}
| col3footer = {{{col3footer|}}} | col3footerstyle = {{{col3footerstyle|}}}
+
| col3footer = {{{col3footer|&nbsp;}}} | col3footerstyle = {{#if:{{{col3footer|}}}|{{{col3footerstyle|}}}|background:none;}}
| col4footer = {{{col4footer|}}} | col4footerstyle = {{{col4footerstyle|}}}
+
| col4footer = {{{col4footer|&nbsp;}}} | col4footerstyle = {{#if:{{{col4footer|}}}|{{{col4footerstyle|}}}|background:none;}}
| col5footer = {{{col5footer|}}} | col5footerstyle = {{{col5footerstyle|}}}
+
| col5footer = {{{col5footer|&nbsp;}}} | col5footerstyle = {{#if:{{{col5footer|}}}|{{{col5footerstyle|}}}|background:none;}}
| col6footer = {{{col6footer|}}} | col6footerstyle = {{{col6footerstyle|}}}
 
| col7footer = {{{col7footer|}}} | col7footerstyle = {{{col7footerstyle|}}}
 
| col8footer = {{{col8footer|}}} | col8footerstyle = {{{col8footerstyle|}}}
 
 
 
| list1 = {{{list1|}}} | list1style = {{{list1style|}}}
 
| list2 = {{{list2|}}} | list2style = {{{list2style|}}}
 
| list3 = {{{list3|}}} | list3style = {{{list3style|}}}
 
| list4 = {{{list4|}}} | list4style = {{{list4style|}}}
 
| list5 = {{{list5|}}} | list5style = {{{list5style|}}}
 
| list6 = {{{list6|}}} | list6style = {{{list6style|}}}
 
  
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
Essentially {{tl|Navbox with columns}} but with some additional presets. Used in the class hat table templates.
+
{{Documentation}}
 
+
[[Category:Formatting templates]]
{{Class hat table list}}
 
 
 
[[Category:Formatting templates|Class hat table core]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 22:09, 4 January 2024

Template documentation [view] [edit] [history] [purge]

Essentially {{Navbox with columns}} but with some additional presets. Used in the class hat table templates.

Class hat table templates