1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-29 00:33:15 +00:00

add some way to invoke macro

This commit is contained in:
fghhfg 2014-10-07 02:28:40 +08:00
parent 3630a2191e
commit 651ed60987

View File

@ -71,3 +71,20 @@ By using triple-double quotes you can specify parameter values that include sing
Rodentville,
Ratland.""">>
```
! Invoked
There are many different ways to invoke macro.A macro called `italicise` that takes a single parameter called `text` can be invoked in any of these ways:
```
<<italicise "Text to be made into italics">>
<<italicise text:"Text to be made into italics">>
<$macrocall $name="italicise" text="Text to be made into italics"/>
<$macrocall $name="italicise" text={{Title of tiddler containing text to be italicised}}/>
<$macrocall $name="italicise" text=<<textMaker "Another macro to generate the text to be italicised">>/>
```
''also see''
* [[Macros]]
* [[MacroCallWidget]]