1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-25 01:20:30 +00:00

Tweak of the list-links macro in order to display caption fields if present

This commit is contained in:
Xavier Cazin 2014-09-28 21:11:58 +02:00
parent 6626da9b3b
commit c26bd4c5a8
3 changed files with 4 additions and 1 deletions

View File

@ -6,7 +6,9 @@ tags: $:/tags/Macro
<$list filter="$filter$"> <$list filter="$filter$">
<$subtype$> <$subtype$>
<$link to={{!!title}}> <$link to={{!!title}}>
<$transclude field="caption">
<$view field="title"/> <$view field="title"/>
</$transclude>
</$link> </$link>
</$subtype$> </$subtype$>
</$list> </$list>

View File

@ -2,6 +2,7 @@ created: 20140320230543190
modified: 20140916121854696 modified: 20140916121854696
tags: HelloThere Community tags: HelloThere Community
title: Examples title: Examples
caption: Examples of ~TiddlyWiki being used in the wild
type: text/vnd.tiddlywiki type: text/vnd.tiddlywiki
This collection showcases inspiring and interesting examples of TiddlyWiki being used in the wild. This collection showcases inspiring and interesting examples of TiddlyWiki being used in the wild.

View File

@ -7,7 +7,7 @@ The list macro is a family of macros that produce a list of tiddlers.
There are several variants of the macro: There are several variants of the macro:
* `<<list-links>>` produces a list of links to tiddlers that match a filter expression * `<<list-links>>` produces a list of links to tiddlers that match a filter expression. If the tiddler has a //caption// field, it is displayed in lieu of the //title// field.
! Parameters ! Parameters