mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-24 18:47:20 +00:00
21 lines
457 B
Plaintext
21 lines
457 B
Plaintext
|
created: 20140809113603449
|
||
|
modified: 20140809113849873
|
||
|
tags: demo
|
||
|
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>
|