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.

IfLink

Try If Link conditional markup
When using page lists a test can be made for link=Group/Pagename. It seems only natural and consistent to be able to test for this in conditional markup

Set category
[[Category/]]: [[!Test]]

Category: Test

(:if link=Category/Test:)
link=Category/Test
(:else:)
link is not Category/Test
(:ifend:)

link=Category/Test

(:if ! link=Category/Test:)
link is not Category/Test
(:else:)
link=Category/Test
(:ifend:)

link is not Category/Test

(:if link={$FullName}:)
link={$FullName}
(:else:)
link is not {$FullName}
(:ifend:)

link=Test.IfLink

(:if ! link={$FullName}:)
link is not {$FullName}
(:else:)
link={$FullName}
(:ifend:)

link is not Test.IfLink

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.05 00.05 MarkupToHTML begin
 3: 00.06 00.06 MarkupToHTML begin
 4: 00.06 00.06 MarkupToHTML end
 5: 00.06 00.06 MarkupToHTML begin
 6: 00.07 00.06 MarkupToHTML end
 7: 00.07 00.06 MarkupToHTML begin
 8: 00.07 00.07 MarkupToHTML end
 9: 00.07 00.07 MarkupToHTML begin
10: 00.07 00.07 MarkupToHTML end
11: 00.07 00.07 MarkupToHTML begin
12: 00.08 00.07 MarkupToHTML end
13: 00.09 00.09 MarkupToHTML end
14: 00.10 00.10 MarkupToHTML begin
15: 00.12 00.12 ReadApprovedUrls SiteAdmin.ApprovedUrls begin
16: 00.13 00.13 ReadApprovedUrls SiteAdmin.ApprovedUrls end
17: 00.15 00.15 MarkupToHTML end
18: 00.15 00.15 MarkupToHTML begin
19: 00.16 00.16 MarkupToHTML end
20: 00.17 00.16 now