mirror of
https://github.com/zadam/trilium.git
synced 2024-12-27 01:34:05 +08:00
Updated Template (markdown)
parent
8f062c58ff
commit
661f15532c
1 changed files with 2 additions and 0 deletions
|
@ -5,4 +5,6 @@ Template is a note which serves as a kind of "template" for other kind of notes
|
||||||
|
|
||||||
A typical example would be a "Book" template note which will define some [[promoted attributes]] - e.g. publication year, author etc, you can also create kind of outline of the book review in the note text - e.g. themes, conclusion etc. .. And then we have instance note - this note has a [[relation|attributes]] to the "Book" template note which will cause that the template note text is used to initialize the instance note text and all attributes from the template note are inherited to the instance note.
|
A typical example would be a "Book" template note which will define some [[promoted attributes]] - e.g. publication year, author etc, you can also create kind of outline of the book review in the note text - e.g. themes, conclusion etc. .. And then we have instance note - this note has a [[relation|attributes]] to the "Book" template note which will cause that the template note text is used to initialize the instance note text and all attributes from the template note are inherited to the instance note.
|
||||||
|
|
||||||
|
From the visual perspective template can define a `iconClass` and `cssClass` attributes so that all e.g. books are shown with a particular icon and CSS style.
|
||||||
|
|
||||||
You can check out the concept in the [[demo document|Document#demo-document]] in e.g. [[Relation map]], [[Task manager]] or [[Day notes]].
|
You can check out the concept in the [[demo document|Document#demo-document]] in e.g. [[Relation map]], [[Task manager]] or [[Day notes]].
|
||||||
|
|
Loading…
Reference in a new issue