diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-03-12 20:42:18 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-03-12 20:42:18 -0300 |
commit | 26df7db7edaf2389a3ec5cab6a25ac18a393e5cb (patch) | |
tree | 55e050cc9a4e1f0521434c6cba6db2d8e452ef91 /contrib_xsl/wiki.xsl | |
parent | 418445a6fb104bcf2d63b82e5cbf7f25f70677e0 (diff) | |
download | tools-26df7db7edaf2389a3ec5cab6a25ac18a393e5cb.tar.gz tools-26df7db7edaf2389a3ec5cab6a25ac18a393e5cb.tar.bz2 tools-26df7db7edaf2389a3ec5cab6a25ac18a393e5cb.tar.xz tools-26df7db7edaf2389a3ec5cab6a25ac18a393e5cb.zip |
Make for GitLab wiki
Diffstat (limited to 'contrib_xsl/wiki.xsl')
-rw-r--r-- | contrib_xsl/wiki.xsl | 61 |
1 files changed, 35 insertions, 26 deletions
diff --git a/contrib_xsl/wiki.xsl b/contrib_xsl/wiki.xsl index 24b063e..ca6e0c5 100644 --- a/contrib_xsl/wiki.xsl +++ b/contrib_xsl/wiki.xsl @@ -12,33 +12,51 @@ Copyright (C) 2016 Evol Online --> <xsl:apply-templates/> </xsl:template> + <xsl:template match="tmw2"> + <xsl:text>
</xsl:text> + <xsl:text># TMW2 Contributors
</xsl:text> + <xsl:text>|Nickname|Real Name / Email|
</xsl:text> + <xsl:text>|--------|-----------------|
</xsl:text> + <xsl:apply-templates/> + </xsl:template> + <xsl:template match="evol"> - <xsl:text>^ Evol Online Contributors ^^
</xsl:text> - <xsl:text>^ Nickname ^ Real Name / Email ^ Link ^
</xsl:text> + <xsl:text>
</xsl:text> + <xsl:text># Evol Online Contributors
</xsl:text> + <xsl:text>|Nickname|Real Name / Email|
</xsl:text> + <xsl:text>|--------|-----------------|
</xsl:text> <xsl:apply-templates/> </xsl:template> <xsl:template match="tmw-legacy"> - <xsl:text>^ The Mana World Legacy Contributors ^^
</xsl:text> - <xsl:text>^ Nickname ^ Real Name / Email ^ Link ^
</xsl:text> + <xsl:text>
</xsl:text> + <xsl:text># The Mana World Legacy Contributors
</xsl:text> + <xsl:text>|Nickname|Real Name / Email|
</xsl:text> + <xsl:text>|--------|-----------------|
</xsl:text> <xsl:apply-templates/> </xsl:template> <xsl:template match="tmw-ufb"> - <xsl:text>^ Unknown Flying Bullet Contributors ^^
</xsl:text> - <xsl:text>^ Nickname ^ Real Name / Email ^ Link ^
</xsl:text> + <xsl:text>
</xsl:text> + <xsl:text># Unknown Flying Bullet Contributors
</xsl:text> + <xsl:text>|Nickname|Real Name / Email|
</xsl:text> + <xsl:text>|--------|-----------------|
</xsl:text> <xsl:apply-templates/> </xsl:template> <xsl:template match="freesound"> - <xsl:text>^ Freesound Contributors ^^
</xsl:text> - <xsl:text>^ Nickname ^ Real Name / Email ^ Link ^
</xsl:text> + <xsl:text>
</xsl:text> + <xsl:text># Freesound Contributors
</xsl:text> + <xsl:text>|Nickname|Real Name / Email|
</xsl:text> + <xsl:text>|--------|-----------------|
</xsl:text> <xsl:apply-templates/> </xsl:template> <xsl:template match="other"> - <xsl:text>^ Related Community Contributors ^^
</xsl:text> - <xsl:text>^ Name ^ Link ^
</xsl:text> + <xsl:text>
</xsl:text> + <xsl:text># Related Community Contributors
</xsl:text> + <xsl:text>|Nickname|Real Name / Email|
</xsl:text> + <xsl:text>|--------|-----------------|
</xsl:text> <xsl:apply-templates select="community"/> </xsl:template> @@ -50,11 +68,7 @@ Copyright (C) 2016 Evol Online --> <xsl:choose> <xsl:when test="@mailid"> - <xsl:text> |[[mailto:</xsl:text> - <xsl:value-of select="@mailid"/> - <xsl:text>@</xsl:text> - <xsl:value-of select="@mailserver"/> - <xsl:text>| </xsl:text> + <xsl:text> |(</xsl:text> <xsl:choose> <xsl:when test="@name"> <xsl:value-of select="@name"/> @@ -63,7 +77,12 @@ Copyright (C) 2016 Evol Online --> <xsl:value-of select="@nick"/> </xsl:otherwise> </xsl:choose> - <xsl:text>]] |</xsl:text> + <xsl:text>)[mailto:</xsl:text> + + <xsl:value-of select="@mailid"/> + <xsl:text>@</xsl:text> + <xsl:value-of select="@mailserver"/> + <xsl:text>] |</xsl:text> </xsl:when> <xsl:otherwise> <xsl:text> |</xsl:text> @@ -78,16 +97,6 @@ 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>
</xsl:text> </xsl:template> |