Template:TOCright: Difference between revisions

From BathAfrica Documentation
Jump to navigation Jump to search
sybma>Admin
m 1 revision imported
BathAfrica compatibility adaptation; original revisions retained; source https://wiki.sybma.com
Line 22: Line 22:
[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude>
<noinclude>
----
Migrated from [https://wiki.sybma.com/index.php?title=Template:TOCright SiteMasterDoc]. Original revision history and imported contributor names are retained. See [[BathAfrica:Template migration]] for compatibility changes and unresolved image dependencies. Legacy examples do not establish current BathAfrica product capabilities.
</noinclude>

Revision as of 07:00, 29 October 2026


This template inserts the magic word __TOC__ inside a <div> with style="float:right".

In this way the autogenerated table of contents appears floating on the right, which is useful to save space in a documentation page with a large list of sections.

{{TOCright}}

Some sections will be created to see this effect.

One

Sub

Two

Three

Something

Four



Migrated from SiteMasterDoc. Original revision history and imported contributor names are retained. See BathAfrica:Template migration for compatibility changes and unresolved image dependencies. Legacy examples do not establish current BathAfrica product capabilities.