mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 05:19:57 +00:00
26 lines
628 B
Plaintext
26 lines
628 B
Plaintext
|
title: Transclude/Parameterised/Simple
|
||
|
description: Simple parameterised transclusion
|
||
|
type: text/vnd.tiddlywiki-multiple
|
||
|
tags: [[$:/tags/wiki-test-spec]]
|
||
|
|
||
|
title: Output
|
||
|
|
||
|
\whitespace trim
|
||
|
<$transclude $tiddler='TiddlerOne' one='Ferret'/>
|
||
|
|
|
||
|
<$transclude $tiddler='TiddlerOne'/>
|
||
|
|
|
||
|
<$transclude $tiddler='TiddlerOne' one='Ferret' $$two="Osprey"/>
|
||
|
|
|
||
|
<$transclude $tiddler='TiddlerOne' $$two="Falcon"/>
|
||
|
+
|
||
|
title: TiddlerOne
|
||
|
|
||
|
\whitespace trim
|
||
|
<$parameters one='Jaguar' $$two='Piranha'>
|
||
|
<$text text=<<one>>/>:<$text text=<<$two>>/>
|
||
|
</$parameters>
|
||
|
+
|
||
|
title: ExpectedResult
|
||
|
|
||
|
<p>Ferret:Piranha|Jaguar:Piranha|Ferret:Osprey|Jaguar:Falcon</p>
|