Why do you have to use a long name? $:/tpcode
On Sunday, September 29, 2019 at 12:06:55 AM UTC-7, Mohammad wrote:
>
> 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/b7028c2f-8e4c-4275-a161-c6472c298ee8%40googlegroups.com.