View Full Version : Story template issue - unable to hide multi column outputs
sedgetone
October 30th, 2022, 23:03
FGU 4.3
Windows 10
Core RPG
Example Module:
54928
If you load up the attached module and run 3.Multi Column Table Generator story template, you'll notice you get the complete table output in place of where the hidden roll should happen.
Simon
Moon Wizard
October 31st, 2022, 01:52
I've forwarded to @JimSocks who is the community developer who wrote the story template code.
Regards,
JPG
Zacchaeus
October 31st, 2022, 10:43
See this thread here which discusses a similar question https://www.fantasygrounds.com/forums/showthread.php?75103-Story-Template-Output-Troubles&highlight=Story+Template
sedgetone
October 31st, 2022, 10:55
See this thread here which discusses a similar question https://www.fantasygrounds.com/forums/showthread.php?75103-Story-Template-Output-Troubles&highlight=Story+Template
This is a lot more simple, the basic fact that you can't hide the output of a multi column table. That did work in the past.
JimSocks
November 2nd, 2022, 02:56
So, you are correct this should work. Good bug find!
Quick fix: custom name the parent table callout.
[:?Multi Column Table:CustomName]
Coin Flip: #CustomName|1#
Items: #CustomName|2#
This works as intended, while I look into the issue.
ALSO of note: You can hide the links and table names in the output by putting the following in the table text with the links: |Hide After| -or- |Hide Before|
It's a neat extra feature!
sedgetone
November 2nd, 2022, 11:46
Can you show me an example of what you mean with the hide examples please, not sure I follow?
sedgetone
November 2nd, 2022, 17:06
@JimSocks ignore me, I worked out what you mean with the before and after. Using the rename helps but I'm getting issues where the template sometimes doesn't seem to generate any data. Here's a screenshot from Mutant Year Zero that the amazing Damned has put together. The template is calling the Sector Environment table and then doing some basic formatting in a story record.
54966
If I do a /rollon Sector Environment and step through explicitly entering 1-70 or rolling d60+d6 multiple times I get a cleanly generated output to chat; so it seems to be something to do with it being called via Story Templates. Any idea on how I can debug what's happening on this? The ruleset does use a couple of custom dice: D600 + D60. Could it be that the Story Template is having issues working with these dice?
dbachen
November 8th, 2022, 02:51
So, you are correct this should work. Good bug find!
Quick fix: custom name the parent table callout.
This works as intended, while I look into the issue.
ALSO of note: You can hide the links and table names in the output by putting the following in the table text with the links: |Hide After| -or- |Hide Before|
It's a neat extra feature!
I was having the same issue with the multi-column hidden table showing all results, and the custom name work-around will work for now until you get this fixed.
Once thing that I noticed though was the while the hidden table didn't show any text output, it does output a <BR> which puts an empty line in the story template.. in my case, I was able to "hide" it at the end of some extra text, but if it's on a line by itself, it will generate a blank line. I'd like to see the line break suppressed if it's hidden.
Maybe we can get that |Hide After| added to the wiki with an example?
JimSocks
November 8th, 2022, 12:05
The line break for a hidden table isn’t going away, but you can put it anywhere in your template, so you can use it as a regular line break somewhere or part of a double spaced area between paragraphs/sections.
For |Hide Before|, you only need it once in the row of table results, or hierarchy of table results, for it to work. Having it multiple times might be causing an issue.
As you did at the beginning, sharing a mod is the easiest way for me to test the issue
Powered by vBulletin® Version 4.2.1 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.