1
0
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:
Mohammad Rahmani 2023-09-04 19:29:08 +03:30 committed by GitHub
parent 0889f13fef
commit 64c9d17181
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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''