<?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 Parameters</title>
  <item>
   <p><link xref="color.bg"/></p>
  </item>
  <item>
   <p><link xref="color.bg.blue"/></p>
  </item>
  <item>
   <p><link xref="color.bg.gray"/></p>
  </item>
  <item>
   <p><link xref="color.bg.green"/></p>
  </item>
  <item>
   <p><link xref="color.bg.orange"/></p>
  </item>
  <item>
   <p><link xref="color.bg.purple"/></p>
  </item>
  <item>
   <p><link xref="color.bg.red"/></p>
  </item>
  <item>
   <p><link xref="color.bg.yellow"/></p>
  </item>
  <item>
   <p><link xref="color.blue"/></p>
  </item>
  <item>
   <p><link xref="color.fg"/></p>
  </item>
  <item>
   <p><link xref="color.fg.blue"/></p>
  </item>
  <item>
   <p><link xref="color.fg.dark"/></p>
  </item>
  <item>
   <p><link xref="color.gray"/></p>
  </item>
  <item>
   <p><link xref="color.red"/></p>
  </item>
  <item>
   <p><link xref="color.yellow"/></p>
  </item>
  <item>
   <p><link xref="mal.cache"/></p>
  </item>
  <item>
   <p><link xref="mal.link.default_root"/></p>
  </item>
  <item>
   <p><link xref="mal2html.editor_mode"/></p>
  </item>
 </list>
 <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>
