Template:Table

From Equestripedia, the Archives of Equestria!
Revision as of 18:00, 25 July 2021 by Amelia (talk | contribs) (Created page with "{| {| {{#Switch:{{{collapsible|no}}} |yes=class="collapsible collapsed"}} align="{{{align|center}}}" text-align="{{{text-align|center}}}" width="{{{width|100%}}}" style="backg...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
{{{1}}}


Usage

Typical table structure should be like this:

{{Table|
{{TH|A}}
{{TH|B}}
{{TH|C}}
{{TBT|1}}
{{TB|2}}
{{TB|3}}
{{TBT|4}}
{{TB|5}}
{{TB|6}}
}}

Makes:

Template:THTemplate:THTemplate:THTemplate:TBTTemplate:TBTemplate:TBTemplate:TBTTemplate:TBTemplate:TB


The only difference between {{TBT}} and {{TB}} is that TBT has a |- at the top of it to separate that row from the next. Therefore, it should go at the top of each row.

{{TCs|Object to go in field|X}} Will add a "colspan" to the table, where "X" is the number of columns you want to take over. {{TRs|Object to go in field|X}} will do the same, but with rows.

{{TRsT|Object to go in field|X}} will do a rowspan for the first column of the table's row. The only difference being that there is a "|-" at the top of it.

{{TCRs|Object to go in field|X|Y}} will add both a rowspan and a colspan. "X" is the rowspan number and "Y" is the colspan number in this case. sv:Mall:Table