<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>traillink</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="../../style.css" type="text/css" /> <link rel="stylesheet" href="../../local.css" type="text/css" /> <meta name="robots" content="noindex, follow" /> </head> <body> <div class="page"> <div class="pageheader"> <div class="header"> <span> <span class="parentlinks"> <a href="../../index.html">ikiwiki</a>/ <a href="../../ikiwiki.html">ikiwiki</a>/ <a href="../directive.html">directive</a>/ </span> <span class="title"> traillink </span> </span> </div> </div> <div id="pagebody"> <div id="content" role="main"> <p>The <code>traillink</code> directive is supplied by the <a href="http://ikiwiki.info/plugins/trail/">trail</a> plugin. It generates a visible <a href="../wikilink.html">WikiLink</a>, and also adds the linked page to the trail represented by the page containing the directive.</p> <p>In its simplest form, the first parameter is like the content of a WikiLink:</p> <pre><code>[[!traillink some_other_page]] </code></pre> <p>The displayed text can also be overridden, either with a <code>|</code> symbol or with a <code>text</code> parameter:</p> <pre><code>[[!traillink Click_here_to_start_the_trail|some_other_page]] [[!traillink some_other_page text="Click here to start the trail"]] </code></pre> </div> </div> <div id="footer" class="pagefooter" role="contentinfo"> <div id="pageinfo"> <div id="backlinks"> Links: <a href="../../plugins/trail.html">plugins/trail</a> </div> <div class="pagedate"> Last edited <span class="date">Tue Feb 26 23:01:54 2019</span> <!-- Created <span class="date">Tue Feb 26 23:01:54 2019</span> --> </div> </div> <!-- from ikiwiki --> </div> </div> </body> </html>