SearchWiki:

AnuAnuRPG (edit)

Mediawiki

Exalted

D20

World of Darkness?

Arcane Codex

Trading Cards?

PanDanu

PmWiki

Impressum

Recent Changes Printable View Page History Edit Page

The WikiTrails 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.

As an example, the page PmWiki.DocumentationIndex defines a WikiTrail through the set of pages that make up the documentation for PmWiki. 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 (PmWiki.DocumentationIndex 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 notes

The %trail% markup used in PmWiki's documentation pages is actually a WikiStyle defined in the PmWiki.GroupHeader page, and is not required for WikiTrails to work.

You can embed brackets inside a trail as in <<|[[PmWiki/Documentation Index]]|>>. This allows you to include slashes and spaces or a page with a single word title such as "Contents" within the TrailPage. You cannot, however, include a | within the internals of the Trailpage.

With a little bit of effort you can use your SideBar menu page as your TrailPage. First rename SideBar into something more appropriate such as Contents - as described in SideBarNameChange?. Then add a GroupHeader page and include in there a TrailPage as described above.

Note: It would be nice to have a TrailPage markup that had <PrevPage| and |NextPage> only or allowed you to put in your own choice of HomePage.

Add this to PITS.NewIssue? and explain it a bit more there. --Pm?

<< Passwords | PmWiki.DocumentationIndex | Categories >>

This page may have a more recent version on pmwiki.org: PmWiki:WikiTrails, and a talk page: PmWiki:WikiTrails-Talk.

Edit Page - Page History - Printable View - Recent Changes - WikiHelp - SearchWiki
Page last modified on December 10, 2004, at 02:43 PM