Hello,

I am fairly new to TiddlyWiki and I am trying to use the transclude feature 
to build a data dictionary for my data warehouse.

Generally... What I have a tiddler for every field and every table that in 
the data warehouse. The field tiddlers have tags that match the table 
tiddlers.

A general field tiddler looks like this…

Tiddler Name: Field_Name_01


Business Description: Random Text about the field

Data Type: varchar(25)


Inside of the tiddler there is a list for every table that the field is in


   - Table_Name_0


   - Allow Nulls: yes/no
   

   - Original Name:
   

   - Column Notes:
   

   - Table_Name_02


   - Allow Nulls: yes/no
   

   - Original Name
   

   - Column Notes:
   

   - Table_Name_03


   - Allow Nulls: yes/no
   

   - Original Name
   

   - Column Notes:
   

The tiddler uses a simple list where the code looks like this.''Business 
Definition:''

 

''Business Description:'' Random Text about the field

 

''Data Type:'' varchar(25)

 

* [[Table_Name_01]]

 

** ''Allow Nulls:'' yes/no

 

** ''Original Name:''

 

** ''Column Notes:''

 

* [[Table_Name_02]]

 

** ''Allow Nulls:'' yes/no

 

** ''Original Name:''

 

** ''Column Notes:''

 

* [[Table_Name_03]]

 

** ''Allow Nulls:'' yes/no

 

** ''Original Name:''

 

** ''Column Notes:''

 
 The table tiddlers use the following code

<div class="tc-link-info">
<$list filter=" [tag[Teller_Transaction]] ">
<div class="tc-link-info-item">
!!! <$link><$view field="title"/></$link>
<<<
<$transclude/>
<<< 



I would like to alter the table tiddler so that it only shows the 
appropriate information for that table. Preferably I would like the 
information to be expandable but default to whatever table is being looked 
at and if only the field tiddler is being looked at then the all the 
information would be expanded.

As an example for a table tiddler…

Tiddler Name: Field_Name_01


Business Description: Random Text about the field

Data Type: varchar(25)


   - Table_Name_01


   - Table_Name_02


   - Allow Nulls: yes/no
   

   - Original Name:
   

   - Table_Name_03


   - Table_Name_04


I know that I will probably have to add something to the field tiddlers as 
well.

I hope someone can point me in the right direction or just provide some 
instructions on how to achieve this. As I said, I am very new to tiddlywiki 
so all simplified responses and patience would be greatly appreciated.

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c8564c10-9ed5-47e4-a250-2c7f68f735bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to