Usage edit

{{auxiliary toc styles}} imports a set of style rules for creating tables of contents with entries that were missing from the original scanned work. For works where there was no table of contents present at all you should normally use {{auxiliary table of contents}} with a simple list, but sometimes you need either a table-based toc or to insert an individual entry into the original table of contents. This template imports styles that you can apply by adding classes to your table and get the correct formatting.

To make a whole table into an auxiliary table of contents:

{{auxiliary toc styles}}
{| class="aux auxtoc"
|-
| [[/Chapter 1|Chapter 1]] || 123
…
|}

To add a single auxiliary row to an existing table of contents:

{{auxiliary toc styles}}
{| class="aux"
|-
| [[/Chapter 1|Chapter 1]] || 123
…
|- class="auxrow"
| [[/Chapter 42|Chapter 42]] || 456
|}

No matter which type it is you need to add {{auxiliary toc styles}} just before the table to import the style rules, and then add the class aux to the table with {| class="aux" to signal that you want the styles to apply to this table.

For tables of contents where the whole table should be formatted as auxiliary content you then add auxtoc to the tables classes (in addition to the aux class). If you need just one or a few entries to be marked as auxiliary you added the auxrow class to the relevant rows of the table.

See also edit