mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-25 06:54:46 +00:00
26 lines
437 B
Plaintext
26 lines
437 B
Plaintext
title: Macros/Dynamic/Attribute
|
|
description: Attribute macrocall with dynamic paramters
|
|
type: text/vnd.tiddlywiki-multiple
|
|
tags: [[$:/tags/wiki-test-spec]]
|
|
|
|
title: Output
|
|
|
|
\define mamacromamacro(param:"red")
|
|
It is $param$
|
|
\end
|
|
|
|
<$text text=<<mamacromamacro>>/>
|
|
-
|
|
<$text text=<<mamacromamacro param={{{ [[a]addprefix[b]] }}}>>/>
|
|
-
|
|
<$text text=<<mamacromamacro param>>/>
|
|
|
|
+
|
|
title: ExpectedResult
|
|
|
|
<p>It is red
|
|
-
|
|
It is ba
|
|
-
|
|
It is param
|
|
</p> |