TheUnderground Posted March 9, 2023 Report Share Posted March 9, 2023 (edited) Hi! I have an export template where I changed this: <table class="Container"> <!--IF_BACKGROUND--> <tr> <td class="CharacterNotesLabel">Background:</td> </tr> <tr> <td class="CharacterNotesContent"><!--BACKGROUND--></td> </tr> <!--/IF_BACKGROUND--> <!--IF_PERSONALITY--> <tr> <td class="CharacterNotesLabel">Personality:</td> </tr> <tr> <td class="CharacterNotesContent"><!--PERSONALITY--></td> </tr> <!--/IF_PERSONALITY--> <!--IF_TACTICS--> <tr> <td class="CharacterNotesLabel">Powers/Tactics:</td> </tr> <tr> <td class="CharacterNotesContent"><!--TACTICS--></td> </tr> <!--/IF_TACTICS--> <!--IF_CAMPAIGN_USE--> <tr> <td class="CharacterNotesLabel">Campaign Use:</td> </tr> <tr> <td class="CharacterNotesContent"><!--CAMPAIGN_USE--></td> </tr> <!--/IF_CAMPAIGN_USE--> <!--IF_APPEARANCE--> <tr> <td class="CharacterNotesLabel">Appearance:</td> </tr> <tr> <td class="CharacterNotesContent"><!--APPEARANCE--></td> </tr> <!--/IF_APPEARANCE--> </table> into this: <div class="CharacterNotes"> <p class="Title">Character Notes</p> <!--IF_IMAGE--> <img src="<!--IMAGE_RELATIVE_URL-->" class="CharacterPicture"></img> <!--/IF_IMAGE--> <!--IF_BACKGROUND--> <div class="CharacterNotesContainer"> <div class="CharacterNotesLabel">Background:</div> <div class="CharacterNotesContent"><!--BACKGROUND--></div> </div> <!--/IF_BACKGROUND--> <!--IF_PERSONALITY--> <div class="CharacterNotesContainer"> <div class="CharacterNotesLabel">Personality:</div> <div class="CharacterNotesContent"><!--PERSONALITY--></div> </div> <!--/IF_PERSONALITY--> <!--IF_TACTICS--> <div class="CharacterNotesContainer"> <div class="CharacterNotesLabel">Powers/Tactics:</div> <div class="CharacterNotesContent"><!--TACTICS--></div> </div> <!--/IF_TACTICS--> <!--IF_CAMPAIGN_USE--> <div class="CharacterNotesContainer"> <div class="CharacterNotesLabel">Campaign Use:</div> <div class="CharacterNotesContent"><!--CAMPAIGN_USE--></div> </div> <!--/IF_CAMPAIGN_USE---> <!--IF_APPEARANCE---> <div class="CharacterNotesContainer"> <div class="CharacterNotesLabel">Appearance:</div> <div class="CharacterNotesContent"><!--APPEARANCE--></div> </div> <!--/IF_APPEARANCE---> </div> Previously, it worked. Now the content is coming out like this: <div class="CharacterNotes"> <p class="Title">Character Notes</p> <img src="picture.png" class="CharacterPicture"></img> <div class="CharacterNotesContainer"> <div class="CharacterNotesLabel">Background:</div> <div class="CharacterNotesContent">background text</div> </div> <div class="CharacterNotesContainer"> <div class="CharacterNotesLabel">Personality:</div> <div class="CharacterNotesContent">personality text</div> </div> <div class="CharacterNotesContainer"> <div class="CharacterNotesLabel">Powers/Tactics:</div> <div class="CharacterNotesContent">powers text</div> </div> <!--IF_CAMPAIGN_USE--> <div class="CharacterNotesContainer"> <div class="CharacterNotesLabel">Campaign Use:</div> <div class="CharacterNotesContent"></div> </div> <!--/IF_CAMPAIGN_USE---> <!--IF_APPEARANCE---> <div class="CharacterNotesContainer"> <div class="CharacterNotesLabel">Appearance:</div> <div class="CharacterNotesContent">appearance text</div> </div><!--/IF_APPEARANCE---> </div> And it's not respecting the conditionals. Any idea what I'm doing wrong? Thanks! Edited March 9, 2023 by TheUnderground Quote Link to comment Share on other sites More sharing options...
Simon Posted March 9, 2023 Report Share Posted March 9, 2023 Look carefully at the tags that aren't working: you have three “-” characters at the end of /IF_CAMPAIGN_USE and in the opening and closing tags of IF_APPEARANCE TheUnderground 1 Quote Link to comment Share on other sites More sharing options...
bluesguy Posted March 9, 2023 Report Share Posted March 9, 2023 7 hours ago, Simon said: Look carefully at the tags that aren't working: you have three “-” characters at the end of /IF_CAMPAIGN_USE and in the opening and closing tags of IF_APPEARANCE It is always the little things that get you 🙂 TheUnderground 1 Quote Link to comment Share on other sites More sharing options...
TheUnderground Posted March 10, 2023 Author Report Share Posted March 10, 2023 Thank you, that fixed it! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.