Anonymous
×
Create a new article
Write your page title here:
We currently have 205 articles on Shadowrun Seattle Shutdown. Type your article name above or click on one of the titles below and start writing!



Shadowrun Seattle Shutdown

Template:TableMid/Documentation: Difference between revisions

No edit summary
Line 2: Line 2:
{{Template|TableMid}} is used in conjunction with other {{Category|Table Template}}s in the creation of properly formatted tables.
{{Template|TableMid}} is used in conjunction with other {{Category|Table Template}}s in the creation of properly formatted tables.
==Usage==
==Usage==
It accepts one {{Parameter|mandatory|string}} and up to six additional {{Parameter|optional|string}}s. All seven are used as entries in the table.
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 {{Paremter|optional|named}}, {{code|display}}. If set to a zero-length string, it uses CSS to hide the entire row.
==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}}{{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.

Revision as of 14:09, 25 January 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 Template:Paremter, 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 />.

UpDownCharmStrangeTopBottom
ABCDEF
123456

An example for display is not possible, as it hides things.