summaryrefslogtreecommitdiff
path: root/doc/yelp-xsl/C/mal2html.links.topic.page
blob: d049de6c35e231eeff4383e5232be0b0570c80f5 (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
52
53
<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:xsl="FIXME" style="xslt-template" id="mal2html.links.topic">
 <info>
  <link type="guide" xref="mal2html-links" group="templates"/>
  <link type="guide" xref="templates" group="mal2html"/>
  <desc>Output topic links from a page or section.</desc>
  <revision version="3.4" date="2012-02-23" status="final"/>
 </info>
 <title>mal2html.links.topic</title>
 <synopsis>
  <title>Parameters</title>
  <terms>
   <item>
    <title><code>$node</code></title>
    <p>A <sys>links</sys>, <sys>page</sys>, or <sys>section</sys> element to link from.</p>
   </item>
   <item>
    <title><code>$depth</code></title>
    <p>The depth level for the HTML header element.</p>
   </item>
   <item>
    <title><code>$links</code></title>
    <p>A list of links from <code xref="mal.link.topiclinks">mal.link.topiclinks</code>.</p>
   </item>
   <item>
    <title><code>$groups</code></title>
    <p>The list of link groups for this <sys>links</sys> element.</p>
   </item>
   <item>
    <title><code>$allgroups</code></title>
    <p>The list of all valid groups for the page or section.</p>
   </item>
  </terms>
 </synopsis>
 <p>This template outputs topic links for a page or section. It does not extract
 the links itself. They must be passed in with the <code>$links</code> parameter. This
 template only outputs links which have a group that matches <code>$groups</code>. The
 <code>$groups</code> parameter is not expected to have the implicit groups <sys>first</sys>,
 <sys>default</sys>, and <sys>last</sys>. These are added automatically by this template
 when determining which links to output.</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.links"/></p>
  </item>
 </list>
</page>