Updated Attribute inheritance (markdown)

zadam 2019-09-08 10:23:00 +02:00
parent 18aec032f6
commit 8c7e994162

@ -7,3 +7,7 @@ Example how this might be useful is `archived` label which hides its note from J
Different kind of inheritance is achieved using "child:" attribute name prefix. If we create a child note in a note with "child:exampleAttribute" attribute, then child note will have "exampleAttribute" created. This can be even chained, e.g. "child:child:exampleAttribute", in this case "exampleAttribute" will be created in the child of the child. Different kind of inheritance is achieved using "child:" attribute name prefix. If we create a child note in a note with "child:exampleAttribute" attribute, then child note will have "exampleAttribute" created. This can be even chained, e.g. "child:child:exampleAttribute", in this case "exampleAttribute" will be created in the child of the child.
Which kind of attribute inheritance (or if any at all) should be used depends on specific use case. Which kind of attribute inheritance (or if any at all) should be used depends on specific use case.
## Template inheritance
[[Attribute template|template]] could be also seen as a form of inheritance.