mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-18 14:10:28 +00:00
26 lines
660 B
Plaintext
26 lines
660 B
Plaintext
created: 20151231083708980
|
|
modified: 20151231084132703
|
|
tags:
|
|
title: LanguageGallery
|
|
type: text/vnd.tiddlywiki
|
|
|
|
Here is an example of using the ListWidget and the TranscludeWidget to show a grid of all language icons (ie, tiddlers tagged [[Language]] and [[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>
|