Alan Aldrich in his plugin TiddlyTables used transclusion to make
sophisticated stylesheet and this shows the beauty of TW.
TiddlyTables has a lot to be learned as a modern application of Tiddlywiki.
Hope developer, admins and TW decision makers pay more attention to this
great piece of work.
*My question*
Is there any example to create tiddlers with inheritance?
Example to clarify the question
- Assume you have Tiddler 1 entitled parent
- parent has some fields like first-name, last-name, age
- parent text uses fields first-name, last-name, age in text (tiddler
body) through transclusion
- Now we create Tiddler 2 entitled child1
- The body (text) of child1 is {{||parent}}
- child1 has only two fields first-name, and age
- one expect child1 inherits last-name
- You may have several children each similat to child1
- If a field is NOT existed then it will be inherited in thext from
parent
- If a field is existed then its child will use its own field value
This may bring some idea about object oriented programming!
I am looking for some new idea! A similar working case (not what I
described above) can be found in Alan Aldrich for making table stylesheets.
--Mohammad
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/34e8fbda-c0f6-4b9e-8d74-395c62ae9d66%40googlegroups.com.