[TW5] Custom Tiddler Template

129 views
Skip to first unread message

Penguinlay

unread,
Jan 20, 2017, 4:13:09 AM1/20/17
to TiddlyWiki
Hi, I want to create custom tiddler template for some tiddlers.

I want to add multiple custom information in separate lines right after tiddler title.

Each of those custom information is generated by separate tiddlers tagged with 
$:/tags/viewTemplate

So, my preference is:
TiddlerTitle
1stCustomInfo
2ndCustomInfo
Date&Time
Tags
Body

But,

The result of using list-after title with both custom info is:
TiddlerTitle
1stCustomInfo 2ndCustomInfo
Date&Time
Tags
Body

The result of using list-after title with first custom info and list-before tags with second custom info is:
TiddlerTitle
1stCustomInfo
Date&Time
2ndCustomInfo
Tags
Body

 So, how should I fix it?

Tobias Beer

unread,
Jan 20, 2017, 7:21:41 AM1/20/17
to TiddlyWiki
Hi Penguinlay,
 
But, the result of using list-after title with both custom info is:
TiddlerTitle
1stCustomInfo 2ndCustomInfo
Date&Time
Tags
Body

This looks precisely like what you want.

To see the order in which those templates apply,
you can click on the tagpill for $:/tags/ViewTemplate

Other than that, if your problem is that your content is rendered inline,
the solution lies in your templates themselves,
i.e. that their content is rendered in inline mode.

Other than that, if both of these templates are to immediately follow one another,
perhaps merge both into a single template?

Best wishes,

Tobias.

Penguinlay

unread,
Jan 20, 2017, 5:36:23 PM1/20/17
to TiddlyWiki
Those two were supposed to be separated. I didn't merge both because they are of different topics.

Editing the list field in $:/tags/ViewTemplate solve the problem of order of appearance.

Regarding inline mode, in each of those two templates, I had a button followed by some texts. So, basically, a sentence with a button in each of those tiddlers.

So, how to change normal sentence in tw5-tiddler from inline mode to block mode?
Reply all
Reply to author
Forward
0 new messages