<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" style="xslt-template" id="mal2html.links.ul">
 <info>
  <link type="guide" xref="mal2html-links" group="templates"/>
  <link type="guide" xref="templates" group="mal2html"/>
  <desc>Output links in an HTML <sys>ul</sys> element.</desc>
  <revision version="3.28" date="2017-08-04" status="final"/>
 </info>
 <title>mal2html.links.ul</title>
 <synopsis>
  <title>Parameters</title>
  <terms>
   <item>
    <title><code>$node</code></title>
    <p>A <sys>links</sys> element to link from.</p>
   </item>
   <item>
    <title><code>$links</code></title>
    <p>A list of links, as from a template in <code xref="mal-link">mal-link</code>.</p>
   </item>
   <item>
    <title><code>$role</code></title>
    <p>A space-separated list of link roles, used to select the appropriate title.</p>
   </item>
   <item>
    <title><code>$bold</code></title>
    <p>Whether to bold the link titles.</p>
   </item>
   <item>
    <title><code>$nodesc</code></title>
    <p>Whether to omit descriptions.</p>
   </item>
  </terms>
 </synopsis>
 <p>This is a common formatting template used by some <sys>links</sys> element handlers.
 It outputs an HTML <sys>ul</sys> element and calls <code xref="mal2html.links.ul.li">mal2html.links.ul.li</code> on each
 link to output a list item with a link.</p>
 <p>This template handles link sorting.</p>
 <list style="compact">
  <title>Calls Parameters</title>
  <item>
   <p><link xref="mal.cache"/></p>
  </item>
 </list>
 <list style="compact">
  <title>Calls Templates</title>
  <item>
   <p><link xref="mal2html.links.ul.li"/></p>
  </item>
 </list>
</page>
