mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-10-30 14:46:19 +00:00
21 lines
461 B
Plaintext
21 lines
461 B
Plaintext
created: 20140809113603449
|
|
modified: 20140919161451179
|
|
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]]">
|
|
<$transclude/>
|
|
</$list>
|
|
</div>
|