mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-04 23:39:57 +00:00
1af4324370
Address issue in https://github.com/Jermolene/TiddlyWiki5/pull/7433#discussion_r1186744704
19 lines
664 B
Plaintext
19 lines
664 B
Plaintext
created: 20230304123606350
|
|
modified: 20230304124149055
|
|
tags: [[thisTiddler Variable]] [[Variable Examples]]
|
|
title: thisTiddler Variable (Examples)
|
|
type: text/vnd.tiddlywiki
|
|
|
|
The first example shows how <<.def thisTiddler>> works whithin transcluded template. Here the [[SampleTemplate]] is a template for demonstration.
|
|
|
|
<$macrocall $name=".example" n="1" eg="""{{||SampleTemplate}}"""/>
|
|
|
|
The second example shows <<.def thisTiddler>> in the body of tiddler and inside a macro.
|
|
|
|
<$macrocall $name=".example" n="2" eg="""<$text text=<<thisTiddler>>/>"""/>
|
|
|
|
<$macrocall $name=".example" n="3" eg="""\define example() <$text text=<<thisTiddler>>/>
|
|
<<example>>
|
|
"""/>
|
|
|