TiddlyWiki5/languages/zh-Hans/Help/setfield.tid

18 lines
717 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

title: $:/language/Help/setfield
description: 准备用于外部条目
//请注意此命令是试验性的,且可能会更改或在最终定稿前被替换//
设置一群条目的指定字段到 wikifying 范本条目的结果,其中的 `currentTiddler` 变数设置为各该条目。
```
--setfield <filter> <fieldname> <templatetitle> <rendertype>
```
参数说明:
* ''filter'' - 受影响的辨识条目的筛选条件
* ''fieldname'' - 要修改的字段(默认为 "text"
* ''templatetitle'' - 该条目 wikify 到指定字段。若为空白或丢失,则删除指定的字段
* ''rendertype'' - 要呈现的文本类型(默认为 "text/plain"; "text/html" 可以用于包含 HTML 标记)