Main.Side Bar (edit)?Pm Wikipmwiki.org |
The Wiki Trails feature allows wiki authors to create "trails" through sequences of pages in the wiki. To do this, an author creates a "trail page" that gives the sequence of page names as either a bullet or numbered list. The page names must be the first item following each bullet. Then, for each page on the trail, add the markup "<<|TrailPage|>>" somewhere on the page (usually at the bottom). This markup will then be replaced with links to the previous and next pages in the trail, as defined by the TrailPage. To give an example for the function of the "trail page": A WikiTrail like * [[WikiPage1]] Some text. * [[WikiPage2]] ** [[WikiPage2_1]] ** [[WikiPage2_2]] some other text [[WikiPage5]] creates the following "trail": WikiPage1 <-> WikiPage2 <-> WikiPage2_1 <-> WikiPage2_2 Note that As another example, the page Pm Wiki.Documentation Index defines a WikiTrail through the set of pages that make up the documentation for Pm Wiki. The special markup <<|PmWiki.DocumentationIndex|>> appears at the bottom of each page along the trail, providing links to the previous and next pages in the trail sequence. Note that this makes reorganizing the sequence of pages or adding new pages quite easy--simply edit the trail page (Pm Wiki.Documentation Index in this case). There are a couple of other markups available: ^|TrailPage|^ will show a page's ancestry to the trail page, while <|TrailPage|> will completely omit the "<PrevPage|" or "|NextPage>" markups at the beginning or end of the trail respectively. Other notesThe You can embed brackets inside a trail as in <<|[[PmWiki/Documentation Index]]|>> or <<|[[PmWiki/Documentation Index | Up]]|>>. With a little bit of effort you can use your Side Bar menu page as your TrailPage. First rename Side Bar into something more appropriate such as Contents - as described in Cookbook:SideBarNameChange. Then add a Group Header page and include a TrailPage there as described above. << GroupHeaders | Pm Wiki.Documentation Index | Page history >> |