Table+of+Contents

Hey guys

To create a table of contents just put the following code: toc in double square brackets  at the very start of your page and that will put a table of contents on the top right of your page. The table of contents will then incorporate anything on your page that's in HEADING format. So where it says "normal" next to the text box you can change it to heading 1-5. Whatever words you write in "heading" will appear in your table of contents in the same order as they appear on the page.

Cheers

There are several of making a Table of Contents

__Step 1__ 1) Click "Widget" on the toolbar at the top of of the Visual Editor, and under "Wikispaces" click "Table of Contents" --OR-- 2) Use Wikitext editor, and type "[ [toc] ]" (no spaces) anywhere on your page. For example, at the top of all your text will work. You'll notice that there are two choices for your Table of Contents. Wikispaces explains this in the blurb provided. An Embed Table of Contents should work well for your page if you'd like different levels of headings to show up, ex. subtopics of subtopics.

//The Table of Contents will create a set of links to jump to sections on this page. Create sections by adding section headings and they will automatically be added to the Table of Contents.// //The normal table of contents includes all Headings and positions itself to the top right of the page. A flat table of contents includes links to Heading 1 elements only, and displays the contents inline in the page.//

__Step 2__ Next you need to use **headings** throughout your Neurowiki to integrate contents for your table. These can be changed using the drop-down box for the different text styles. At default, it is set at "Normal". Change it to **Heading 1**, **Heading 2**, etc. depending on topics and subtopics in your wiki.

When you select "preview", you will be able to see what your Table of Contents looks like! Remember to save your page when your Table of Contents when you've finished editing.


 * ALTERNATIVE: ToC through Anchors:**

Many of the table of contents one seems scattered throughout the neurowikis are not in fact widgets or code of any standard kind. One can make their own table of contents through a table and anchors.

First, make a table with two rows, one for "contents" and another for the subtopics you want to link.

Second, write out your subtopics.

Third, make your anchors (you can visit the anchors page for another review of this same topic). Highlight the subtopic that you want to link (e.g. 1 Plasticity) and go to the "link" icon at the top of the edit toolbar. A pop-up main appears. Fill in the respective fields, typing YOUR PAGE NAME into the "page" field. Click the little "link to an anchor?". Type in whatever you want but I suggest numbers or letters - this is your reference that you will "anchor to". Click add link.

Fourth, place your cursor where your subtopic is located (for example Plasticity). Go to the link icon, switch to the "anchor" tab, and type in your anchor reference.

Repeat steps 3-4 for the rest of the subtopics.


 * Word of Caution: The ToC can make the wikipage unstable in some cases (not always), causing headings to drop out randomly everytime you save an edit. I recommend you organize your page in terms of headers as you are working on the page and only add in the table of contents when you are nearing completion. - Alex L

=Heading 1=

Heading 6

 * Picto-Demonstration:**


 * Step 1: Layout your information like the following:**


 * Step 2: Click on Widget, Click on "Table of Contents" and Select "Embed Table of Contents"**


 * Step 3: Your Table Of Contents will show on the right hand side if you select this format. However, It will automatically incorporate your headings for your topics and subtopics as you go long:**
 * For Main Headings such as "Pathophysiology" as shown in the picture - Format it has Heading 1**
 * For subtopics within the Main Headings such as "1.1 Common Pathogens" as shown in the picture - Format it has Heading 3**
 * Do not put your own table of contents as you had on your neurowiki draft (as shown in the picture). This Table of Content will automatically incorporate the headings as you go long.**

toc
 * Good Luck!**