Example usage

edit

{{User:SG/TalkTOC}} (for regular talk pages), {{User:SG/TalkTOC|archive=}} (for archived talk pages), {{User:SG/TalkTOC|width=100%}} (for a custom width), {{User:SG/TalkTOC|width=200px|archive=|float=left|notoc=}} (200px wide, floats left, shows the archive message and has no table of contents).

Parameters

edit
|width=VALUE (default: 300px; defines the width of the box)
|archive= (default: undefined; shows the "archived page" notice when defined)
|float=VALUE (default: right; possible values: left, right, none)
|notoc= (default: undefined; disables the table of contents when defined)

Template

edit