From 651ed60987cd3d2060bad389def8d681c6c7f741 Mon Sep 17 00:00:00 2001 From: fghhfg Date: Tue, 7 Oct 2014 02:28:40 +0800 Subject: [PATCH] add some way to invoke macro --- .../tiddlers/wikitext/Macros in WikiText.tid | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/editions/tw5.com/tiddlers/wikitext/Macros in WikiText.tid b/editions/tw5.com/tiddlers/wikitext/Macros in WikiText.tid index aa242e4c1..0872f26b8 100644 --- a/editions/tw5.com/tiddlers/wikitext/Macros in WikiText.tid +++ b/editions/tw5.com/tiddlers/wikitext/Macros in WikiText.tid @@ -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: + +``` +<> +<> +<$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=<>/> +``` + +''also see'' + +* [[Macros]] +* [[MacroCallWidget]]