이 문서는 https://tiddlywiki.com/languages/ko-KR/에서 티들리위키의 정적 HTML 표현의 일부입니다

thisTiddler Variable

2023년 5월 5일 오후 8:01

New in v5.3.0 The thisTiddler variable is set by the $transclude widget to contain the title of the tiddler that was transcluded. This means that within transclusions thisTiddler will contain the title of the transcluded tiddler. It is not affected by macros, which means that within a macro thisTiddler will contain the title of the tiddler from which the macro was invoked. Intermediate, nested macro calls are ignored.

There are two key usages for thisTiddler:

  • Within a transcluded template, thisTiddler points to the template itself, making it possible for the template to access data stored in other fields of the template
  • Within a macro, thisTiddler points to the template that invoked the macro. If the macro was invoked by another macro, the template that invoked that macro is returned, and so on

Compare storyTiddler and currentTiddler.

Examples