Template:Table: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 4: | Line 4: | ||
-->{{#switch:{{{1|}}}| tr | th | td = | #default = | -->{{#switch:{{{1|}}}| tr | th | td = | #default = | ||
<table {{#if:{{{id|}}}|id="{{{id|}}}"|}} class="plainlinks {{{class|}}}" cellpadding="{{{cellpadding|4px}}}" {{#if:{{{cellspacing|}}}|cellspacing="{{{cellspacing}}}"}} style=" | <table {{#if:{{{id|}}}|id="{{{id|}}}"|}} class="plainlinks {{{class|}}}" cellpadding="{{{cellpadding|4px}}}" {{#if:{{{cellspacing|}}}|cellspacing="{{{cellspacing}}}"}} style="{{#if:{{{width|}}}|width:{{{width}}};}} background:{{{bgcolor|#202020}}}; border:2px solid #525252; border-radius:{{{radius|6px}}}; {{#if:{{{font-size|}}}|font-size:{{{font-size}}};}} {{#if:{{{align|}}}|margin:{{#switch:{{{align}}}|center=auto|right=0 0 0 auto}};}} {{{style|}}}"> | ||
{{#if:{{{caption|}}}|<caption style="{{#if:{{{caption indent|}}}|margin:{{{caption indent|}}};|}} {{#if:{{{caption indent:top|}}}|margin-top:{{{caption indent:top|}}};|}} {{#if:{{{caption indent:right|}}}|margin-rght:{{{caption indent:right|}}};|}} {{#if:{{{caption indent:bottom|}}}|margin-bottom:{{{caption indent:bottom|}}};|}} {{#if:{{{caption indent:left|}}}|margin-left:{{{caption indent:left|}}};|}}">{{{caption|}}}</caption>|}} | {{#if:{{{caption|}}}|<caption style="{{#if:{{{caption indent|}}}|margin:{{{caption indent|}}};|}} {{#if:{{{caption indent:top|}}}|margin-top:{{{caption indent:top|}}};|}} {{#if:{{{caption indent:right|}}}|margin-rght:{{{caption indent:right|}}};|}} {{#if:{{{caption indent:bottom|}}}|margin-bottom:{{{caption indent:bottom|}}};|}} {{#if:{{{caption indent:left|}}}|margin-left:{{{caption indent:left|}}};|}}">{{{caption|}}}</caption>|}} |
Revision as of 07:25, 12 June 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.