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/5e01c3a7-1656-41ea-993f-eaef1f9cc730%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to