1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-19 10:49:43 +00:00
TiddlyWiki5/editions/test/tiddlers/tests/data/transclude/Parameterised-Slotted.tid
2022-04-30 10:00:38 +01:00

27 lines
513 B
Plaintext

title: Transclude/Parameterised/Slotted
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'>
<$value $name="content">
Hippopotamus
</$value>
</$transclude>
_
title: TiddlerOne
\whitespace trim
<$parameters one='Jaguar'>
<$text text=<<one>>/>
<$slot $name="content">
Whale
</$slot>
</$parameters>
_
title: ExpectedResult
<p>FerretHippopotamus</p>