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-Slotted.tid

27 lines
513 B
Plaintext
Raw Normal View History

title: Transclude/Parameterised/Slotted
2022-04-24 20:24:38 +00:00
description: Parameterised transclusion with slotted values
type: text/vnd.tiddlywiki-multiple
tags: [[$:/tags/wiki-test-spec]]
title: Output
\whitespace trim
<$transclude $tiddler='TiddlerOne' one='Ferret'>
2022-04-24 20:24:38 +00:00
<$value $name="content">
Hippopotamus
</$value>
</$transclude>
2022-04-24 20:24:38 +00:00
_
title: TiddlerOne
\whitespace trim
<$parameters one='Jaguar'>
<$text text=<<one>>/>
<$slot $name="content">
Whale
</$slot>
</$parameters>
_
title: ExpectedResult
<p>FerretHippopotamus</p>