Using tables in ViewTemplate

76 views
Skip to first unread message

Jeahel

unread,
Feb 10, 2017, 5:31:57 AM2/10/17
to TiddlyWiki
Hello!

I'm trying to play around with TiddlyWiki and am currently testing editing the View template of tiddlers.
I created a tiddlers with the tag "$:/tags/ViewTemplate" and it is correctly transcluded in every tiddlers at the place I want. But it doesn't display a table as I would like it to.

I used this text :
---
| ! Work Item Type | {{!!workitem.type}} |

And it renders correctly in the body of a tiddler, but not when it is used with the template. How can I achieve that?

Thank you :)

PMario

unread,
Feb 10, 2017, 11:21:44 AM2/10/17
to TiddlyWiki
On Friday, February 10, 2017 at 11:31:57 AM UTC+1, Jeahel wrote:
I used this text :
---
| ! Work Item Type | {{!!workitem.type}} |

try this text as a template

<table>
  <tbody>
    <tr class="evenRow">
      <th align="center"> Work Item Type</th>
      <td align="center">{{!!workitem.type}}</td>
   </tr>
  </tbody>
</table>


have fun!
mario

Jeahel

unread,
Feb 10, 2017, 1:41:41 PM2/10/17
to TiddlyWiki
Perfect, thanks!
But why isn't tiddlyText interpreted like in tiddlers?
Reply all
Reply to author
Forward
0 new messages