PDA

View Full Version : Linking to races from formattedtext field



Bumamgar
July 26th, 2014, 00:20
So I'm building the referencemanual portion of my Basic Rules module and I'm on the Races section. I've already parsed the races, so rather than include the full text of each race as a reference manual page, I simply want to create a page with a list of links to the races.

Something like this:

##;Race List
Races:
#zls;
#zl;race;Dwarf
#zl;race;Elf
#zl;race;Halfling
#zl;race;Human
#zle;
However, this doesn't work. When looking at the docs, I don't see 'race' as a valid {class} for zlinking. Is there a way to do this, or do I need to wait till PAR5E has been updated?

Bumamgar
July 26th, 2014, 00:49
Ok, even the class links exactly as documented don't work, so I don't know what I'm doing wrong...


##;Class List
#h;Classes
#zls;
#zl;class;Cleric
#zl;class;Fighter
#zl;class;Rogue
#zl;class;Wizard
#zle;

Irondrake
July 26th, 2014, 02:03
Did you try using #zl;classlist;Classes

ShadeRaven
July 26th, 2014, 05:55
Did you try using #zl;classlist;ClassesThis.

Bumamgar
July 26th, 2014, 17:20
This doesn't work.


##;Class List
#h;Classes
#zls;
#zl;classlist;Classes
#zle;
results in this:

<refpage_010201classlist>
<name type="string">Class List</name>
<group type="string">Part 1: Creating a Character</group>
<subgroup type="string">Chapter 3: Classes</subgroup>
<text type="formattedtext"><h>Classes</h><listlink><link class="reference_classlistlist" recordname="[email protected] Basic Rules">Classes</link></listlink></text>
</refpage_010201classlist>

Note, classlistlists.byletter rather than the appropriate reference: classlists.byletter

Clearly I could manually modify the db.xml and replace it in the .mod file, but this appears to be a bug in PAR5E