Document trail plugin v3
[ikiwiki.git] / doc / plugins / contrib / ikiwiki / directive / traillink.mdwn
1 The `traillink` directive is supplied by the
2 [[!iki plugins/contrib/trail desc=trail]]
3 plugin. It generates a visible [[ikiwiki/WikiLink]], and also adds the
4 linked page to the trail represented by the page containing the directive.
5
6 In its simplest form, the first parameter is like the content of a WikiLink:
7
8     \[[!traillink some_other_page]]
9
10 The displayed text can also be overridden, either with a `|` symbol or with
11 a `text` parameter:
12
13     \[[!traillink Click_here_to_start_the_trail|some_other_page]]
14     \[[!traillink some_other_page text="Click here to start the trail"]]
15
16 [[!meta robots="noindex, follow"]]