summaryrefslogtreecommitdiff
path: root/doc/yelp-xsl/C/l10n.align.start.page
blob: 3179e6fdd3020b4f2f19cc9ac9f0222ef99b07e3 (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
<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" style="xslt-template" id="l10n.align.start">
 <info>
  <link type="guide" xref="l10n" group="templates"/>
  <link type="guide" xref="templates" group="l10n"/>
  <desc>Determine the start alignment.</desc>
  <revision version="3.18" date="2015-07-27" status="final"/>
 </info>
 <title>l10n.align.start</title>
 <synopsis>
  <title>Parameters</title>
  <terms>
   <item>
    <title><code>$direction</code></title>
    <p>The text direction.</p>
   </item>
  </terms>
 </synopsis>
 <p>This template returns the string <sys>left</sys> for left-to-right languages and the
 string <sys>right</sys> for right-to-left languages. The result is suitable for
 substituting in CSS rules that are direction-dependent. If you do not pass
 the <code>$direction</code> parameter, it defaults to calling <code xref="l10n.direction">l10n.direction</code> using
 the default locale defined in <code xref="l10n.locale">l10n.locale</code>.</p>
 <list style="compact">
  <title>Calls Parameters</title>
  <item>
   <p><link xref="l10n.locale"/></p>
  </item>
 </list>
 <list style="compact">
  <title>Calls Templates</title>
  <item>
   <p><link xref="l10n.direction"/></p>
  </item>
 </list>
</page>