TiddlyWiki5/tw5.com/tiddlers/concepts/Tiddlers.tid

12 wiersze
639 B
Plaintext
Czysty Zwykły widok Historia

2012-06-10 16:27:09 +00:00
title: Tiddlers
tags: docs concepts
!! Tiddlers
Tiddlers are an immutable dictionary of name:value pairs called fields.
The only field that is required is the {{{title}}} field, but useful tiddlers also have a {{{text}}} field, and some or all of the standard fields {{{modified}}}, {{{modifier}}}, {{{created}}}, {{{creator}}}, {{{tags}}} and {{{type}}}.
Hardcoded in the system is the knowledge that the `tags` field is a string array, and that the `modified` and `created` fields are JavaScript `Date` objects. All other fields are strings.
2012-06-10 16:48:23 +00:00
The {{{type}}} field identifies the representation of the tiddler text with a ContentType.