2018-01-09 17:13:45 +00:00
|
|
|
caption: list-links
|
2015-02-24 16:41:16 +00:00
|
|
|
created: 20140917083515996
|
2018-01-09 17:13:45 +00:00
|
|
|
modified: 20180109171310659
|
2015-02-24 16:41:16 +00:00
|
|
|
tags: Macros [[Core Macros]]
|
2018-01-09 17:13:45 +00:00
|
|
|
title: list-links Macro
|
|
|
|
type: text/vnd.tiddlywiki
|
2014-09-17 11:13:24 +00:00
|
|
|
|
2015-02-24 16:41:16 +00:00
|
|
|
The <<.def list-links>> [[macro|Macros]] returns a formatted list of links to a [[selection of tiddlers|Title Selection]].
|
2014-09-17 11:13:24 +00:00
|
|
|
|
2015-02-24 16:41:16 +00:00
|
|
|
If a tiddler has a <<.field caption>> field, this is shown instead of the tiddler's title.
|
2014-09-17 11:13:24 +00:00
|
|
|
|
2015-02-24 16:41:16 +00:00
|
|
|
!! Parameters
|
2014-09-17 11:13:24 +00:00
|
|
|
|
2015-02-24 16:41:16 +00:00
|
|
|
;filter
|
|
|
|
: A [[filter|Filters]] selecting which tiddlers to include
|
|
|
|
;type
|
|
|
|
: An HTML element to use for the overall list element, defaulting to `ul`
|
|
|
|
;subtype
|
|
|
|
: An HTML element to use for each item in the list, defaulting to `li`
|
|
|
|
;class
|
|
|
|
: A [[CSS|Cascading Style Sheets]] class for the overall list element
|
2018-01-09 17:13:45 +00:00
|
|
|
;emptyMessage
|
|
|
|
: Optional wikitext to display if there are no tiddlers with the specified tag
|
2014-09-17 11:13:24 +00:00
|
|
|
|
2015-02-24 16:41:16 +00:00
|
|
|
<<.macro-examples "list-links">>
|