Summary

TOC templates/doc

“ For example, a row of three single cells is {{TOC row 1-1-1}}, and a row with a colspan-2 cell followed by a single cell is {{TOC row 2-1}}. If a cell has no colspan but a salient feature, the "1" from that cell is omitted: {{TOC row 1-out-1}}
Parameters The positional parameters 1, 2, etc, contain the contents of the first, second, etc. table cells. most row templates have an optional class parameter that can be used to target additional Page styles CSS to that row. The class wst-toc-aux formats the row with a green background to indicate that the row is a Wikisource addition, e.g.
”
Source: Wikisource

TOC templates/doc

“ The aim of these templates is to divorce the TOC from the underlying code. If you have a new circumstance to format, perhaps the best option is to make a new template, rather than hack an old one to fit. ”
Source: Wikisource

TOC templates/doc

“ First page body {{TOC begin}} {{TOC row.....}} First page footer {{TOC end}} Middle page header {{TOC begin}} Middle pages body {{nop}} {{TOC row.......}} {{TOC row.......}} Middle pages footer {{TOC end}} Last page header {{TOC begin}} Last page body {{nop}} {{TOC row....}} {{TOC end}} Exporting These templates should export well:
They produce a single contiguous table, which means alignment should be maintained even in simple HTML engines (unlike, for example, {{TOCstyle}}) The CSS is designed to enable reasonably responsive design compared to "minimally-styled" tables.
”
Source: Wikisource

Get perspective with Kwize: daily news enlightened by great literature