]> git.stg.codes - stg.git/blobdiff - doc/help/xslt/params/make.year.ranges.xml
DocBook documentation stub added
[stg.git] / doc / help / xslt / params / make.year.ranges.xml
diff --git a/doc/help/xslt/params/make.year.ranges.xml b/doc/help/xslt/params/make.year.ranges.xml
new file mode 100644 (file)
index 0000000..b1a2382
--- /dev/null
@@ -0,0 +1,32 @@
+<refentry xmlns="http://docbook.org/ns/docbook"
+          xmlns:xlink="http://www.w3.org/1999/xlink"
+          xmlns:xi="http://www.w3.org/2001/XInclude"
+          xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
+          xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+          version="5.0" xml:id="make.year.ranges">
+<refmeta>
+<refentrytitle>make.year.ranges</refentrytitle>
+<refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo>
+</refmeta>
+<refnamediv>
+<refname>make.year.ranges</refname>
+<refpurpose>Collate copyright years into ranges?</refpurpose>
+</refnamediv>
+
+<refsynopsisdiv>
+<src:fragment xml:id="make.year.ranges.frag"><xsl:param name="make.year.ranges" select="0"/></src:fragment>
+</refsynopsisdiv>
+
+<refsection><info><title>Description</title></info>
+
+<para>If non-zero, multiple copyright <tag>year</tag> elements will be
+collated into ranges.
+This works only if each year number is put into a separate
+year element.  The copyright element permits multiple
+year elements. If a year element contains a dash or
+a comma, then that year element will not be merged into
+any range.
+</para>
+
+</refsection>
+</refentry>