summaryrefslogtreecommitdiff
path: root/contrib_xsl/wiki.xsl
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2016-09-19 18:01:01 +0200
committerReid <reidyaro@gmail.com>2016-09-19 18:01:34 +0200
commit82add9ceb3027018c34b55b8b465f623b730aa54 (patch)
tree46b4e2685d5d252211bda7b3526dbd9ac3917fc0 /contrib_xsl/wiki.xsl
parentc4b98648ee365fcee10fe7b08665bbab3ae3d194 (diff)
downloadevol-tools-82add9ceb3027018c34b55b8b465f623b730aa54.tar.gz
evol-tools-82add9ceb3027018c34b55b8b465f623b730aa54.tar.bz2
evol-tools-82add9ceb3027018c34b55b8b465f623b730aa54.tar.xz
evol-tools-82add9ceb3027018c34b55b8b465f623b730aa54.zip
Update the contributor XSLs.
Diffstat (limited to 'contrib_xsl/wiki.xsl')
-rw-r--r--contrib_xsl/wiki.xsl25
1 files changed, 19 insertions, 6 deletions
diff --git a/contrib_xsl/wiki.xsl b/contrib_xsl/wiki.xsl
index 3fd1566..dcce0a5 100644
--- a/contrib_xsl/wiki.xsl
+++ b/contrib_xsl/wiki.xsl
@@ -14,16 +14,20 @@ Copyright (C) 2016 Evol Online -->
<xsl:template match="evol">
<xsl:text>^ Evol Online Contributors ^^&#xa;</xsl:text>
- <xsl:text>^ Nickname ^ Real Name / Email ^&#xa;</xsl:text>
-
- <xsl:apply-templates select="contributor"/>
+ <xsl:text>^ Nickname ^ Real Name / Email ^ Link ^&#xa;</xsl:text>
+ <xsl:apply-templates/>
</xsl:template>
<xsl:template match="tmw-ufb">
<xsl:text>^ Unknown Flying Bullet Contributors ^^&#xa;</xsl:text>
- <xsl:text>^ Nickname ^ Real Name / Email ^&#xa;</xsl:text>
+ <xsl:text>^ Nickname ^ Real Name / Email ^ Link ^&#xa;</xsl:text>
+ <xsl:apply-templates/>
+ </xsl:template>
- <xsl:apply-templates select="contributor"/>
+ <xsl:template match="freesound">
+ <xsl:text>^ Freesound Contributors ^^&#xa;</xsl:text>
+ <xsl:text>^ Nickname ^ Real Name / Email ^ Link ^&#xa;</xsl:text>
+ <xsl:apply-templates/>
</xsl:template>
<xsl:template match="other">
@@ -68,7 +72,16 @@ Copyright (C) 2016 Evol Online -->
<xsl:text> |</xsl:text>
</xsl:otherwise>
</xsl:choose>
-
+ <xsl:choose>
+ <xsl:when test="@page">
+ <xsl:text> </xsl:text>
+ <xsl:value-of select="@page"/>
+ <xsl:text> |</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text> No Data |</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
<xsl:text>&#xa;</xsl:text>
</xsl:template>