WikiSyntax.wiki
changeset 1446 62a948dbdcad
parent 1445 abd165fa6426
child 1447 a91cb8d8ee4e
equal deleted inserted replaced
1445:abd165fa6426 1446:62a948dbdcad
   412 Valid attributes are:
   412 Valid attributes are:
   413  * `max_depth`: the maximum header depth to display in the table of contents
   413  * `max_depth`: the maximum header depth to display in the table of contents
   414 
   414 
   415 == Side navigation ==
   415 == Side navigation ==
   416 
   416 
   417 You can specify the sidebar for a wiki page by selecting another wiki page that defines your side navigation.
   417 The sidebar is just another wiki page and defined in the special page [TableOfContents].
   418 
   418 
   419 One way of adding a sidebar is by setting the #sidebar pragma, as shown below. Alternatively, the sidebar pragma can be left blank if no side navigation is desired. 
   419 The side navigation that is defined should be in the format of a simple list, as shown below:
   420 
       
   421 || #sidebar !TableOfContents ||
       
   422 
       
   423 The side navigation that is defined should be in the format of a simple list, as shown below. 
       
   424 
   420 
   425 {{{
   421 {{{
   426   * [Articles HOWTO articles]
   422   * [Articles HOWTO articles]
   427     * [ArticlesXSS Web security]
   423     * [ArticlesXSS Web security]
   428     * [ArticlesDom DOM manipulation]
   424     * [ArticlesDom DOM manipulation]