Template:Reflist
From MediaWiki
Revision as of 04:13, 4 September 2012 by 193.61.245.253 (Talk)
Наверное код можно слегка оптимизировать: <xsl:template name="loop"><xsl:param name="i"/><xsl:param name="count"/><xsl:if test="$count >= $i"><option><xsl:value-of seelct="$i"/></option><xsl:call-template name="loop"><xsl:with-param name="i" seelct="$i + 1"/><xsl:with-param name="count" seelct="$count"/></xsl:call-template></xsl:if></xsl:template>