Main.SideBar (edit)
Phoenix ProjectSectionsActivitiesEquipmentPeopleResourcesLinksAbout Wikis |
Creating a trailTo create a trail, an author creates a “trail index 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. To give an example for the function of the trail index page: A WikiTrail like * [[TrailPage1]] * Some text. * [[TrailPage2]] ** [[TrailPage3]] ** [[TrailPage4]] some other text [[IrrelevantWikiPage]] ** Yet some other text. [[AnotherIrrelevantWikiPage]] creates the following “trail”: WikiPage1 <-> WikiPage2 <-> WikiPage4 <-> WikiPage4 Observations:
Using the trailCreating the trail doesn’t do anything actually. In fact any page with numbered or bulleted lists will implicitly create a trail, intentionally or not. What makes the trail “work” is adding the appropriate markup on the trail pages (i.e. those pages that are listed in the bullet/numbered list). To acknowledge a page for the trail, add the markup <<|TrailIndexPage|>> somewhere on it. You can place the markup anywhere you like, and in as many places as you like; good places are at the top and/or bottom of each trail page. When a page with such a markup is displayed, PmWiki does the following things:
Trail page markup can be varied in various ways:
Fun Stuff with trailsNormally, a trail is a linear list with a first and a last item. However, you can make it circular by adding the first item at the end of the trail index page: * [[TrailPage1]] * [[TrailPage2]] ... * [[TrailPageN]] * [[TrailPage1]] If the trail index page is intended to be visible to end users, you might want to hide that last list item that closes the circle. In that case, simply make it invisible: * [[TrailPage1]] * [[TrailPage2]] ... * [[TrailPageN]] * [[TrailPage1]] %item comment% Other notesThe You can embed brackets inside a trail as in <<|[[PmWiki/Documentation Index]]|>> or <<|[[PmWiki/Documentation Index | Up]]|>>. « GroupHeaders | PmWiki.DocumentationIndex | Page history » |