Updated Template (markdown)

zadam 2019-09-08 17:02:31 +02:00
parent 8d244972b3
commit c5bc414f1a

@ -1,7 +1,8 @@
Template is a form of [[attribute inheritance]].
Template is a note which serves as a kind of "template" for other kind of notes (let's call them instance notes). There are two properties:
Template is a note with a set of [[attributes]] and serves as a kind of "template" for other kind of notes (let's call them instance notes).
* all attributes from the template note are [[inherited|attribute inheritance]] to the instance notes
* note content is copied from the template note to the instance note (if the instance note content is empty at the time of template attribute assignment)
A typical example would be a "Book" template note which will define some [[promoted attributes]] - e.g. publication year, author etc.. And then we have instance note - this note has a [[relation|attributes]] to the "Book" template note which will cause that 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.
You can check out the concept in the [[demo document|Document#demo-document]] in e.g. [[Relation map]], [[Task manager]] or [[Day notes]].