Wow, THANK YOU, JED!! :D

After following your instructions, (and your own tiddlyspot, bookmarked!) I 
managed to create a "Toolbox" tiddly, which currently contains a "Create 
New NPC" button. The fields like to arrange themselves in alphabetical 
order, which would get confusing, so I got around that by renaming the stat 
fields to "01agility, 02smarts"etc...
Lastly, I added a detailed Bio tab, and an empty tab labeled "Close", so I 
can shrink the tiddly if I need to without closing it. I'm beginning to 
feel the power! :)

After merging a bunch of cells so each entry in the table doesn't extend 
vertically, I dare say it's near-perfect and entirely usable! I can finally 
start working on my campaign instead of fiddling with the software. 

Thank you so much for your help and the links to the excellent resources!

Is your conditional view template idea sort of like a table of contents? I 
followed a tutorial to make a basic ToC menu on the right side, but I'll 
still look into these anyway. :)

Seriously, I can't thank you enough for taking the time and helping me over 
a huge hurdle. Thanks to you, I also understand fields a lot better as well!



On Monday, April 3, 2017 at 6:53:14 AM UTC-7, Jed Carty wrote:
>
> I have actually made exactly this in the past, but nothing that could be 
> shared unfortunately.
>
> The way you want to do this is to make a single template for how you want 
> everything displayed in a tiddler and then transclude that into the tiddler 
> where you want it displayed.
>
> For the stats block in particular you would make a tiddler called 
> StatsBlockTemplate (or whatever you want to name it) with something like 
> this in the text field:
>
> !!!''STATS:''
> |Name:  {{!!name}} |h
> |''Attributes:'' |Agility: {{!!agility}} | Smarts: {{!!smarts}} | Spirit: 
> {{!!spirit}} | Strength: {{!!strength}} | Vigor: {{!!vigor}} |h
> |''Skills:'' | {{!!skills}} |h
> |Charisma: |Pace: |Parry: {{!!parry}} |Toughness: {{!!toughness}} |h
> |Hinderances: | {{!!hinderances}} |h
> |Edges: | {{!!edges}} |h
> |Booty: | {{!!booty}} |h
> |Gear: | {{!!gear}} |h
>
> You probably also want to give it a field called 'caption' with a value 
> 'Stats Block', this is what will be displayed on the tab.
>
> Then you make a tiddler for each character, and in those tiddlers you 
> create fields for each attribute, like name, agility, etc. and in that 
> tiddler you put <<tabs "StatsBlockTemplate">>
> and it will display the stats block in a tab, but the values for each 
> attribute will be taken from the containing tiddler. Then you can do the 
> same thing for the other tabs. This way you can have all of your character 
> data in a single tiddler and control how it is displayed using the other 
> templates.
>
> To make this easier you can tag the tiddler will all of the character 
> information with Character, then make a conditional view template that 
> automatically displays the information tabs in that tiddler also.
>
> I have some stuff about making templates here: 
> http://inmysocks.tiddlyspot.com/#Making%20templates
> And Tobias explains conditional view templates here: 
> http://tobibeer.github.io/tb5/#Conditional%20ViewTemplate%20Section
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/86d28029-b5ff-445b-b5d2-c7287777b052%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to