Difference between revisions of "Template:TableTop"
From Nookipedia, the Animal Crossing wiki
SuperHamster (talk | contribs) (Adding border to table) |
SuperHamster (talk | contribs) (Param fix) |
||
Line 2: | Line 2: | ||
<span style="text-align: center; font-weight: 600;">{{{title|}}}</span> | <span style="text-align: center; font-weight: 600;">{{{title|}}}</span> | ||
{{#if: {{{collapsible|}}} | <div class{{=}}"mw-collapsible-content"> | }} | {{#if: {{{collapsible|}}} | <div class{{=}}"mw-collapsible-content"> | }} | ||
− | {{(!}} {{#if: sortable | class="sortable" | }} align="center" width="100%" cellspacing="0px" cellpadding="1px" style="background:{{{bg-color|#FFDD66}}}; text-align:center; border: 4px solid {{{bg-color|#FFDD66}}}; border-radius: 20px;" {{!}} | + | {{(!}} {{#if: {{{sortable|}}} | class="sortable" | }} align="center" width="100%" cellspacing="0px" cellpadding="1px" style="background:{{{bg-color|#FFDD66}}}; text-align:center; border: 4px solid {{{bg-color|#FFDD66}}}; border-radius: 20px;" {{!}} |
{{!}}- | {{!}}- | ||
{{#forargs: column | {{#forargs: column |
Revision as of 05:02, June 10, 2020
Usage
{{Infobox |bg-color = (default is #FFDD66) |header-color = (default is #FFFFCC) |title = |collapsible = (default is not collapsible) |collapsed = (default is not collapsed) |sortable = (default is not sortable) |column1 = |column2 = ... |columnX = }}