Mr. Johnson (talk | contribs) (Created page with "<includeonly>Category:Table Template</includeonly> {{Template|TableMid}} is used in conjunction with other {{Category|Table Template}}s in the creation of properly formatted tables. ==Usage== It accepts one {{Parameter|mandatory|string}}, the contents of the first cell, and up to six additional {{Parameter|optional|string}}s for a total of seven possible columns. It accepts an additional {{Parameter|optional|named}}, {{Code|display}}. If set to a zero-length string,...") |
Mr. Johnson (talk | contribs) No edit summary |
||
Line 7: | Line 7: | ||
==Return== | ==Return== | ||
The supplied parameters are used to construct a {{Code|<nowiki><tr /></nowiki>}} with each parameter wrapped in a {{Code|<nowiki><td /></nowiki>}}. | The supplied parameters are used to construct a {{Code|<nowiki><tr /></nowiki>}} with each parameter wrapped in a {{Code|<nowiki><td /></nowiki>}}. | ||
{{return|{{TableTop|Up|Down|Charm|Strange|Top|Bottom}}{{TableMid|A|B|C|D|E|F}}{{TableMid|1|2|3|4|5|6}}{{TableEnd}}}} | {{return|{{TableTop|Up|Down|Charm|Strange|Top|Bottom|caption=TableMid}}{{TableMid|A|B|C|D|E|F}}{{TableMid|1|2|3|4|5|6}}{{TableEnd}}}} | ||
An example for {{Code|display}} is not possible, as it hides things. | An example for {{Code|display}} is not possible, as it hides things. |
Latest revision as of 19:46, 21 November 2023
Template:TableMid
is used in conjunction with other Table Templates in the creation of properly formatted tables.
Usage
It accepts one mandatory string parameter, the contents of the first cell, and up to six additional optional string parameters for a total of seven possible columns.
It accepts an additional optional named parameter, display
. If set to a zero-length string, it uses CSS to hide the entire row.
Return
The supplied parameters are used to construct a <tr />
with each parameter wrapped in a <td />
.
TableMid
Up | Down | Charm | Strange | Top | Bottom |
---|---|---|---|---|---|
A | B | C | D | E | F |
1 | 2 | 3 | 4 | 5 | 6 |
An example for display
is not possible, as it hides things.