<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" style="xslt-template" id="mal2html.page.linktrails">
 <info>
  <link type="guide" xref="mal2html-page" group="templates"/>
  <link type="guide" xref="templates" group="mal2html"/>
  <desc>Ouput trails of guide links for a page.</desc>
  <revision version="3.4" date="2011-11-19" status="final"/>
 </info>
 <title>mal2html.page.linktrails</title>
 <synopsis>
  <title>Parameters</title>
  <terms>
   <item>
    <title><code>$node</code></title>
    <p>The top-level <sys>page</sys> element.</p>
   </item>
  </terms>
 </synopsis>
 <p>This template outputs all of the link trails for the page <code>$node</code>. It gets the
 trails from <code>$mal.link.linktrails</code>. If the result is non-empty, it outputs a
 wrapper <sys>div</sys>, sorts the trails, and calls <code xref="mal2html.page.linktrails.trail">mal2html.page.linktrails.trail</code>
 on each one. Otherwise, it calls the stub template <code xref="mal2html.page.linktrails.empty">mal2html.page.linktrails.empty</code>.</p>
 <list style="compact">
  <title>Calls Templates</title>
  <item>
   <p><link xref="mal.link.linktrails"/></p>
  </item>
  <item>
   <p><link xref="mal2html.page.linktrails.empty"/></p>
  </item>
  <item>
   <p><link xref="mal2html.page.linktrails.trail"/></p>
  </item>
 </list>
</page>
