diff options
Diffstat (limited to 'doc/yelp-xsl/C/db.title.page')
-rw-r--r-- | doc/yelp-xsl/C/db.title.page | 63 |
1 files changed, 46 insertions, 17 deletions
diff --git a/doc/yelp-xsl/C/db.title.page b/doc/yelp-xsl/C/db.title.page index 0efb073a..1626c7c1 100644 --- a/doc/yelp-xsl/C/db.title.page +++ b/doc/yelp-xsl/C/db.title.page @@ -1,17 +1,46 @@ -<?xml version="1.0"?> -<page xmlns="http://projectmallard.org/1.0/" id="db.title" type="topic" style="xslt-template"><info><link type="guide" xref="db-title" group="templates"/><link type="guide" xref="templates" group="db"/><revision version="3.28" date="2017-03-18" status="final"/><desc>Output a title for an element.</desc></info><title>db.title</title><p>Output a title for an element.</p> - - - <synopsis><title>Parameters</title><terms> - <item> - <title><code>node</code></title> - <p>The element to output the title of.</p> - </item> - <item> - <title><code>info</code></title> - <p>The info child element of <code style="xslt-param">node</code>.</p> - </item> - </terms></synopsis> - <p>This template outputs the title of the element <code style="xslt-param">node</code> as it might be used for a heading or for link text. For certain types of elements, this templates will use a localized automatic title if no explicit title is provided.</p> - <p>When <code style="xslt-param">node</code> is an element for which this template cannot construct a title, it calls itself recursively passing the parent element of <code style="xslt-param">node</code>.</p> -<list style="compact"><title>Calls Templates</title><item><p><link xref="db.chunk.chunk-id"/></p></item><item><p><link xref="db.title"/></p></item></list><list style="compact"><title>Calls Keys</title><item><p><link xref="db.id.key"/></p></item></list></page> +<?xml version="1.0" encoding="utf-8"?> +<page xmlns="http://projectmallard.org/1.0/" xmlns:xsl="FIXME" style="xslt-template" id="db.title"> + <info> + <link type="guide" xref="db-title" group="templates"/> + <link type="guide" xref="templates" group="db"/> + <desc>Output a title for an element.</desc> + <revision version="3.28" date="2017-03-18" status="final"/> + </info> + <title>db.title</title> + <synopsis> + <title>Parameters</title> + <terms> + <item> + <title><code>$node</code></title> + <p>The element to output the 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 title of the element <code>$node</code> as it might be used for + a heading or for link text. For certain types of elements, this templates will + use a localized automatic title if no explicit title is provided.</p> + <p>When <code>$node</code> is an element for which this template cannot construct a title, + it calls itself recursively passing the parent element of <code>$node</code>.</p> + <list style="compact"> + <title>Calls Keys</title> + <item> + <p><link xref="db.id.key"/></p> + </item> + </list> + <list style="compact"> + <title>Calls Templates</title> + <item> + <p><link xref="db.chunk.chunk-id"/></p> + </item> + <item> + <p><link xref="db.title"/></p> + </item> + <item> + <p><link xref="l10n.gettext"/></p> + </item> + </list> +</page> |