This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

SetFieldCommand

9th June 2014 at 12:16pm

Note that this command is experimental and may change or be replaced before being finalised

Sets the specified field of a group of tiddlers to the result of wikifying a template tiddler with the currentTiddler variable set to the tiddler.

--setfield <filter> <fieldname> <templatetitle> <rendertype>

The parameters are:

  filter          filter identifying the tiddlers to be affected
  fieldname       the field to modify (default: "text")
  templatetitle   the tiddler to wikify into the specified field; if blank
                  or missing then the specified field is deleted
  rendertype      the text type to render (default: "text/plain";
                  "text/html" can be used to include HTML tags)