|
Answer by:
George Kaloyanov, Aplus.Net Knowledge Base Support
A
Table of Contents is added automatically to a page once you have
created more than three headers on it. An exception to this rule is the
Main Page which by default is not supposed to include a Table of
Contents.
However,
you can also create a Table of Contents on a page with less than four
headers. Here is how to do this:
- Go
to: http://yourdomain.com/mwiki/index.php?title=page_I_wish_to
_edit. Please replace yourdomain.com with your
actual hosted domain name and page_I_wish_to_edit with
the actual title of the page you are going to edit.
- Click
the Create an account or login button located at
the top right corner of the Main Page.
- Enter
your MediaWiki Administrator’s username and password in the
respective fields and click the Log in button.
- Click
the edit button from the top navigation bar.
- Type
__FORCETOC__ (there are two underscores before and
after the word!) to place the Table of Contents before the first
section header.
- Type
__TOC__ (there are two underscores before and after
the word!) to place the Table of Contents at the exact position of this
code (__TOC__).
- Click
Save Page.
If
you do not want to have a Table of Contents (even on a page with more
than three headers), you should write __NOTOC__ (there
are two underscores before and after the word!) in the edit box.
Related
links:
What
is MediaWiki?
How
do I install the MediaWiki software using the Aplus.Net Control Panel?
I
have already installed the MediaWiki software. How do I create a
website using the MediaWiki software?
How
do I add a new page to my MediaWiki based website?
How
can I edit the contents of an existing page within my MediaWiki based
website?
How
do I create additional users with editors’ rights for my
MediaWiki based website?
How
do I customize the look and feel of my MediaWiki based website?
How
do I change the logo of my MediaWiki based website?
|