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

TemplateTiddlers

2015년 2월 20일 오후 4:09

A template tiddler is not actually a type of tiddler, it is a role in which a tiddler can be used.

Templates are a way to re-use chunks of WikiText.

Transcluding through a template extends the basic functionality of Transclusion by combining two tiddlers:

  • A template tiddler that contains the WikiText to be displayed. It can contain transclusions that reference fields in the current tiddler
  • A target tiddler that identifies which tiddler is to be treated as current when resolving references to fields

The best example of templating is the main story river in TiddlyWiki. Each tiddler in the story river is rendered through a ViewTemplate that specifies how each field is to be rendered.

See Transclusion with Templates for details.