mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-10 03:49:56 +00:00
20 lines
666 B
Plaintext
20 lines
666 B
Plaintext
caption: list-thumbnails
|
|
created: 20200612170158838
|
|
modified: 20230803033631967
|
|
tags: Macros [[Core Macros]]
|
|
title: list-thumbnails Macro
|
|
type: text/vnd.tiddlywiki
|
|
|
|
The <<.def list-thumbnails>> [[macros|Macros]] are used to create lists of linkable thumbnail panels. It assumes that the input has <<.field icon>>, <<.field color>>, <<.field background-color>>, <<.field image>>, and <<.field caption>> fields, filled as desired.
|
|
|
|
!! Parameters
|
|
|
|
;filter
|
|
: A [[filter|Filters]] for selecting thumbnails
|
|
;width
|
|
: A width in px for the thumbnail, defaulting to `280`
|
|
;height
|
|
: A height in px for the thumbnail, defaulting to `157`
|
|
|
|
<<.macro-examples "list-thumbnails">>
|