1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-28 19:10:28 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/macros/list-thumbnails Macro.tid

20 lines
666 B
Plaintext
Raw Normal View History

2020-08-14 14:04:01 +00:00
caption: list-thumbnails
created: 20200612170158838
2024-06-06 16:15:41 +00:00
modified: 20230803033631967
tags: Macros [[Core Macros]]
title: list-thumbnails Macro
type: text/vnd.tiddlywiki
2024-06-06 16:15:41 +00:00
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
2024-06-06 16:15:41 +00:00
: A [[filter|Filters]] for selecting thumbnails
;width
2024-06-06 16:15:41 +00:00
: A width in px for the thumbnail, defaulting to `280`
;height
2024-06-06 16:15:41 +00:00
: A height in px for the thumbnail, defaulting to `157`
<<.macro-examples "list-thumbnails">>