forked from PCGen/pcgen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aee25c4
commit 332320f
Showing
143 changed files
with
216,736 additions
and
216,736 deletions.
There are no files selected for viewing
900 changes: 450 additions & 450 deletions
900
outputsheets/d20/fantasy/pdf/fantasy_master_common_companion_box.xslt
Large diffs are not rendered by default.
Oops, something went wrong.
896 changes: 448 additions & 448 deletions
896
outputsheets/d20/fantasy/pdf/fantasy_master_no_header.xslt
Large diffs are not rendered by default.
Oops, something went wrong.
608 changes: 304 additions & 304 deletions
608
outputsheets/d20/fantasy/pdf/fantasy_master_spell_list_only.xslt
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,125 +1,125 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xsl:stylesheet | ||
version="1.0" | ||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
> | ||
|
||
<xsl:variable name="pageHeight"> | ||
<xsl:choose> | ||
<xsl:when test="contains(/character/export/paperinfo/height, 'in')"> | ||
<xsl:value-of select="25.4 * substring-before(/character/export/paperinfo/height, 'in')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/height, 'cm')"> | ||
<xsl:value-of select="10 * substring-before(/character/export/paperinfo/height, 'cm')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/height, 'mm')"> | ||
<xsl:value-of select="substring-before(/character/export/paperinfo/height, 'mm')"/> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<xsl:choose> | ||
<xsl:when test="contains(/character/export/paperinfo/name, 'Letter')"> | ||
<xsl:value-of select="25.4 * 11.0"/> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<xsl:value-of select="297"/> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
</xsl:variable> | ||
<xsl:variable name="pageWidth"> | ||
<xsl:choose> | ||
<xsl:when test="contains(/character/export/paperinfo/width, 'in')"> | ||
<xsl:value-of select="25.4 * substring-before(/character/export/paperinfo/width, 'in')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/width, 'cm')"> | ||
<xsl:value-of select="10 * substring-before(/character/export/paperinfo/width, 'cm')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/width, 'mm')"> | ||
<xsl:value-of select="substring-before(/character/export/paperinfo/width, 'mm')"/> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<xsl:choose> | ||
<xsl:when test="contains(/character/export/paperinfo/name, 'Letter')"> | ||
<xsl:value-of select="25.4 * 8.5"/> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<xsl:value-of select="210"/> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
</xsl:variable> | ||
<xsl:variable name="pageMarginTop"> | ||
<xsl:choose> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/top, 'in')"> | ||
<xsl:value-of select="25.4 * substring-before(/character/export/paperinfo/margins/top, 'in')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/top, 'cm')"> | ||
<xsl:value-of select="10 * substring-before(/character/export/paperinfo/margins/top, 'cm')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/top, 'mm')"> | ||
<xsl:value-of select="substring-before(/character/export/paperinfo/margins/top, 'mm')"/> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<xsl:value-of select="10"/> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
</xsl:variable> | ||
<xsl:variable name="pageMarginBottom"> | ||
<xsl:choose> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/bottom, 'in')"> | ||
<xsl:value-of select="25.4 * substring-before(/character/export/paperinfo/margins/bottom, 'in')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/bottom, 'cm')"> | ||
<xsl:value-of select="10 * substring-before(/character/export/paperinfo/margins/bottom, 'cm')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/bottom, 'mm')"> | ||
<xsl:value-of select="substring-before(/character/export/paperinfo/margins/bottom, 'mm')"/> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<xsl:value-of select="10"/> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
</xsl:variable> | ||
<xsl:variable name="pageMarginLeft"> | ||
<xsl:choose> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/left, 'in')"> | ||
<xsl:value-of select="25.4 * substring-before(/character/export/paperinfo/margins/left, 'in')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/left, 'cm')"> | ||
<xsl:value-of select="10 * substring-before(/character/export/paperinfo/margins/left, 'cm')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/left, 'mm')"> | ||
<xsl:value-of select="substring-before(/character/export/paperinfo/margins/left, 'mm')"/> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<xsl:value-of select="10"/> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
</xsl:variable> | ||
<xsl:variable name="pageMarginRight"> | ||
<xsl:choose> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/right, 'in')"> | ||
<xsl:value-of select="25.4 * substring-before(/character/export/paperinfo/margins/right, 'in')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/right, 'cm')"> | ||
<xsl:value-of select="10 * substring-before(/character/export/paperinfo/margins/right, 'cm')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/right, 'mm')"> | ||
<xsl:value-of select="substring-before(/character/export/paperinfo/margins/right, 'mm')"/> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<xsl:value-of select="10"/> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
</xsl:variable> | ||
<xsl:variable name="pagePrintableWidth"> | ||
<xsl:value-of select="($pageWidth - $pageMarginLeft - $pageMarginRight)"/> | ||
</xsl:variable> | ||
<xsl:variable name="pagePrintableHeight"> | ||
<xsl:value-of select="($pageHeight - $pageMarginTop - $pageMarginBottom)"/> | ||
</xsl:variable> | ||
|
||
</xsl:stylesheet> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xsl:stylesheet | ||
version="1.0" | ||
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | ||
> | ||
|
||
<xsl:variable name="pageHeight"> | ||
<xsl:choose> | ||
<xsl:when test="contains(/character/export/paperinfo/height, 'in')"> | ||
<xsl:value-of select="25.4 * substring-before(/character/export/paperinfo/height, 'in')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/height, 'cm')"> | ||
<xsl:value-of select="10 * substring-before(/character/export/paperinfo/height, 'cm')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/height, 'mm')"> | ||
<xsl:value-of select="substring-before(/character/export/paperinfo/height, 'mm')"/> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<xsl:choose> | ||
<xsl:when test="contains(/character/export/paperinfo/name, 'Letter')"> | ||
<xsl:value-of select="25.4 * 11.0"/> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<xsl:value-of select="297"/> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
</xsl:variable> | ||
<xsl:variable name="pageWidth"> | ||
<xsl:choose> | ||
<xsl:when test="contains(/character/export/paperinfo/width, 'in')"> | ||
<xsl:value-of select="25.4 * substring-before(/character/export/paperinfo/width, 'in')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/width, 'cm')"> | ||
<xsl:value-of select="10 * substring-before(/character/export/paperinfo/width, 'cm')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/width, 'mm')"> | ||
<xsl:value-of select="substring-before(/character/export/paperinfo/width, 'mm')"/> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<xsl:choose> | ||
<xsl:when test="contains(/character/export/paperinfo/name, 'Letter')"> | ||
<xsl:value-of select="25.4 * 8.5"/> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<xsl:value-of select="210"/> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
</xsl:variable> | ||
<xsl:variable name="pageMarginTop"> | ||
<xsl:choose> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/top, 'in')"> | ||
<xsl:value-of select="25.4 * substring-before(/character/export/paperinfo/margins/top, 'in')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/top, 'cm')"> | ||
<xsl:value-of select="10 * substring-before(/character/export/paperinfo/margins/top, 'cm')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/top, 'mm')"> | ||
<xsl:value-of select="substring-before(/character/export/paperinfo/margins/top, 'mm')"/> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<xsl:value-of select="10"/> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
</xsl:variable> | ||
<xsl:variable name="pageMarginBottom"> | ||
<xsl:choose> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/bottom, 'in')"> | ||
<xsl:value-of select="25.4 * substring-before(/character/export/paperinfo/margins/bottom, 'in')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/bottom, 'cm')"> | ||
<xsl:value-of select="10 * substring-before(/character/export/paperinfo/margins/bottom, 'cm')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/bottom, 'mm')"> | ||
<xsl:value-of select="substring-before(/character/export/paperinfo/margins/bottom, 'mm')"/> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<xsl:value-of select="10"/> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
</xsl:variable> | ||
<xsl:variable name="pageMarginLeft"> | ||
<xsl:choose> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/left, 'in')"> | ||
<xsl:value-of select="25.4 * substring-before(/character/export/paperinfo/margins/left, 'in')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/left, 'cm')"> | ||
<xsl:value-of select="10 * substring-before(/character/export/paperinfo/margins/left, 'cm')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/left, 'mm')"> | ||
<xsl:value-of select="substring-before(/character/export/paperinfo/margins/left, 'mm')"/> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<xsl:value-of select="10"/> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
</xsl:variable> | ||
<xsl:variable name="pageMarginRight"> | ||
<xsl:choose> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/right, 'in')"> | ||
<xsl:value-of select="25.4 * substring-before(/character/export/paperinfo/margins/right, 'in')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/right, 'cm')"> | ||
<xsl:value-of select="10 * substring-before(/character/export/paperinfo/margins/right, 'cm')"/> | ||
</xsl:when> | ||
<xsl:when test="contains(/character/export/paperinfo/margins/right, 'mm')"> | ||
<xsl:value-of select="substring-before(/character/export/paperinfo/margins/right, 'mm')"/> | ||
</xsl:when> | ||
<xsl:otherwise> | ||
<xsl:value-of select="10"/> | ||
</xsl:otherwise> | ||
</xsl:choose> | ||
</xsl:variable> | ||
<xsl:variable name="pagePrintableWidth"> | ||
<xsl:value-of select="($pageWidth - $pageMarginLeft - $pageMarginRight)"/> | ||
</xsl:variable> | ||
<xsl:variable name="pagePrintableHeight"> | ||
<xsl:value-of select="($pageHeight - $pageMarginTop - $pageMarginBottom)"/> | ||
</xsl:variable> | ||
|
||
</xsl:stylesheet> | ||
|
48 changes: 24 additions & 24 deletions
48
outputsheets/d20/fantasy/text/csheet_campaign_history.TXT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
Name: |NAME| | ||
Race: |RACE| | ||
Player: |PLAYERNAME| | ||
------------------------ Description ----------------------- | ||
Height: |HEIGHT||FOR.1,((18-STRLEN[HEIGHT])).INTVAL,18, ,NONE,NONE,1|Weight: |WEIGHT||FOR.1,((24-STRLEN[WEIGHT])).INTVAL,24, ,NONE,NONE,1|Gender: |GENDER.LONG| | ||
Eyes: |COLOR.EYE||FOR.1,((18-STRLEN[HEIGHT])).INTVAL,18, ,NONE,NONE,1|Hair: |COLOR.HAIR|,|LENGTH.HAIR||FOR.1,((24-STRLEN[COLOR.HAIR])-STRLEN[LENGTH.HAIR]).INTVAL,24, ,NONE,NONE,1|Skin: |COLOR.SKIN| | ||
Dominant Hand: |HANDED||FOR.1,((11-STRLEN[HEIGHT])).INTVAL,11, ,NONE,NONE,1|Quirks: |PERSONALITY1|, |PERSONALITY2| | ||
Quotes: |CATCHPHRASE| | ||
Full Description | ||
|DESC| | ||
Background | ||
|BIO| | ||
Campaign Logs | ||
|FOR,%catcamp,0,COUNT("CAMPAIGNHISTORY","EXPORT=YES")-1,1,0| | ||
|BR|=========================================================|BR| | ||
Adventure #%catcamp: |CAMPAIGNHISTORY.VISIBLE.%catcamp.ADVENTURE| Date: |CAMPAIGNHISTORY.VISIBLE.%catcamp.DATE| | ||
Party Members: |CAMPAIGNHISTORY.VISIBLE.%catcamp.PARTY| | ||
--------------------------------------------------------- | ||
|CAMPAIGNHISTORY.VISIBLE.%catcamp.TEXT| | ||
|
||
Name: |NAME| | ||
Race: |RACE| | ||
Player: |PLAYERNAME| | ||
|
||
------------------------ Description ----------------------- | ||
Height: |HEIGHT||FOR.1,((18-STRLEN[HEIGHT])).INTVAL,18, ,NONE,NONE,1|Weight: |WEIGHT||FOR.1,((24-STRLEN[WEIGHT])).INTVAL,24, ,NONE,NONE,1|Gender: |GENDER.LONG| | ||
Eyes: |COLOR.EYE||FOR.1,((18-STRLEN[HEIGHT])).INTVAL,18, ,NONE,NONE,1|Hair: |COLOR.HAIR|,|LENGTH.HAIR||FOR.1,((24-STRLEN[COLOR.HAIR])-STRLEN[LENGTH.HAIR]).INTVAL,24, ,NONE,NONE,1|Skin: |COLOR.SKIN| | ||
Dominant Hand: |HANDED||FOR.1,((11-STRLEN[HEIGHT])).INTVAL,11, ,NONE,NONE,1|Quirks: |PERSONALITY1|, |PERSONALITY2| | ||
Quotes: |CATCHPHRASE| | ||
|
||
Full Description | ||
|DESC| | ||
|
||
Background | ||
|BIO| | ||
|
||
Campaign Logs | ||
|FOR,%catcamp,0,COUNT("CAMPAIGNHISTORY","EXPORT=YES")-1,1,0| | ||
|BR|=========================================================|BR| | ||
Adventure #%catcamp: |CAMPAIGNHISTORY.VISIBLE.%catcamp.ADVENTURE| Date: |CAMPAIGNHISTORY.VISIBLE.%catcamp.DATE| | ||
Party Members: |CAMPAIGNHISTORY.VISIBLE.%catcamp.PARTY| | ||
--------------------------------------------------------- | ||
|CAMPAIGNHISTORY.VISIBLE.%catcamp.TEXT| | ||
|ENDFOR| |
Oops, something went wrong.