Recent Changes - Search:

PmWiki

pmwiki.org

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

X Y Trail

Testing trails with anchors
Testing trails with anchors

The following bullets define the wiki trail

[[#XYTrail1]]
* [[XYTrail1]]
[[#XYTrail2]]
* [[Test.XYTrail2]]
[[#XYTrail3]]
* [[Test/XYTrail3]]
[[#XYTrail4]]
* [[XYTrail4 | '''page''' ''four'']]
[[#XYTrail5]]
* [[Test/XYTrail5 | 5'^th^' page of trail]]
[[#XYTrail6]]
* [[Test.XYTrail5 | sixth page of trail]]
[[#XYTrailLoop]]
* [[XYTrail1 | loop trail]] %item comment%

Follow a wiki trail to view the tests ...

The following trails are based on the bulleted list on page Test.XYTrail, they work fine.

-> <<|[[XYTrail]]|>>
-> <<|Test.XYTrail|>>
-> <<|[[Test.XYTrail]]|>>
-> <<|[[Test.XYTrail | trail]]|>>
-> <<|[[Test.XYTrail | +]]|>>
<< | XYTrail | >>
<< | Test.XYTrail | >>
<< | Test.XYTrail | >>
<< | trail | >>
<< | X Y Trail | >>

Trails with anchors - is the syntax the same as Include Other Pages? These trails work oddly if at all ...

Variables
-> {*$Name} / {*$FullName}

Trail using ''from'' anchor
-> <<|[[Test.XYTrail#XYTrail4# | +]]|>>
-> <<|[[Test.XYTrail#{*$Name}# | +]]|>>
-> <<|[[Test.XYTrail#{*$FullName}# | +]]|>>

Trail using ''to'' anchor
-> <<|[[Test.XYTrail##XYTrail4 | +]]|>>
-> <<|[[Test.XYTrail##{*$Name} | +]]|>>
-> <<|[[Test.XYTrail##{*$FullName} | +]]|>>

Trail using ''from'' and ''to'' anchor
-> <<|[[Test.XYTrail#XYTrail4#XYTrail6 | +]]|>>

Variables

Trail using from anchor

<< | X Y Trail | >>
<< | X Y Trail | >>
<< | X Y Trail | >>

Trail using to anchor

<< | X Y Trail | >>
<< | X Y Trail | >>
<< | X Y Trail | >>

Trail using from and to anchor

<< | X Y Trail | >>

Test ontrail conditional

* (:if ontrail XYTrail {*$Name} :)     {*$Name} is on trail [[XYTrail]]    
(:else:) {*$Name} (:ifend:)

* (:if ontrail XYTrail {*$FullName} :) {*$FullName} is on trail
[[XYTrail]] (:else:) {*$FullName} (:ifend:)

* (:if ontrail XYTrail XYTrail4 :)     [[XYTrail4]] is on trail
[[XYTrail]] (:else:) XYTrail4 (:ifend:)

Note that the special * reference is used because all tests are included from the XYTrail page.

Edit - History - Print - Recent Changes - Search
Page last modified on September 10, 2011, at 12:03 PM
 0: 00.00 00.00 config start
 1: 00.00 00.00 config end
 2: 00.06 00.05 MarkupToHTML begin
 3: 00.07 00.05 MarkupToHTML begin
 4: 00.08 00.07 MarkupToHTML end
 5: 00.09 00.07 MarkupToHTML begin
 6: 00.11 00.09 MarkupToHTML end
 7: 00.11 00.09 MarkupToHTML begin
 8: 00.13 00.12 MarkupToHTML end
 9: 00.13 00.12 MarkupToHTML begin
10: 00.15 00.13 MarkupToHTML end
11: 00.17 00.15 MarkupToHTML end
12: 00.18 00.16 MarkupToHTML begin
13: 00.20 00.19 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
14: 00.21 00.20 ReadApprovedUrls SiteAdmin.ApprovedUrls end
15: 00.23 00.21 MarkupToHTML end
16: 00.23 00.21 MarkupToHTML begin
17: 00.24 00.22 MarkupToHTML end
18: 00.25 00.23 now