Folks,

I am just sharing a little code play here. I can imagine a number of 
possibilities with this. Hows your imagination?

Create a tiddler named $:/NS (for Name Service) and include the following
\define tiddlername() $:/NS/$(currentTiddler)$
<$list filter="[<tiddlername>has[text]]" variable=nul>
<$transclude tiddler=<<tiddlername>>/>
</$list>
<$list filter="[<tiddlername>!has[text]]" variable=nul>
<$link to=<<tiddlername>> ><<currentTiddler>></$link>
</$list>

Now in any tiddler you can type
{{any name||$:/NS}}


   - If the tiddler does not exist, a link to a tiddler named "$:/NS/any 
   name" is displayed, click to create it.
   - If the tiddler exists it will be transcluded, followed by an edit 
   button to open it for edit.

How could you make use of this mechanism?

Regards
Tony

-- 
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/008c4e8d-b2dd-46ce-a260-160e8224da0b%40googlegroups.com.

Reply via email to