mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-07 02:26:19 +00:00
8aa0db59a3
Fixes #7424
40 lines
776 B
Plaintext
40 lines
776 B
Plaintext
title: Transclude/Macro/Missing
|
|
description: Transcluding a missing or blank variable
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
title: Output
|
|
|
|
\whitespace trim
|
|
<$macrocall $name="missingmacro">
|
|
Fallback content
|
|
</$macrocall>
|
|
|
|
<$transclude $variable="missingmacro">
|
|
Fallback content
|
|
</$transclude>
|
|
|
|
<$macrocall $name="">
|
|
Fallback content
|
|
</$macrocall>
|
|
|
|
<$transclude $variable="">
|
|
Fallback content
|
|
</$transclude>
|
|
|
|
<$let emptyVariable="">
|
|
|
|
<$macrocall $name="emptyVariable">
|
|
Fallback content
|
|
</$macrocall>
|
|
|
|
<$transclude $variable="emptyVariable">
|
|
Fallback content
|
|
</$transclude>
|
|
|
|
</$let>
|
|
|
|
+
|
|
title: ExpectedResult
|
|
|
|
<p>Fallback content</p><p>Fallback content</p><p>Fallback content</p><p>Fallback content</p><p>Fallback content</p><p>Fallback content</p> |