1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-04 07:19:56 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/macros/thumbnail Macro.tid
2024-06-06 17:15:41 +01:00

29 lines
867 B
Plaintext

caption: thumbnail
created: 20150325172203603
modified: 20230803033450805
tags: Macros [[Core Macros]]
title: thumbnail Macro
type: text/vnd.tiddlywiki
The <<.def thumbnail>> [[macro|Macros]] is used to create linkable thumbnail panels. An alternative <<.def thumbnail-right>> macro uses the same parameters, but floats to the right of its container.
!! Parameters
;link
: The tiddler to link to
;icon
: An icon to place in the center of the thumbnail. Must be enclosed in curly brackets
;color
: A color for the icon
;background-color
: A background color if there is no image. Does not show if the image has transparency
;image
: A background image for the thumbnail
;caption
: A caption for the element
;width
: A width in px for the thumbnail, defaulting to `280`
;height
: A height in px for the thumbnail, defaulting to `157`
<<.macro-examples "thumbnail">>