PDA

View Full Version : Link text



JamesClay
April 19th, 2011, 20:41
I am looking for a way to but some text directly below a link. I can get the text on the page the link goes to but I would like to have the text on the same page as the link but directly below it. If any one can help I would greatly appreciate it.

Moon Wizard
April 20th, 2011, 18:22
I'm not understanding what you are asking. Perhaps, you could give us an example of what you are trying to do?

Also, try looking at the various reference module window types in the 3.5E modules (or 4E if you have used the parser).

Regards,
JPG

JamesClay
April 20th, 2011, 21:20
I am working on a personal monster manual for d20_jpg. what I want to do is to put a small description of the monster under the monster name. I have the module set up into types, then the monsters, then the different monster under that name.

I found a way using <name type="string>monster description<name> but it does not rap to the window type.

saithan
April 20th, 2011, 23:21
as i explained to you before you need to use


<linklist>
<link class="npc" recordname="node.id">monstername</link>
</linklist>

within the a field defined for formattedtext.


here is a working example (though a few stats missing but you will get the idea)
the data for the monsters is for gurps! so



<?xml version="1.0" encoding="iso-8859-1" ?>
<root version="2.0">
<library>
<monsters static="true">
<name type="string">beastiary</name>
<categoryname type="string">beasts of Valahn</categoryname>
<entries>

<id-00001>
<librarylink type="windowreference">
<class>referenceindex</class>
<recordname>..</recordname>
</librarylink>
<name type="string">Beasts of the arid lands</name>
<description type="formattedtext">
<p>
These beats live in the arid rocky plains of the sul lands
</p>
<linklist>
<link class="npc" recordname="arid.id-00002">Dire Lizard</link>
</linklist>
<p> These red scaled lizards are feared bu sul carivans as they travel in small packs of up to 4 at a time.</p>
<p></p>
<linklist>
<link class="npc" recordname="arid.id-00003">Titan Spider</link>
</linklist>
<p>The araknid is most recognizable by its Red fur like hairs. While they seem slow they should be reguaded with all coution as they are know swift killers</p>
</description>


</id-00001>

</entries>
</monsters>

</library>
<arid>
<id-00002>

<attacks type="string">Bite (16):[thrust 1d+2 imp; C]\rTail Whip (13):[swing 1d cr; 1,2]</attacks>
<block type="number">0</block>
<dexterity type="number">14</dexterity>
<dodge type="number">12</dodge>
<dr_torso type="string">2</dr_torso>
<fps type="number">20</fps>
<health type="number">20</health>
<hps type="number">20</hps>
<intelligence type="number">3</intelligence>
<move type="string">9</move>
<name type="string">Dire Lizzard</name>
<notes type="string">any wound over 4 roll HT for infection</notes>
<parry type="number">9</parry>
<perception type="number">10</perception>
<size_modifier type="string">+2</size_modifier>
<skills type="string">Brawl 13</skills>
<speed type="string">9</speed>
<strength type="number">18</strength>
<token type="token"></token>
<will type="number">16</will>
<ranged type="string"> </ranged>

</id-00002>
<id-00003>
<attacks type="string">Fangs (16):[thrust 1d imp; C]</attacks>
<block type="number">0</block>
<dexterity type="number">14</dexterity>
<dodge type="number">9</dodge>
<dr_torso type="string">2</dr_torso>
<fps type="number">12</fps>
<health type="number">12</health>
<hps type="number">30</hps>
<intelligence type="number">8</intelligence>
<move type="string">5</move>
<name type="string">Titan Spider (queen)</name>
<parry type="number">11</parry>
<perception type="number">12</perception>
<ranged type="string">Silk (thrown) (16): 1d-2 cr, Acc0, Range 10/10 RoF 1</ranged>
<size_modifier type="string">+1</size_modifier>
<skills type="string">Brawl DX+3 [8]\rInnate Attack (Projectile) DX+2[4]\rStealth DX+4 [12]</skills>
<speed type="string">5.5</speed>
<strength type="number">16</strength>
<token type="token"></token>
<traits type="string">Ambidexterity\rBestial\rBinding 5 (Engulfing, Jet)\rClinging\rDread (Light)\rExtra Legs (8 legs, cannot kick)\rNight Vision 3\rNo Physical Attack (arms)\rSemi-Upright\rSuper Climbing 3</traits>
<will type="number">10</will>
</id-00003>


</arid>
</root>

JamesClay
April 22nd, 2011, 01:05
saith thanks for the sample it helped a great deal. I was having a problem with the link class and that is why I could not get it to work. It is working great now