Anonymous
×
Create a new article
Write your page title here:
We currently have 55 articles on SR5 Foundry VTT System Wiki. Type your article name above or click on one of the titles below and start writing!



SR5 Foundry VTT System Wiki

Template:TableMid/Documentation: Difference between revisions

(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,...")
 
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
UpDownCharmStrangeTopBottom
ABCDEF
123456

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