summaryrefslogtreecommitdiff
path: root/doc/yelp-xsl/C/color.r.page
diff options
context:
space:
mode:
Diffstat (limited to 'doc/yelp-xsl/C/color.r.page')
-rw-r--r--doc/yelp-xsl/C/color.r.page98
1 files changed, 86 insertions, 12 deletions
diff --git a/doc/yelp-xsl/C/color.r.page b/doc/yelp-xsl/C/color.r.page
index e28525fb..290f086f 100644
--- a/doc/yelp-xsl/C/color.r.page
+++ b/doc/yelp-xsl/C/color.r.page
@@ -1,12 +1,86 @@
-<?xml version="1.0"?>
-<page xmlns="http://projectmallard.org/1.0/" id="color.r" type="topic" style="xslt-template"><info><link type="guide" xref="color" group="templates"/><link type="guide" xref="templates" group="color"/><revision version="3.28" date="2016-01-03" status="final"/><desc>Extract the red component of a color.</desc></info><title>color.r</title><p>Extract the red component of a color.</p>
-
-
- <synopsis><title>Parameters</title><terms>
- <item>
- <title><code>color</code></title>
- <p>A color specified in hexidecimal, <code>rgb()</code>, or <code>rgba()</code>.</p>
- </item>
- </terms></synopsis>
- <p>This template extracts the red portion of a color, returning a number between 0 and 255. It accepts six-digit and three-digit hexidecimal color codes, colors specified with <code>rgb()</code>, and colors specified with <code>rgba()</code>. It does not accept HSL or named HTML colors.</p>
-<list style="compact"><title>Calls Templates</title><item><p><link xref="color.hex2dec"/></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="color.r">
+ <info>
+ <link type="guide" xref="color" group="templates"/>
+ <link type="guide" xref="templates" group="color"/>
+ <desc>Extract the red component of a color.</desc>
+ <revision version="3.28" date="2016-01-03" status="final"/>
+ </info>
+ <title>color.r</title>
+ <synopsis>
+ <title>Parameters</title>
+ <terms>
+ <item>
+ <title><code>$color</code></title>
+ <p>A color specified in hexidecimal, <sys>rgb()</sys>, or <sys>rgba()</sys>.</p>
+ </item>
+ </terms>
+ </synopsis>
+ <p>This template extracts the red portion of a color, returning a number between
+ 0 and 255. It accepts six-digit and three-digit hexidecimal color codes,
+ colors specified with <sys>rgb()</sys>, and colors specified with <sys>rgba()</sys>. It does
+ not accept HSL or named HTML colors.</p>
+ <list style="compact">
+ <title>Calls Parameters</title>
+ <item>
+ <p><link xref="color.bg"/></p>
+ </item>
+ <item>
+ <p><link xref="color.bg.blue"/></p>
+ </item>
+ <item>
+ <p><link xref="color.bg.dark"/></p>
+ </item>
+ <item>
+ <p><link xref="color.bg.gray"/></p>
+ </item>
+ <item>
+ <p><link xref="color.bg.red"/></p>
+ </item>
+ <item>
+ <p><link xref="color.bg.yellow"/></p>
+ </item>
+ <item>
+ <p><link xref="color.blue"/></p>
+ </item>
+ <item>
+ <p><link xref="color.fg"/></p>
+ </item>
+ <item>
+ <p><link xref="color.fg.blue"/></p>
+ </item>
+ <item>
+ <p><link xref="color.fg.dark"/></p>
+ </item>
+ <item>
+ <p><link xref="color.fg.purple"/></p>
+ </item>
+ <item>
+ <p><link xref="color.fg.red"/></p>
+ </item>
+ <item>
+ <p><link xref="color.gray"/></p>
+ </item>
+ <item>
+ <p><link xref="color.green"/></p>
+ </item>
+ <item>
+ <p><link xref="color.orange"/></p>
+ </item>
+ <item>
+ <p><link xref="color.purple"/></p>
+ </item>
+ <item>
+ <p><link xref="color.red"/></p>
+ </item>
+ <item>
+ <p><link xref="color.yellow"/></p>
+ </item>
+ </list>
+ <list style="compact">
+ <title>Calls Templates</title>
+ <item>
+ <p><link xref="color.hex2dec"/></p>
+ </item>
+ </list>
+</page>