1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-07 02:26:19 +00:00
TiddlyWiki5/editions/test/tiddlers/tests/data/transclude/Parameterised-Mode.tid
2022-09-16 16:07:32 +01:00

29 lines
530 B
Plaintext

title: Transclude/Parameterised/Mode
description: Parameterised transclusion using the $parseMode attribute
type: text/vnd.tiddlywiki-multiple
tags: [[$:/tags/wiki-test-spec]]
title: Output
\whitespace trim
<$transclude $tiddler='TiddlerOne' one='Ferret'>
This is a block
</$transclude>
<$transclude $tiddler='TiddlerOne'>
This is inline
</$transclude>
+
title: TiddlerOne
\whitespace trim
<$parameters $parseMode="@parseMode">
<$text text=<<@parseMode>>/>
</$parameters>
+
title: ExpectedResult
<p>block</p><p>inline</p>