1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-29 23:40:45 +00:00

Merge pull request #946 from fghhfg/patch-7

add some way to invoke macro
This commit is contained in:
Jeremy Ruston 2014-10-07 09:46:29 +01:00
commit 68b7212150

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]]