Difference between revisions of "Template:TableTop"
From Nookipedia, the Animal Crossing wiki
Dorsal Axe (talk | contribs) m (Correcting category) |
Dorsal Axe (talk | contribs) (Updating template to use new classes) |
||
Line 1: | Line 1: | ||
− | <div class=" | + | <div class="tabletop {{#if: {{{collapsible|}}} | mw-collapsible | }} {{#if: {{{collapsed|}}} | mw-collapsed | }} color-{{{type|item}}}" style="margin:auto; padding: 7px; text-align:center; border-radius: 16px;"> |
<span style="text-align: center; font-weight: 600; padding:8px 0 10px 10px; font-size:1.05em;">{{{title|Please enter a table title}}}</span> | <span style="text-align: center; font-weight: 600; padding:8px 0 10px 10px; font-size:1.05em;">{{{title|Please enter a table title}}}</span> | ||
<div class="{{#if: {{{collapsible|}}} | mw-collapsible-content | }}" style="overflow: auto;"> | <div class="{{#if: {{{collapsible|}}} | mw-collapsible-content | }}" style="overflow: auto;"> |
Revision as of 07:25, April 10, 2021
Please enter a table title
Usage
Tables should be closed with Template:TableFooter.
{{TableTop |color = items, bug, or fish (default is items) |title = |collapsible = (default is not collapsible) |collapsed = (default is not collapsed) |sortable = (default is not sortable) |column1 = |column2 = ... |columnX = }}