title: $:/core/macros/thumbnails tags: $:/tags/Macro \define thumbnail(link,icon,color,background-color,image,caption,width:"280",height:"157") <$link to="""$link$""">
<$reveal type="nomatch" text="" default="""$image$""" tag="div" style="width:$width$px;height:$height$px;" >[img[$image$]]<$reveal type="match" text="" default="""$image$""" tag="div" class="tc-thumbnail-background" style="width:$width$px;height:$height$px;background-color:$background-color$;" >
$icon$
$caption$
\end \define thumbnail-right(link,icon,color,background-color,image,caption,width:"280",height:"157")
<>
\end \define list-thumbnails(filter,width:"280",height:"157") <$list filter="""$filter$"""><$macrocall $name="thumbnail" link={{!!link}} icon={{!!icon}} color={{!!color}} background-color={{!!background-color}} image={{!!image}} caption={{!!caption}} width="""$width$""" height="""$height$"""/> \end