I've been doing lots of things with custom fields and tags together  for my 
story writing Tiddlywiki but the time has come, I think, to do a bit of 
refactoring.

I came across a reference in 
http://tiddlywiki.org/#[[HideWhenPlugin%20Questions]]

Placing each collection of custom fields in a separate tiddler helps cut 
> down on the confusion of having multiple different things going on in your 
> ViewTemplate & EditTemplate, as well as making it easier to safe guard 
> against accidentally deleting or over writing one of them and losing 
> everything.
>

That sounds interesting.
So I have a tiddler with 

location
characters
thread
inchapter
sceneseqnum
scenedate

Now what?

Before I had, in the EditTemplate

<span class='feditor'><b>Location:</b> <span macro='select location rows:1 
=Locations'></span></span>

and correspondingly in the ViewTemplate

<span class='fviewer'><b>Location:</b>&nbsp;<span macro='view location 
link'></span>&nbsp;</span>

But 'characters' is a multiple list and 'sceneseqnum' is a number and 
'scenedate' is a date.
So I can't see a simple 'forEach' going on in there.

Are there any example of how indirect field definition is done?

Right now, my best thought is to use multi-line slices:

StoryLineFields##Edit
and 
StoryLineFields##View

but doesn't that rather defeat the purpose?

So how should this mechanism be used?




-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to