Danke, Tobias ;)

I already solved the problem (partly) by inspecting the code for the wikify 
plugin.

The background is: I want to implement checklists for several applications 
we need to maintain. When we receive a new version of an application, we 
need to check several things and need to prepare it for deployment .

As the checklists are very similar and just differ in some properties like 
"Where do I get it?", "Where do I put it?", "Where Do I put the 
documentetion", I wanted these properties to appear in the checklist 
instruction exactly where we need them and not just in a table at the top 
of my list.

What I now did is:
a) Created for each application group one "Base Info" Tiddler where I put 
all the relevant information.

Example:
AppA Base Info
---------------------------
|Setting|Value|h
|~Doc_Folder:|http://ourserv/AppA_Cocumentation|
|~Get_From:|http://dev.svn/svn/AppA|
|~Put_Here:|http://our.svn/svn/ourAppA|

b) Created a Tiddler "Mapping", where I defined, for each application a 
section. The application's name is the name of the section. The section's 
content is the name of the "Base Info" Tiddler belonging to that group.

Mapping
---------------------------
/%
!AppA
AppA Base Info
!AppB
AppB Base Info
!AppC
AppA Base Info
!END
%/

c) Created a Tiddler "General Information" where I select the application 
("component"). Additionally this tiddler contains a table where I 
transclude, depending on the selection, the values of my properties. I do 
it like this:

General Information
---------------------------
<<select component rows:1 "choose component" "AppA" "AppB" "AppC">>

|Setting|Value|h
|~Doc_Folder:|<<tiddler getMapping with: "Doc_Folder">>|
|~Get_From:|<<tiddler getMapping with: "Get_From">>|
|~Put_Here:|<<tiddler getMapping with: "Put_Here">>|

d) Created a Tiddler "getMapping" with this content:

getMapping
---------------------------
<<tiddler {{
    var component= store.getValue( "General Information", "component" );
    var tid_name=  store.getTiddlerText( "Mapping##"+component );
    "$1" ? tid_name + "::$1" : tid_name;
}}>>

e) Everywhere, where I need one of the information, I can no use for 
example:

<<tiddler "General Information::Get_From">>

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to