summaryrefslogtreecommitdiff
path: root/doc/yelp-xsl/C/mal2html.links.ul.page
blob: 652aed4402b7de22e35e8d4313cee8c7a3b35205 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:xsl="FIXME" 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>