Difference between revisions of "Template:Prettytable"
Jump to navigation
Jump to search
Danghai193 (talk | contribs) (Created page with "{| border="1" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; background: #1b1e1f; border: 1px #484e51 solid; border-collapse: collapse; font-size: 95%; clear: c...") |
Danghai193 (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | <noinclude>This template creates a styled table with a custom header row background.</noinclude><includeonly> | ||
{| border="1" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; background: #1b1e1f; border: 1px #484e51 solid; border-collapse: collapse; font-size: 95%; clear: center;" | {| border="1" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; background: #1b1e1f; border: 1px #484e51 solid; border-collapse: collapse; font-size: 95%; clear: center;" | ||
− | |- style="background-color:#222526;" | + | |- style="background-color:{{{headerbg|#222526}}};" |
+ | ! {{{header1|Heading 1}}} !! {{{header2|Heading 2}}} !! {{{header3|Heading 3}}} | ||
+ | |- | ||
+ | ! {{{data1|Data 1}}} | ||
+ | | {{{data2|Data 2}}} | ||
+ | | {{{data3|Data 3}}} | ||
+ | |- | ||
+ | ! {{{extra1|Extra 1}}} | ||
+ | | {{{extra2|Extra 2}}} | ||
+ | | {{{extra3|Extra 3}}} | ||
|} | |} | ||
+ | </includeonly> |
Revision as of 06:27, 3 March 2025
This template creates a styled table with a custom header row background.