mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 21:39:57 +00:00
21 lines
535 B
Plaintext
21 lines
535 B
Plaintext
|
created: 20140809113603449
|
||
|
modified: 20141115231900490
|
||
|
tags: Learning
|
||
|
title: ImageGallery Example
|
||
|
type: text/vnd.tiddlywiki
|
||
|
|
||
|
Voici un exemple d'utilisation des widgets [[List|ListWidget]] et [[Transclude|TranscludeWidget]] pour afficher une grille de toutes les images //système// (autrement dit, les tiddlers tagués avec [[$:/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>
|