1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 10:29:54 +00:00

Incomplete docs about the thumbnail macro

This commit is contained in:
Jermolene 2015-03-25 22:15:34 +00:00
parent 8c7a6c5030
commit 3e8d1b3955
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,14 @@
caption: thumbnail
created: 20150325172203603
modified: 20150325172336079
tags: Macros [[Core Macros]]
title: thumbnail Macro
type: text/vnd.tiddlywiki
The <<.def thumbnail>> [[macros|Macros]] are used to create linkable thumbnail panels.
!! Parameters
(none)
<<.macro-examples "thumbnail">>

View File

@ -0,0 +1,13 @@
created: 20150325171700344
modified: 20150325172147259
tags: [[thumbnail Macro]] [[Macro Examples]]
title: thumbnail Macro (Examples)
type: text/vnd.tiddlywiki
! Examples
Here is an example of the `thumbnail-right` macro used to create a video thumbnail that floats to the right of the text
<$macrocall $name=".example" n="1" eg="""<<thumbnail-right link:"Introduction Video" image:"Introduction Video Thumbnail.jpg" caption:"Introduction to ~TiddlyWiki" icon:"{{$:/core/images/video}}" color:"red">>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."""/>