Great idea! Thanks Tony! I like the currentTiddler as default parameter value, this simplify things.
On Sunday, September 29, 2019 at 2:57:36 PM UTC+3:30, TonyM wrote: > > I agree with Mario's approach but add such macros can be designed to use > defaults like current tiddler but allow tiddlername to be provided. You can > introduce config switches, modes and default filters yet also allow these > to be overridden. > > For example I have a macro called field and its parameter is fieldname. It > will display fieldnames content. However if the wiki is set to edit mode or > the tiddler is set to edit mode you can edit Fieldname. That is macros > allow you to drive additional functionality from the same invocation and > override using parameters. You can do this with transclusion but macros can > also transclued in adfition. Multiple macros can be in one tiddler or > multiple tiddlers. Transclusions must be in one tiddler by itself unless > you transclued from fields. > > Regards > Tony > > -- 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/13f5ff87-9195-48fc-923a-8f1fec29898b%40googlegroups.com.

