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

MacroCallWidget

2023년 4월 19일 오전 10:31

Deprecated fromv5.3.0(seeTranscludeWidget)

The $macrocall widget is deprecated. While it will continue to work, users are now advised to use the $transclude widget, converting the $name attribute to $variable.

For example,

<$macrocall $name="my-macro" my-parameter="Elephant"/>

should be changed to:

<$transclude $variable="my-macro" my-parameter="Elephant"/>

Internally, the $macrocall widget is implemented via the $transclude widget.

Content and Attributes

The content of the $macrocall widget is ignored.

AttributeDescription
$nameName of the macro to invoke
$typeContentType with which the macro text should be parsed (defaults to text/vnd.tiddlywiki)
$outputContentType for the output rendering (defaults to text/html, can also be text/plain or text/raw)
parametersMacro parameters specified as attributes