1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-25 19:17:19 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/widgets/FieldMangler Widget (Examples).tid

25 lines
905 B
Plaintext
Raw Normal View History

2015-07-06 17:46:21 +00:00
created: 20150706160301163
modified: 20150706172915783
tags: [[Widget Examples]] FieldManglerWidget
title: FieldMangler Widget (Examples)
2015-07-06 17:46:21 +00:00
type: text/vnd.tiddlywiki
<$macrocall $name=".example" n="1"
eg="""
<$fieldmangler>
Add tag ''example'' to this tiddler (current)<$button message="tm-add-tag" param="example">{{$:/core/images/new-button}}</$button>
<br>
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>
"""/>