mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-26 03:27:18 +00:00
Update TranscludeWidget.tid correct procedure name (#7717)
The copy pasted `mymacro` from old docs is changed to `myproc`
This commit is contained in:
parent
0889f13fef
commit
64c9d17181
@ -18,11 +18,11 @@ Transclusion is the underlying mechanism for many higher level wikitext features
|
|||||||
Here is a complete example showing the important features of the <<.wlink TranscludeWidget>> widget:
|
Here is a complete example showing the important features of the <<.wlink TranscludeWidget>> widget:
|
||||||
|
|
||||||
```
|
```
|
||||||
\procedure mymacro(name,age)
|
\procedure myproc(name,age)
|
||||||
My name is <<name>> and my age is <<age>>.
|
My name is <<name>> and my age is <<age>>.
|
||||||
\end
|
\end
|
||||||
|
|
||||||
<$transclude $variable="mymacro" name="James" age="19"/>
|
<$transclude $variable="myproc" name="James" age="19"/>
|
||||||
```
|
```
|
||||||
|
|
||||||
* `\procedure` defines a variable as a procedure with two parameters, ''name'' and ''age''
|
* `\procedure` defines a variable as a procedure with two parameters, ''name'' and ''age''
|
||||||
|
Loading…
Reference in New Issue
Block a user