mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-04-03 09:16:55 +00:00
Add an example to the $fieldmangler widget (#4287)
Add an example to the field mangler widget demonstrating the `tiddler` param.
This commit is contained in:
parent
81867a75cd
commit
a9cc292dc9
@ -12,3 +12,13 @@ Add tag ''example'' to this tiddler (current)<$button message="tm-add-tag" param
|
||||
Remove tag ''example'' to this tiddler (current)<$button message="tm-remove-tag" param="example">{{$:/core/images/delete-button}}</$button>
|
||||
</$fieldmangler>
|
||||
"""/>
|
||||
|
||||
|
||||
<$macrocall $name=".example" n="2"
|
||||
eg="""
|
||||
<$fieldmangler tiddler="Hello World">
|
||||
Add tag ''example'' to the Hello World tiddler<$button message="tm-add-tag" param="example">{{$:/core/images/new-button}}</$button>
|
||||
<br>
|
||||
Remove tag ''example'' to the Hello World tiddler<$button message="tm-remove-tag" param="example">{{$:/core/images/delete-button}}</$button>
|
||||
</$fieldmangler>
|
||||
"""/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user