Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/kontaktstellebasel.chALT/viavia.ch/maroc-de/cookbook/pagetoc.php:416) in /home/httpd/vhosts/kontaktstellebasel.chALT/viavia.ch/maroc-de/pmwiki.php on line 1337
|
authors (basic)
Table of contentsThe WikiTrails feature allows wiki authors to create "trails" through sequences of pages in the wiki. Creating a trailBefore you can use a trail through a group of pages, you have to create a "trail index" on a separate page, which we will call the "trail index page".
An example trail index page might contain:
creates the following "wikitrail", using pagelist to display it:
Observations
Trail typesPmWiki defines 2 trail markups:
Trail link syntaxThe trail link has the same syntax as a standard link,
Trail links can be restricted by anchors (links to a specific location within a page),
Using the trailWhat makes a trail "work" is adding trail markup on the pages in the trail (i.e. the pages that are listed in the bullet/numbered list on the trail index page). To build a trail, add trail markup like The trail markup can be placed anywhere in a page, and a page can contain multiple trail markups. If you are adding a trail to every page in a group, consider setting the trail markup in the GroupHeader or GroupFooter pages instead of on every individual page in your group. Path trail
Wiki administrators can change the trail separator of the "path" trail ( Circular trailsTypically, a trail is a linear list with a first and a last page. However, the trail can be made "circular" by repeating the first page as the last item in the trail index: * [[TrailPage1]] * [[TrailPage2]] ... * [[TrailPageN]] * [[TrailPage1]] If the trail index page is intended to be read by others, the last item can be made invisible inside an * [[TrailPage1]] * [[TrailPage2]] ... * [[TrailPageN]] (:if false:) * [[TrailPage1]] (:ifend:) Cross Group TrailsBefore version 2.2.1, if your trail contains pages in different groups, it should use full [[Group.Name]] links instead of just [[Name]]. Other notes
Trail stylePmWiki encapsulates the trail with a wikitrail css class.
Trail in page listsTrails from a single page can only be displayed using the pagelist trail parameter. For example
Questions
This page may have a more recent version on pmwiki.org: PmWiki:WikiTrails, and a talk page: PmWiki:WikiTrails-Talk. |