mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-22 05:50:01 +00:00
20 lines
855 B
Plaintext
Executable File
20 lines
855 B
Plaintext
Executable File
title: $:/language/Help/setfield
|
|
description: Prepares external tiddlers for use
|
|
|
|
//Note that this command is experimental and may change or be replaced during the TiddlyWiki version 5 beta//
|
|
|
|
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> <rawtext>
|
|
```
|
|
|
|
The parameters are:
|
|
|
|
* ''filter'' - filter identifying the tiddlers to be affected
|
|
* ''fieldname'' - the field to modify (defaults to "text")
|
|
* ''templatetitle'' - the tiddler to wikify into the specified field. If blank or missing then the specified field is deleted
|
|
* ''type'' - the text type to render (defaults to "text/plain"; "text/html" can be used to include HTML tags)
|
|
* ''rawtext'' - raw text, to be injected to a field.
|
|
|