Template:TOC right
Appearance
{{TOC right}}
generates a sidebar TOC that aligns itself to the opposite side of the page depending on the writing system (right side for LTR, left side for RTL). Works in all skins other than Vector 2022, which has a sidebar TOC by default.
Uses TemplateStyles page at Template:TOC right/styles.css.
Alias: {{TOC left}}
Parameters
dir
to pass an optional parameter overriding standard direction.