summaryrefslogtreecommitdiff
path: root/doc/yelp-xsl/C/tmpl.text.page
diff options
context:
space:
mode:
Diffstat (limited to 'doc/yelp-xsl/C/tmpl.text.page')
-rw-r--r--doc/yelp-xsl/C/tmpl.text.page56
1 files changed, 56 insertions, 0 deletions
diff --git a/doc/yelp-xsl/C/tmpl.text.page b/doc/yelp-xsl/C/tmpl.text.page
new file mode 100644
index 00000000..4f4f5901
--- /dev/null
+++ b/doc/yelp-xsl/C/tmpl.text.page
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="utf-8"?>
+<page xmlns="http://projectmallard.org/1.0/" style="xslt-template" id="tmpl.text">
+ <info>
+ <link type="guide" xref="tmpl" group="templates"/>
+ <link type="guide" xref="templates" group="tmpl"/>
+ <desc>Perform text substitutions on some text.</desc>
+ <revision version="40" date="FIXME" status="FIXME"/>
+ </info>
+ <title>tmpl.text</title>
+ <synopsis>
+ <title>Parameters</title>
+ <terms>
+ <item>
+ <title><code>$text</code></title>
+ <p>The text to process for substitutions.</p>
+ </item>
+ <item>
+ <title><code>$node</code></title>
+ <p>The node to create CSS for.</p>
+ </item>
+ <item>
+ <title><code>$direction</code></title>
+ <p>The directionality of the text, either <sys>ltr</sys> or <sys>rtl</sys>.</p>
+ </item>
+ <item>
+ <title><code>$left</code></title>
+ <p>The starting alignment, either <sys>left</sys> or <sys>right</sys>.</p>
+ </item>
+ <item>
+ <title><code>$right</code></title>
+ <p>The ending alignment, either <sys>left</sys> or <sys>right</sys>.</p>
+ </item>
+ </terms>
+ </synopsis>
+ <p>This template performs text substitutions on the text in <code>$text</code>. It is called
+ by <code xref="tmpl.file">tmpl.file</code>, and it calls itself recursively after each substitution.</p>
+ <p>See <code xref="tmpl">tmpl</code> for information on the substitution syntax.</p>
+ <note style="plain">
+ <p>This template was added in version 40.</p>
+ </note>
+ <list style="compact">
+ <title>Calls Templates</title>
+ <item>
+ <p><link xref="l10n.align.end"/></p>
+ </item>
+ <item>
+ <p><link xref="l10n.align.start"/></p>
+ </item>
+ <item>
+ <p><link xref="l10n.direction"/></p>
+ </item>
+ <item>
+ <p><link xref="tmpl.text"/></p>
+ </item>
+ </list>
+</page>