I have a separate tiddler for each book in my library (example title: Book 
- J. R. R. Tolkien - The Lord of the Rings] When I'm reading a book, every 
time I like something, I copy and paste the quote into it's own tiddler and 
make sure it is tagged with the title of the book tiddler. That way all of 
a book's quotes show up in its book tiddler since I have this code in each 
book tiddler:

<$list filter="[tag<currentTiddler>!sort[title]]">
<h2><$link><$transclude field="title" mode="block"/></$link></h2>
<$transclude field="text" mode="block"/>
</$list>

My problem:

I was pasting that code into every single book tiddler until I realized I 
was needlessly bloating my wiki! If I have a thousand books that would be a 
thousand extra paragraphs in my wiki.


*How do I create just one tiddler that commands all book tiddlers to show 
that code? Is there just one tiddler I can create that just commands that 
code show up in every book tiddler? or every tiddler that happens to have 
the tag "book"?*
(P.S. The reason I give so much background on my request, is so newbies can 
see use cases. Often I see people ask for help with code but I don't know 
what they are using it for, and so don't know if I would want to use it as 
well.)

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c8f11741-3841-4ef4-8edb-e9a964677610n%40googlegroups.com.

Reply via email to