STAR TREK 2d20
Page 3 of 3 First 123
  1. #21
    Myrdin Potter's Avatar
    Join Date
    Oct 2015
    Location
    East Bay, SF
    Posts
    1,978
    Blog Entries
    4
    Or a template for N++ where you could select text and choose from a variety of formatting options.

    I am sure once you do a few within XML it is more natural, but I am old enough to remember hand coding HTML and I hated that then and I feel the same trying to figure out what tags to use for a reference manual.
    Ultimate License. Running Hyperborea and CoC. Asks lots of questions. Mgpotter.com. PureVPN is a tested solution to run games when traveling. https://billing.purevpn.com/aff.php?aff=33044

  2. #22
    Myrdin Potter's Avatar
    Join Date
    Oct 2015
    Location
    East Bay, SF
    Posts
    1,978
    Blog Entries
    4
    I want to make sure I have the right section.

    <referencemanual>
    <!-- This section contains the heading tree that appears on the left side of the reference
    manual window. Subchapters are required. -->
    <chapters>
    <!-- #Duplicate this section of code for each chapter in the manual -->
    <xxChapter>
    <name type="string">xxChapterName</name>
    <subchapters>
    <!-- #Duplicate this section of code for each subchapter in the chapter -->
    <xxSubchapter>
    <name type="string">xxSubchapterName</name>
    <refpages>
    <!-- #Duplicate this section of code for each page in the subchapter -->
    <xxPage>
    <listlink type="windowreference">
    <class>reference_manualtextwide</class>
    <recordname>reference.referencemanual.xxPage</recordname>
    </listlink>
    <name type="string">xxPageName</name>
    <!-- #Place a list of keywords here to allow the page to be included
    when users activate the manual filter -->
    <keywords type="string">xxKeyword xxKeyword</keywords>
    </xxPage>
    </refpages>
    </xxSubchapter>
    </subchapters>
    </xxChapter>
    </chapters>
    </referencemanual>

    That is it? The entire "reference manual" section of the template?
    Ultimate License. Running Hyperborea and CoC. Asks lots of questions. Mgpotter.com. PureVPN is a tested solution to run games when traveling. https://billing.purevpn.com/aff.php?aff=33044

  3. #23
    Zacchaeus's Avatar
    Join Date
    Dec 2014
    Location
    Scotland
    Posts
    20,825
    That's just the section which produces the list of chapters/subchapters that you see in the library. The actual page structure is found further up between the <reference></reference> tags in the <referencemanual><referencemanual> tags
    If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php

  4. #24
    There are three sections that make up a reference manual. I highlighted them green in the image I posted previously.
    I never claimed to be sane. Besides, it's more fun this way.

  5. #25
    Myrdin Potter's Avatar
    Join Date
    Oct 2015
    Location
    East Bay, SF
    Posts
    1,978
    Blog Entries
    4
    https://www.fantasygrounds.com/forum...manuals-in-XML

    Started new thread as to not add too much in this one not related to the .mod

    This as well, then:

    <referencemanual>
    <!-- #Duplicate this section of code for each page in the reference manual -->
    <xxPage>
    <name type="string">xxPageName</name>
    <!-- #This text can be used as the only text of the page or as text preceding the list
    of blocks -->
    <text type="formattedtext">xxText</text>
    <!-- The page of a reference manual consists of a sequence of blocks that are displayed
    vertically. Each block can contain a mix of text, image, tokens, or icons, depending
    on the type of block. You can place the blocks in any order you want. -->
    <blocks>
    <!-- #Duplicate the sections of code for each block you wish to add -->
    <!-- Simple Text Block -->
    <xxBlockName1>
    <blocktype type="string">text</blocktype>
    <text type="formattedtext"><p>xxText</p></text>
    <!-- Possible frame styles: 'blue', 'brown', 'green', 'pink', 'picture', 'page',
    'sidebar', 'text 1', 'text2', 'text3', 'text4', 'text5' -->
    <frame type="string">xxFrame</frame>
    </xxBlockName1>
    <!-- Two-Column Text Block -->
    <xxBlockName2>
    <blocktype type="string">text</blocktype>
    <align type="string">left,right</align>
    <text type="formattedtext"><p>xxText</p></text>
    <text2 type="formattedtext"><p>xxText</p></text2>
    </xxBlockName2>
    <!-- Image Block -->
    <xxBlockName3>
    <blocktype type="string">image</blocktype>
    <size type="string">138,242</size>
    <!-- #Images should be put into a folder called 'images' and placed inside the module;
    change this entry to the name of the image file used -->
    <image type="image"><bitmap>images/blackmage.jpg</bitmap></image>
    <caption type="string">xxCaption</caption>
    </xxBlockName3>
    <!-- Text and Image Block -->
    <xxBlockName4>
    <blocktype type="string">image</blocktype>
    <align type="string">left,right</align>
    <size type="string">138,242</size>
    <image type="image"><bitmap>images/blackmage.jpg</bitmap></image>
    <caption type="string">xxCaption</caption>
    <text type="formattedtext"><p>xxText</p></text>
    </xxBlockName4>
    <!-- Icon Block -->
    <xxBlockName5>
    <blocktype type="string">icon</blocktype>
    <size type="string">xxWidth,xxHeight</size>
    <icon type="string">xxIconName</icon>
    </xxBlockName5>
    </blocks>
    </xxPage>
    </referencemanual>

    and I can make a file without all the extra and only copy it in if needed.

    Ok, I will see if I can make one page of text and then start a new tread when I run into issues (which I know I will).
    Last edited by Myrdin Potter; September 3rd, 2017 at 21:35.
    Ultimate License. Running Hyperborea and CoC. Asks lots of questions. Mgpotter.com. PureVPN is a tested solution to run games when traveling. https://billing.purevpn.com/aff.php?aff=33044

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
5E Product Walkthrough Playlist

Log in

Log in