mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Add docs for list-thumbnails macro
Thanks @Marxsal
This commit is contained in:
parent
b8225f6993
commit
5cda5c82e1
@ -0,0 +1,11 @@
|
||||
created: 20200612170734735
|
||||
modified: 20200612171403882
|
||||
tags: [[Macro Examples]]
|
||||
title: list-thumbnails Macro (Examples)
|
||||
type: text/vnd.tiddlywiki
|
||||
|
||||
This example lists all the tiddlers which are tagged with "HelloThumbnail":
|
||||
|
||||
<$macrocall $name=".example" n="1" eg="""<<list-thumbnails filter:"[tag[HelloThumbnail]]" width:"168" height:"95">>"""/>
|
||||
|
||||
|
19
editions/tw5.com/tiddlers/macros/list-thumbnails Macro.tid
Normal file
19
editions/tw5.com/tiddlers/macros/list-thumbnails Macro.tid
Normal file
@ -0,0 +1,19 @@
|
||||
caption: thumbnail
|
||||
created: 20200612170158838
|
||||
modified: 20200612171804473
|
||||
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.
|
||||
|
||||
!! Parameters
|
||||
|
||||
;filter
|
||||
: filter for selecting thumbnails
|
||||
;width
|
||||
:Width of thumbnail (default 280 pixels)
|
||||
;height
|
||||
:Height of thumbnail (default 157 pixels)
|
||||
|
||||
<<.macro-examples "list-thumbnails">>
|
Loading…
Reference in New Issue
Block a user