1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-09 03:19:56 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/demonstrations/ImageGallery Example.tid

21 lines
461 B
Plaintext
Raw Normal View History

2014-08-09 11:41:02 +00:00
created: 20140809113603449
2014-09-19 16:18:25 +00:00
modified: 20140919161451179
tags: Learning
2014-08-09 11:41:02 +00:00
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]]">
<$transclude/>
</$list>
</div>