M2 All-Styles Document, Title in “H2”
All of this content is within “maincolumn”, then “main”.
→ The version on the top left of this page is in “versionbox” and then either span “versionNoNav” (no navigation bar, as for single-page rendering) or “version” (with navigation bar, as for multi-page rendering).
→ The author on the top left of this page is in “SAuthorListBox”, then “SAuthorList”, and then a span “author”, where <br/> separates multiple authors.
← The table-of-contents panels are both in a table “tocset”:
This note is in “refpara”, then “refcolumn”, then “refcontent”.
The top panel is in “tocview”.
The top panel can have multiple layers of the hierarchy. For a single-page rendering, only one layer is present. For an example of multiple layers when rendering this document to multiple pages, go to Subsubsection in “H5”.
Each layer is in a “tocviewlist” that also has the class “tocviewlisttopspace” in the case of the first layer. The always-visible name of a layer is in a span “tocviewtoggle”, but that span is also in a “tocviewtitle” in the case of the first layer. Each item under the title is in a “tocviewsublist” or a variant: “tocviewsublistonly” if only a single item is present, “tocviewsublistfirst” for the first item of multi, “tocviewsublistlast” for the last item of multiple. Then, each item is in a span “tocviewlink”.
Each section link in the panel is a span “tocviewlink” or a span “tocviewselflink” if the link corresponds to the current page or on the path to the current page.
A bottom panel is visible here only for a single-page rendering. See its description in Section in “H3”.
This note is in “refparaleft”, then “refcolumnleft”, then “refcontent”.
Table of contents uses “toptoclink” for the top layer, and “toclink” for nested levels:
This note is in “refelem”, then “refcolumn”, then “refcontent”. This note is in “refelemleft”, then “refcolumnleft”, then “refcontent”.