Template:Table: Difference between revisions
Jump to navigation
Jump to search
Tag: Undo |
No edit summary |
||
Line 2: | Line 2: | ||
-->{{#switch: {{{1|}}} | tr | th | td = | #default = | -->{{#switch: {{{1|}}} | tr | th | td = | #default = | ||
<table cellpadding="{{{cellpadding|4px}}}" style="width:{{{width|auto}}}; background:#202020; border:2px solid #525252; border-radius:12px; font-size:{{{font-size|1em}}}"> | <table cellpadding="{{{cellpadding|4px}}}" {{#if:{{{cellspacing|}}}|cellspacing="{{{cellspacing|}}}"|}} style="width:{{{width|auto}}}; background:#202020; border:2px solid #525252; border-radius:12px; font-size:{{{font-size|1em}}}"> | ||
<caption>{{{caption|}}}</caption> | <caption>{{{caption|}}}</caption> | ||
Line 12: | Line 12: | ||
-->{{#switch: {{{1|}}} | -->{{#switch: {{{1|}}} | ||
| tr = <tr bgcolor="{{{ | | tr = <tr bgcolor="{{{bgcolor|{{#if:{{{header|}}}|#253B4E|#3A3A3A}}}}}">{{{2|}}}</tr> | ||
| th = <th colspan="{{{colspan| | | th = <th {{#if:{{{bgcolor|}}}|bgcolor="{{{bgcolor|}}}"|}} {{#if:{{{colspan|}}}|colspan="{{{colspan|}}}"|}} {{#if:{{{rowspan|}}}|rowspan="{{{rowspan|}}}"|}} {{#if:{{{align|}}}|align="{{{align|}}}"|}} style="{{#if:{{{width|}}}|width:{{{width|}}};|}} {{#if:{{{radius|}}}|border-radius:{{{radius|}}};|}} {{#if:{{{font-size|}}}|font-size:{{{font-size|}}};|}} color:{{{color|#FFF}}};{{{style|}}}">{{{2|{{{text|}}}}}}</th> | ||
| td = <td colspan="{{{colspan| | | td = <td {{#if:{{{bgcolor|}}}|bgcolor="{{{bgcolor|}}}"|}} {{#if:{{{colspan|}}}|colspan="{{{colspan|}}}"|}} {{#if:{{{rowspan|}}}|rowspan="{{{rowspan|}}}"|}} {{#if:{{{align|}}}|align="{{{align|}}}"|}} style="{{#if:{{{width|}}}|width:{{{width|}}};|}} {{#if:{{{radius|}}}|border-radius:{{{radius|}}};|}} {{#if:{{{font-size|}}}|font-size:{{{font-size|}}};|}} {{#if:{{{color|}}}|color:{{{color|}}};|}}{{{style|}}}">{{{2|{{{text|}}}}}}</td><!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></onlyinclude></includeonly> | --></onlyinclude></includeonly> |
Revision as of 08:42, 20 February 2023
The above documentation is transcluded from Template:Table/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.
Editors can experiment in this template's sandbox (edit) and testcases (create) pages.