mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-10-31 07:06:19 +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>
|