mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-16 21:20:28 +00:00
27 lines
511 B
Plaintext
27 lines
511 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'>
|
||
|
<$fill $name="content">
|
||
|
Hippopotamus
|
||
|
</$fill>
|
||
|
</$transclude>
|
||
|
+
|
||
|
title: TiddlerOne
|
||
|
|
||
|
\whitespace trim
|
||
|
<$parameters one='Jaguar'>
|
||
|
<$text text=<<one>>/>
|
||
|
<$slot $name="content">
|
||
|
Whale
|
||
|
</$slot>
|
||
|
</$parameters>
|
||
|
+
|
||
|
title: ExpectedResult
|
||
|
|
||
|
<p>FerretHippopotamus</p>
|