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

tv-wikilink-template Variable

2017년 8월 28일 오전 9:56

The tv-wikilink-template variable controls the value of the href attribute on the HTML a element generated by the $link widget. The tv-filter-export-link, if defined, it takes precedence over the tv-wikilink-template variable.

The variable is treated as if it was a macro with the following parameters:

uri_encoded
The title of the target tiddler of the link, but percent-encoded
uri_doubleencoded
The value of the uri_encoded parameter but percent-encoded again, i.e. with its % characters further converted to %25
\define tv-wikilink-template() ../tiddlers/$uri_encoded$.html

The variable defaults to #$uri_encoded$.

See also the tv-get-export-link variable, which dominates over this one.

Note
This variable has no useful effect when TiddlyWiki is running in a browser, as the href attribute is ignored there – links between tiddlers are performed by JavaScript instead. The variable comes into play when one is using the Node.js configuration to generate a static version of a wiki.