TOC



The TOC standard function displays a table of contents based on the head tags in the page. Each heading will be linked to the header anchors to allow skipping directly to a given section. By default. the table of contents is built in the order that the page headings are found thereby creating a reasonable document outline. However, you can override this behavior by passing true to the alphabetized parameter. When alphabetized, the table retains the basic hierarchy, but the members are order alphabetically.


##TOC (bool {alphabetized})


  • Name: alphabetized {Optional}
    • Type: bool
    • Default: false
    • Description: Whether the table of contents is alphabetized or ordinal based.




Code:
##TOC

##TOC(true)



Function Calling Convention
Scope Function
Instruction Function
Standard Function


Wiki Help :: File
Insert file download links into the wiki body.
Wiki Help :: Foreground
Set the foreground color for a block of content.
Wiki Help :: Function Calling Convention
Outlines the syntax and formatting for calling wiki functions.
Wiki Help :: Get
Get wiki page variable value.
Wiki Help :: HideFooterComments Instruction
Indicates that comments should not display comments at the bottom regardless of the system settings.
Wiki Help :: HR
Inserts a horizontal rule (divider) into the wiki bosy.
Wiki Help :: Image
Display images in the wiki body.
Wiki Help :: Include
Inserts the processed wiki body of one page into the calling page.
Wiki Help :: Include Instruction
Processing instruction indicating the page is an include and not a while page.
Wiki Help :: Inject
Inserts the un-processed wiki body of one page into the calling page.