No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
{{Template|TableSlim}} is intended for use alongside other {{Category|Table Template}}s. It sets up a table with different formatting from {{Template|TableTop}}. | {{Template|TableSlim}} is intended for use alongside other {{Category|Table Template}}s. It sets up a table with different formatting from {{Template|TableTop}}. | ||
==Usage== | ==Usage== | ||
It accepts | It accepts {{parameter|none}}. | ||
==Return== | ==Return== | ||
The table starts with {{Code|<nowiki><table class="wikitable"></nowiki>}}, then the supplied parameters are used to construct a {{Code|<nowiki><th /></nowiki>}} with each parameter wrapped in a {{Code|<nowiki><td /></nowiki>}}. For example, {{code|<nowiki>{{TableSlim|A|B|C}}</nowiki>}} produces the header in: {{Return|{{Table:Sample|slim}}}} | The table starts with {{Code|<nowiki><table class="wikitable"></nowiki>}}, then the supplied parameters are used to construct a {{Code|<nowiki><th /></nowiki>}} with each parameter wrapped in a {{Code|<nowiki><td /></nowiki>}}. For example, {{code|<nowiki>{{TableSlim|A|B|C}}</nowiki>}} produces the header in: {{Return|{{Table:Sample|slim}}}} | ||
Revision as of 15:49, 24 January 2023
Template:TableSlim is intended for use alongside other Table Templates. It sets up a table with different formatting from Template:TableTop.
Usage
It accepts no parameters.
Return
The table starts with <table class="wikitable">, then the supplied parameters are used to construct a <th /> with each parameter wrapped in a <td />. For example, {{TableSlim|A|B|C}} produces the header in:
