Difference between revisions of "Template:Class hat table core"
m |
m |
||
(12 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{Navbox with columns | + | <includeonly>{{Navbox with columns|child |
− | | | ||
− | |||
− | | colheaderstyle = background: # | + | | 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}}} | ||
− | |||
− | |||
− | |||
| 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|}}} | ||
− | |||
− | |||
− | |||
− | | col1 = {{{col1|}}} | col1style = {{{col1style|}}} | + | | col1 = {{#if:{{{col1|}}}|{{Item icon|{{{col1}}}|75px}}| }} | col1style = {{#if:{{{col1|}}}|{{{col1style|}}}|background:none;}} |
− | | col2 = {{{col2|}}} | col2style = {{{col2style|}}} | + | | col2 = {{#if:{{{col2|}}}|{{Item icon|{{{col2}}}|75px}}| }} | col2style = {{#if:{{{col2|}}}|{{{col2style|}}}|background:none;}} |
− | | col3 = {{{col3|}}} | | + | | col3 = {{#if:{{{col3|}}}|{{Item icon|{{{col3}}}|75px}}| }} | col3style = {{#if:{{{col3|}}}|{{{col3style|}}}|background:none;}} |
− | | | + | | col4 = {{#if:{{{col4|}}}|{{Item icon|{{{col4}}}|75px}}| }} | col4style = {{#if:{{{col4|}}}|{{{col4style|}}}|background:none;}} |
− | | | + | | col5 = {{#if:{{{col5|}}}|{{Item icon|{{{col5}}}|75px}}| }} | col5style = {{#if:{{{col5|}}}|{{{col5style|}}}|background:none;}} |
− | | | ||
− | | | ||
− | | | ||
− | | col1footer = {{{col1footer|}}} | col1footerstyle = {{{ | + | | col1footer = {{{col1footer| }}} | col1footerstyle = {{#if:{{{col1footer|}}}|{{{col1footerstyle|}}}|background:none;}} |
− | + | | col2footer = {{{col2footer| }}} | col2footerstyle = {{#if:{{{col2footer|}}}|{{{col2footerstyle|}}}|background:none;}} | |
− | + | | col3footer = {{{col3footer| }}} | col3footerstyle = {{#if:{{{col3footer|}}}|{{{col3footerstyle|}}}|background:none;}} | |
− | | | + | | col4footer = {{{col4footer| }}} | col4footerstyle = {{#if:{{{col4footer|}}}|{{{col4footerstyle|}}}|background:none;}} |
− | | | + | | col5footer = {{{col5footer| }}} | col5footerstyle = {{#if:{{{col5footer|}}}|{{{col5footerstyle|}}}|background:none;}} |
− | | | ||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | | | ||
− | |||
− | |||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
− | + | {{Documentation}} | |
− | + | [[Category:Formatting templates]] | |
− | |||
− | |||
− | [[Category:Formatting templates | ||
</noinclude> | </noinclude> |
Latest revision as of 22:09, 4 January 2024
Essentially {{Navbox with columns}}
but with some additional presets. Used in the class hat table templates.