I want to transclude a tiddler or different part of tiddler! I normally use
template
So, for example
I want to show the content of a tiddler say myTiddler I use template-code
tiddler as below
{{myTiddler||$:/utility/template-code}}
I can also wrap the content of $:/utility/template-code in a macro like
tp-code and have
the same functionality as below
<<tp-code myTiddler>>
Pros and cons
- writing the long name template is tedious in daily work
- using smaller name like tpcode makes it appear everywhere
- using macro is simple and its tiddler is hidden but semantically template
is better
What do you think? and what do you propose
--Mohammad
--
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/a83dbdd6-efd4-4c51-8bd5-7d376e8d05ab%40googlegroups.com.