View difference between Paste ID: Z7mEM4RF and avBdukbd
SHOW: | | - or go back to the newest paste.
1-
|%FOLLOWERTYPE.FAMILIAR|
1+
<xsl:if test="string-length(portrait/portrait) &gt; 0">	
2-
|FOR,%companion,0,COUNT[FOLLOWERTYPE.FAMILIAR]-1,1,0|
2+
						<fo:table-cell/>
3-
		<familiar>
3+
						<fo:table-cell number-rows-spanned="6">
4-
			<!-- Note that only one familiar is allowed, so no support for multiple familiars 
4+
							<xsl:call-template name="attrib">
5-
			New: 4/8/2010 - Added Support for multiple Familiars-->
5+
								<xsl:with-param name="attribute" select="'picture'"/>
6-
			<name>|FOLLOWERTYPE.FAMILIAR.%companion.NAME|</name>
6+
							</xsl:call-template>
7-
			<race>|FOLLOWERTYPE.FAMILIAR.%companion.RACE|</race>
7+
							<fo:block>
8-
			<hp>|FOLLOWERTYPE.FAMILIAR.%companion.HP|</hp>
8+
								<xsl:variable name="portrait_file" select="portrait/portrait_thumb"/>
9-
			<ac>|FOLLOWERTYPE.FAMILIAR.%companion.BONUS.COMBAT.AC.TOTAL|</ac>
9+
								<fo:external-graphic src="file:{$portrait_file}">
10-
			<fortitude>|FOLLOWERTYPE.FAMILIAR.%companion.CHECK.FORTITUDE.TOTAL|</fortitude>
10+
									<xsl:attribute name="column-width"><xsl:value-of select="($pagePrintableWidth - 14) div 8" />mm</xsl:attribute>
11-
			<reflex>|FOLLOWERTYPE.FAMILIAR.%companion.CHECK.REFLEX.TOTAL|</reflex>
11+
								</fo:external-graphic>
12-
			<will>|FOLLOWERTYPE.FAMILIAR.%companion.CHECK.WILL.TOTAL|</will>
12+
							</fo:block>
13-
			<initiative_mod>|FOLLOWERTYPE.FAMILIAR.%companion.INITIATIVEMOD|</initiative_mod>
13+
						</fo:table-cell>
14-
			<special_properties>|FOLLOWERTYPE.FAMILIAR.%companion.SPECIALLIST|</special_properties>
14+
					</xsl:if>