Jump to content

Export Templates: Tag Names

Recommended Posts

This is either me (most likely) or a docs mismatch.


This works:

Primary: <!--STR_PRIMARY--><br/>
Secondary: <!--STR_SECONDARY--><br/>
Primary Roll: <!--PRIMARY_ROLL--><br/>
Secondary Roll: <!--SECONDARY_ROLL--><br/>

This doesn't:

STR<br/>(Not Working)<br/><br/>
Primary Roll: <!--STR_PRIMARY_ROLL--><br/>
Secondary Roll: <!--STR_SECONDARY_ROLL--><br/>

Note the lack of the "<!--STR--><!--/STR-->" non-working. But yet the "STR_" within the brackets still works???

Share this post

Link to post
Share on other sites

Have you tried


Primary: <!--STR--><!--STR_PRIMARY--><!--/STR--><br/>


Yep. I should have said the opening and closing STR tags. It's as if the program ignores the "STR_" when the main STR tags are used and when they're not it doesn't have a clue what you're asking it to do.

Share this post

Link to post
Share on other sites

Gotcha.  Thanks.


Hate to do this...is there a difference between:

[General Characteristic Tags]

[General Characteristic Tags]

[General Characteristic Tags]

[General Characteristic Tags]

and this:

OCV 1:<!--OCV--><!--OCV_PRIMARY--><!--/OCV--><br/>
OCV 2:<!--OCV--><!--OCV_PRIMARY--><!--/OCV--><br/>

DCV 1:<!--DCV--><!--PRIMARY_DCV--><!--/DCV--><br/>
DCV 2:<!--DCV--><!--SECONDARY_DCV--><!--/DCV--><br/>

Why the "_CHAR" stuck on the end? Or is there a comment buried in the code I should be pulling out to answer that <lopsided grin>?

Share this post

Link to post
Share on other sites

There's a number of things to comment on in that post, but I'll stick to the basics.

In regards to the _CHAR, it's mostly an artifact -- the program has evolved over time.  As tags were changed and merged into a common structure, old tags couldn't just be dropped.  Support had to continue in order for existing (or older) templates and formats to work.


You'd be better off (have an easier time) if you just join the characteristics into a single block.

Rather than:

DCV 1:<!--DCV--><!--PRIMARY_DCV--><!--/DCV--><br/>
DCV 2:<!--DCV--><!--SECONDARY_DCV--><!--/DCV--><br/>


DCV 1:<!--PRIMARY_DCV--><br/>
DCV 2:<!--SECONDARY_DCV--><br/>

Share this post

Link to post
Share on other sites

Artifacts got it.


Oh, and that's not a real character sheet.  It's my "test out syntax" and make sure it works the way I expect file. Essentially a "hello world" export format.


Thanks for all the help guys.  I really appreciate it.



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.