2022-05-21 14:47:19 +00:00
|
|
|
title: Transclude/CustomWidget/Fail
|
|
|
|
description: Custom widget failed definition
|
|
|
|
type: text/vnd.tiddlywiki-multiple
|
|
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
|
|
|
|
title: Output
|
|
|
|
|
|
|
|
\whitespace trim
|
|
|
|
<!-- Attempt to define the <$non-existent-widget> widget by defining a transcludable variable with that name -->
|
|
|
|
\widget $non-existent-widget(one:'Jaguar')
|
|
|
|
\whitespace trim
|
|
|
|
<$text text=<<one>>/>
|
2022-06-09 17:02:47 +00:00
|
|
|
<$slot $name="ts-raw">
|
2022-05-21 14:47:19 +00:00
|
|
|
Whale
|
|
|
|
</$slot>
|
|
|
|
\end
|
|
|
|
<$non-existent-widget one="Dingo">
|
|
|
|
Crocodile
|
|
|
|
</$non-existent-widget>
|
|
|
|
<$non-existent-widget one="BumbleBee">
|
|
|
|
Squirrel
|
|
|
|
</$non-existent-widget>
|
|
|
|
+
|
|
|
|
title: ExpectedResult
|
|
|
|
|
|
|
|
<p>Undefined widget 'non-existent-widget'Undefined widget 'non-existent-widget'</p>
|