Difference between revisions of "Template:Class hat table core"
m (color testing) |
GrampaSwood (talk | contribs) (Added support for colxfooter to be an optional parameter: this makes it much faster to create new entries for class hat tables. Accommodated some changes for the multi-class table's core. This has no effect on existing tables, as I tested out.) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{Navbox with columns | child | + | <includeonly>{{Navbox with columns|child |
| colwidth = {{{colwidth|20%}}} | | colwidth = {{{colwidth|20%}}} | ||
Line 23: | Line 23: | ||
| col5header = {{{col5header|}}} | col5headerstyle = {{{col5headerstyle|}}} | | col5header = {{{col5header|}}} | col5headerstyle = {{{col5headerstyle|}}} | ||
− | | col1 = {{#if:{{{col1|}}}|{{ | + | | col1 = {{#if:{{{col1|}}}|{{Item icon|{{{col1}}}|75px}}| }} | col1style = {{#if:{{{col1|}}}|{{{col1style|}}}|background:none;}} |
− | | col2 = {{#if:{{{col2|}}}|{{ | + | | col2 = {{#if:{{{col2|}}}|{{Item icon|{{{col2}}}|75px}}| }} | col2style = {{#if:{{{col2|}}}|{{{col2style|}}}|background:none;}} |
− | | col3 = {{#if:{{{col3|}}}|{{ | + | | col3 = {{#if:{{{col3|}}}|{{Item icon|{{{col3}}}|75px}}| }} | col3style = {{#if:{{{col3|}}}|{{{col3style|}}}|background:none;}} |
− | | col4 = {{#if:{{{col4|}}}|{{ | + | | col4 = {{#if:{{{col4|}}}|{{Item icon|{{{col4}}}|75px}}| }} | col4style = {{#if:{{{col4|}}}|{{{col4style|}}}|background:none;}} |
− | | col5 = {{#if:{{{col5|}}}|{{ | + | | col5 = {{#if:{{{col5|}}}|{{Item icon|{{{col5}}}|75px}}| }} | col5style = {{#if:{{{col5|}}}|{{{col5style|}}}|background:none;}} |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | | col1footer = {{#if:{{{col1|}}}|{{{col1footer|{{item link|{{{col1}}}}}}}}|{{{col1footer| }}}}} | col1footerstyle = {{#if:{{{col1footer|}}}|{{{col1footerstyle|}}}|{{#if:{{{col1|}}}|{{{col1footerstyle|}}}|background:none;}}}} | ||
+ | | col2footer = {{#if:{{{col2|}}}|{{{col2footer|{{item link|{{{col2}}}}}}}}|{{{col2footer| }}}}} | col2footerstyle = {{#if:{{{col2footer|}}}|{{{col2footerstyle|}}}|{{#if:{{{col2|}}}|{{{col2footerstyle|}}}|background:none;}}}} | ||
+ | | col3footer = {{#if:{{{col3|}}}|{{{col3footer|{{item link|{{{col3}}}}}}}}|{{{col3footer| }}}}} | col3footerstyle = {{#if:{{{col3footer|}}}|{{{col3footerstyle|}}}|{{#if:{{{col3|}}}|{{{col3footerstyle|}}}|background:none;}}}} | ||
+ | | col4footer = {{#if:{{{col4|}}}|{{{col4footer|{{item link|{{{col4}}}}}}}}|{{{col4footer| }}}}} | col4footerstyle = {{#if:{{{col4footer|}}}|{{{col4footerstyle|}}}|{{#if:{{{col4|}}}|{{{col4footerstyle|}}}|background:none;}}}} | ||
+ | | col5footer = {{#if:{{{col5|}}}|{{{col5footer|{{item link|{{{col5}}}}}}}}|{{{col5footer| }}}}} | col5footerstyle = {{#if:{{{col5footer|}}}|{{{col5footerstyle|}}}|{{#if:{{{col5|}}}|{{{col5footerstyle|}}}|background:none;}}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
− | + | {{Documentation}} | |
− | + | [[Category:Formatting templates]] | |
− | |||
− | |||
− | [[Category:Formatting templates | ||
</noinclude> | </noinclude> |
Latest revision as of 10:58, 20 July 2024
Essentially {{Navbox with columns}}
but with some additional presets. Used in the class hat table templates.