Using TW5 to generate a table of Titles and Tiddler contents?

117 views
Skip to first unread message

leeand00

unread,
Jan 6, 2016, 2:04:37 PM1/6/16
to TiddlyWiki
Is it possible to display a table such as the following to display a term, and it's definition; the term being the tiddler title, and the definition being the contents of the tiddler.  I gave it a shot here, but it didn't so much work:

<table>
<$list filter="[tag[Agency Transition Wizard]]">
<tr>
<td>
<$view field="title"/>
</td>
<td>
{{ <$view field="title" /> }}
</td>
</tr>
</$list>
</table>

Thank you,
  leeand00

Jed Carty

unread,
Jan 6, 2016, 2:11:18 PM1/6/16
to TiddlyWiki
Use this

<table>
<$list filter="[tag[Agency Transition Wizard]]">
<tr>
<td>
<$view field="title"/>
</td>
<td>
<$transclude tiddler=<<currentTiddler>>/>
</td>
</tr>
</$list>
</table>


You could use
<$view field='text'/> as well, but transclude will preserve formatting.

Mat

unread,
Jan 6, 2016, 2:14:49 PM1/6/16
to TiddlyWiki
Even simpler than what you attempted;

<table>
<$list filter="[tag[...]]">
<tr>
<td>
{{!!title}}
</td>
<td>
{{!!text}}
</td>
</tr>
</$list>
</table>


<:-)

leeand00

unread,
Jan 6, 2016, 2:15:10 PM1/6/16
to TiddlyWiki
Ah okay that did it, thank you!

sini-Kit

unread,
Jan 7, 2016, 1:00:22 AM1/7/16
to TiddlyWiki
I use tables http://novye-podarki.ru/heeg.html#table  to import and export tiddlers to Excel. I put some code with display:none; and connect excel file with macros http://heeg.ru/heeg3.5_orange.zip to static variant of the table http://novye-podarki.ru/table.html , modify it , run macros to export and file appear in temp directory.  



среда, 6 января 2016 г., 22:04:37 UTC+3 пользователь leeand00 написал:
Reply all
Reply to author
Forward
0 new messages