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 :: Navigation
Diaplys the URL friendly navigation name of a page.
Wiki Help :: NoCache Instruction
Processing instruction indicating that the page should never be cached.
Wiki Help :: Order
Orders the resulting lines of a block of wiki markup.
Wiki Help :: ProfileGlossary
Displays a glossary of all active users with links to their public profiles.
Wiki Help :: ProfileList
Displays a list of all active users with links to their public profiles.
Wiki Help :: Protect Instruction
Processing instruction indicating the page is protected from modification and deletion.
Wiki Help :: RecentlyModified
Display a list of recently modified wiki pages.
Wiki Help :: Related
Create a list of related pages based on incoming links.
Wiki Help :: Review Instruction
Processing instruction indicating the page needs to be reviewed.
Wiki Help :: Revisions
Displays the revision history of a page.