mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-07 10:34:53 +00:00
e092113f9f
I now need to update the OP!
21 lines
423 B
Plaintext
21 lines
423 B
Plaintext
title: Transclude/Parameterised/Shortcut
|
|
description: Simple parameterised transclusion
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
title: Output
|
|
|
|
\whitespace trim
|
|
\procedure test(one:'Jaguar')
|
|
{<$text text=<<one>>/>}
|
|
\end
|
|
|
|
<$transclude $variable='test' one='Ferret'/>
|
|
<$transclude $variable='test'/>
|
|
<<test "Rat">>
|
|
<<test one:"Mouse">>
|
|
|
|
+
|
|
title: ExpectedResult
|
|
|
|
<p>{Ferret}{Jaguar}{Rat}{Mouse}</p> |