summaryrefslogtreecommitdiff
path: root/doc/yelp-xsl/C/db.titleabbrev.page
blob: 9b0c96507da285edaf2407520f933cc462f65fef (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
<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:xsl="FIXME" style="xslt-template" id="db.titleabbrev">
 <info>
  <link type="guide" xref="db-title" group="templates"/>
  <link type="guide" xref="templates" group="db"/>
  <desc>Output an abbreviated title for an element.</desc>
  <revision version="3.4" date="2011-11-10" status="final"/>
 </info>
 <title>db.titleabbrev</title>
 <synopsis>
  <title>Parameters</title>
  <terms>
   <item>
    <title><code>$node</code></title>
    <p>The element to output the abbreviated title of.</p>
   </item>
   <item>
    <title><code>$info</code></title>
    <p>The info child element of <code>$node</code>.</p>
   </item>
  </terms>
 </synopsis>
 <p>This template outputs the abbreviated title of the element <code>$node</code>, which is
 sometimes used for link text. If no explicit <sys>titleabbrev</sys> element is found,
 this template just calls <code xref="db.title">db.title</code>.</p>
 <list style="compact">
  <title>Calls Templates</title>
  <item>
   <p><link xref="db.title"/></p>
  </item>
 </list>
</page>