mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-18 19:59:25 +00:00
23 lines
501 B
Plaintext
23 lines
501 B
Plaintext
created: 20140809113603449
|
|
modified: 20150520161451179
|
|
tags: Learning
|
|
title: ImageGallery Example
|
|
type: text/vnd.tiddlywiki
|
|
|
|
Here is an example of using the ListWidget and the TranscludeWidget to show a grid of all system images (ie, tiddlers tagged [[$:/tags/Image]]).
|
|
|
|
<style>
|
|
.my-gallery svg {
|
|
width: 6em;
|
|
height: 6em;
|
|
margin: 1em;
|
|
}
|
|
</style>
|
|
<div class="my-gallery">
|
|
<$list filter="[all[tiddlers+shadows]tag[$:/tags/Image]]">
|
|
<span title=<<currentTiddler>>>
|
|
<$transclude/>
|
|
</span>
|
|
</$list>
|
|
</div>
|