summaryrefslogtreecommitdiff
path: root/items.xsl
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-08-10 20:21:14 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2008-08-10 20:21:14 +0000
commit7e3b597a6acf9c1b07880f5ab37ce4f8e248e8a3 (patch)
tree788a2af0019d403ec1adbf1f3fab55a8df8b738b /items.xsl
parent30702ab5b1c659f59bb5b6f17d852b61a6a4a94d (diff)
downloadclientdata-7e3b597a6acf9c1b07880f5ab37ce4f8e248e8a3.tar.gz
clientdata-7e3b597a6acf9c1b07880f5ab37ce4f8e248e8a3.tar.bz2
clientdata-7e3b597a6acf9c1b07880f5ab37ce4f8e248e8a3.tar.xz
clientdata-7e3b597a6acf9c1b07880f5ab37ce4f8e248e8a3.zip
added weapon type to xslt stylesheet
Diffstat (limited to 'items.xsl')
-rw-r--r--items.xsl9
1 files changed, 6 insertions, 3 deletions
diff --git a/items.xsl b/items.xsl
index 765709fa..4f8e3f0d 100644
--- a/items.xsl
+++ b/items.xsl
@@ -23,7 +23,7 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<img src="{$icon-dir}/{@image}"/>
</xsl:if>
</td>
- <td colspan="2">
+ <td colspan="3">
<xsl:value-of select="@name"/>
</td>
</tr>
@@ -31,14 +31,17 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<tr>
<td><strong>ID: </strong><xsl:value-of select="@id"/></td>
<td><strong>Type: </strong><xsl:value-of select="@type"/></td>
+ <xsl:if test="@weapon_type">
+ <td><strong>Skill: </strong><xsl:value-of select="@weapon-type"/></td>
+ </xsl:if>
<td><strong>Weight: </strong><xsl:value-of select="@weight"/></td>
</tr>
<tr>
- <td colspan="3"><strong>Description: </strong><xsl:value-of select="@description"/></td>
+ <td colspan="4"><strong>Description: </strong><xsl:value-of select="@description"/></td>
</tr>
<tr>
- <td colspan="3"><strong>Effect: </strong><xsl:value-of select="@effect"/></td>
+ <td colspan="4"><strong>Effect: </strong><xsl:value-of select="@effect"/></td>
</tr>
</table>
</p>