Starfinder Playlist
  1. #1
    Samarex's Avatar
    Join Date
    Sep 2015
    Location
    Philippines
    Posts
    1,029

    LIST inside a LIST , Cant figure it out

    Trying to make a list inside a list but don't seem to work the way I thought it would



    Code:
    	<h>How to Read a Racial Entry</h>
    			<p>Each major race chapter is broken into a number of entries based on ethnic group or subrace. The information presented in these entries generally follows the order described here. If a race does not have an entry for a category (such as racial feats), the header is omitted.</p>
    				<list>
    					<li><b>MAJOR RACE INFORMATION</b>The eight major races described in this book each begin with a general overview of the race’s culture, outlook, and history. Each subrace or ethnic group description contains more specific and detailed information on these topics for the specific race.</li> 							
    							
    					<li><b>RACIAL DATA</b>Each ethnic group, subrace, or minor race begins with a short set of entries offering a quick synopsis of the race’s game characteristics.
    							<list>
    								<li><b>Regions:</b>Regions in which the subrace or ethnic group is found. A character of this race or ethnicity may choose a region listed here as his or her home region, as described in the xxx Campaign Setting. In the case of a human ethnic group, any region in which the group is present as the primary or secondary population may be selected. New regions are italicized and appear at the end of the racial entry.
    (would also like this a second line in list line)Automatic and bonus languages are determined by your choice of home region</li>
    						
    								<li><b>Racial Feats:</b>Any new feats introduced in this book that are specific to the race at hand are listed here.</li>
    							
    								<li><b>Racial Prestige Classes:</b>If there are any prestige classes specifically associated with the race, these are noted here</li>
    									
    								<li><b>Level Adjustment:</b>If the race or subrace comes with a level adjustment, it is given here. If that race or subrace has racial Hit Dice (that is, a typical member of that race starts play with more than the single HD of most player character races), its effective character level is given as well, combining its level adjustment and racial Hit Dice. See page 6 for details on how level adjustments and ECL affect character level and advancement</li>
    							</list>
    							</li>
    				</list>
    <h>HISTORY</h>
    It comes out with all the "*" lined up as seen in attachment, But I was looking to get the "Regions thru Level Adjustments" to be indented more than the other list lines
    Any Help

    Using https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_lists2
    Thanks
    Samarex
    Last edited by Samarex; May 27th, 2016 at 11:39. Reason: added url

  2. #2
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,685
    Blog Entries
    1
    Fantasy Grounds supports only a limited subset of HTML syntax and formatting. I doubt this can be done the way you want to do it.

  3. #3
    Samarex's Avatar
    Join Date
    Sep 2015
    Location
    Philippines
    Posts
    1,029
    Ok Thanks for the quick responce. Will figure something else out.....

  4. #4
    Trenloe's Avatar
    Join Date
    May 2011
    Location
    Colorado, USA
    Posts
    33,410
    See the "Internal Representation" section here: https://www.fantasygrounds.com/refdo...extcontrol.xcp for what markup is supported within a formatted text control. It mentions in The <li> tag "Supports a numerical indent attribute."

    So, you can use <li ident="2"> etc.. For example (taking your XML above):

    Code:
    <h>How to Read a Racial Entry</h>
    <p>Each major race chapter is broken into a number of entries based on ethnic group or subrace. The information presented in these entries generally follows the order described here. If a race does not have an entry for a category (such as racial feats), the header is omitted.</p>
    <list>
    	<li><b>MAJOR RACE INFORMATION </b>The eight major races described in this book each begin with a general overview of the race's culture, outlook, and history. Each subrace or ethnic group description contains more specific and detailed information on these topics for the specific race.</li>
    	<li><b>RACIAL DATA </b>Each ethnic group, subrace, or minor race begins with a short set of entries offering a quick synopsis of the race's game characteristics.</li>
    	<li indent="1"><b>Regions: </b>Regions in which the subrace or ethnic group is found. A character of this race or ethnicity may choose a region listed here as his or her home region, as described in the xxx Campaign Setting. In the case of a human ethnic group, any region in which the group is present as the primary or secondary population may be selected. New regions are italicized and appear at the end of the racial entry. (would also like this a second line in list line)Automatic and bonus languages are determined by your choice of home region</li>
    	<li  indent="2"><b>Racial Feats: </b>Any new feats introduced in this book that are specific to the race at hand are listed here.</li>
    	<li  indent="3"><b>Racial Prestige Classes: </b>If there are any prestige classes specifically associated with the race, these are noted here</li>
    	<li  indent="4"><b>Level Adjustment: </b>If the race or subrace comes with a level adjustment, it is given here. If that race or subrace has racial Hit Dice (that is, a typical member of that race starts play with more than the single HD of most player character races), its effective character level is given as well, combining its level adjustment and racial Hit Dice. See page 6 for details on how level adjustments and ECL affect character level and advancement</li>
    </list>
    <h>HISTORY</h>
    Gives:

    Attachment 14189

    Note that indent="1" is the default (i.e. the same as if there is no "indent" attribute) and that you can't change the bullet, just the indentation.
    Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!

  5. #5
    leozelig's Avatar
    Join Date
    Jun 2007
    Location
    Eastern USA
    Posts
    1,856
    Blog Entries
    1
    Well, there is a little bit of a back-door way to get two levels of list bullets... Use the ISO-8859 symbol code for middle dot (ampersand-pound-183-semicolon) to create the first level, then follow with a list for the second level. The dot items will be double-spaced, and the list items will be single-spaced, but it might be better than nothing.





    Edit: Looks like Trenloe's got you covered!
    Last edited by leozelig; May 27th, 2016 at 15:29.

  6. #6
    Samarex's Avatar
    Join Date
    Sep 2015
    Location
    Philippines
    Posts
    1,029
    Quote Originally Posted by Trenloe View Post
    See the "Internal Representation" section here: https://www.fantasygrounds.com/refdo...extcontrol.xcp for what markup is supported within a formatted text control. It mentions in The <li> tag "Supports a numerical indent attribute."

    So, you can use <li ident="2"> etc.. For example (taking your XML above):

    Code:
    <h>How to Read a Racial Entry</h>
    <p>Each major race chapter is broken into a number of entries based on ethnic group or subrace. The information presented in these entries generally follows the order described here. If a race does not have an entry for a category (such as racial feats), the header is omitted.</p>
    <list>
    	<li><b>MAJOR RACE INFORMATION </b>The eight major races described in this book each begin with a general overview of the race's culture, outlook, and history. Each subrace or ethnic group description contains more specific and detailed information on these topics for the specific race.</li>
    	<li><b>RACIAL DATA </b>Each ethnic group, subrace, or minor race begins with a short set of entries offering a quick synopsis of the race's game characteristics.</li>
    	<li indent="1"><b>Regions: </b>Regions in which the subrace or ethnic group is found. A character of this race or ethnicity may choose a region listed here as his or her home region, as described in the xxx Campaign Setting. In the case of a human ethnic group, any region in which the group is present as the primary or secondary population may be selected. New regions are italicized and appear at the end of the racial entry. (would also like this a second line in list line)Automatic and bonus languages are determined by your choice of home region</li>
    	<li  indent="2"><b>Racial Feats: </b>Any new feats introduced in this book that are specific to the race at hand are listed here.</li>
    	<li  indent="3"><b>Racial Prestige Classes: </b>If there are any prestige classes specifically associated with the race, these are noted here</li>
    	<li  indent="4"><b>Level Adjustment: </b>If the race or subrace comes with a level adjustment, it is given here. If that race or subrace has racial Hit Dice (that is, a typical member of that race starts play with more than the single HD of most player character races), its effective character level is given as well, combining its level adjustment and racial Hit Dice. See page 6 for details on how level adjustments and ECL affect character level and advancement</li>
    </list>
    <h>HISTORY</h>
    Gives:

    Attachment 14189

    Note that indent="1" is the default (i.e. the same as if there is no "indent" attribute) and that you can't change the bullet, just the indentation.
    Thank You Trenloe, That Works Perfect...........

  7. #7
    damned's Avatar
    Join Date
    Mar 2011
    Location
    Australia
    Posts
    26,685
    Blog Entries
    1
    Nice!

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