mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-23 10:06:44 +00:00
![AlexHough](/assets/img/avatar_default.png)
* add Example to title brings naming convention in line with ImageGallery Example * Update LanguageGallery.tid
26 lines
693 B
Plaintext
26 lines
693 B
Plaintext
created: 20151231083708980
|
|
modified: 20151231084132703
|
|
tags:
|
|
title: LanguageGallery Example
|
|
type: text/vnd.tiddlywiki
|
|
|
|
Here is an example of using the ListWidget and the TranscludeWidget to show a grid of all of Language Icons which are tiddlers [[tagged|Tagging]] <<tag Language>>and <<tag Icon>>
|
|
|
|
<style>
|
|
.language-gallery img {
|
|
width: 5em;
|
|
height: auto;
|
|
margin: 0.5em;
|
|
-webkit-box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
|
|
-moz-box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
|
|
box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
|
|
}
|
|
</style>
|
|
<div class="language-gallery">
|
|
<$list filter="[all[tiddlers+shadows]tag[Language]tag[Icon]]">
|
|
<span title=<<currentTiddler>>>
|
|
<$transclude/>
|
|
</span>
|
|
</$list>
|
|
</div>
|