mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-17 23:34:50 +00:00
26 lines
702 B
Plaintext
26 lines
702 B
Plaintext
created: 20151231083708980
|
|
modified: 20211117212723856
|
|
tags: Languages
|
|
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>
|