mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-12-12 19:58:05 +00:00
Merge branch 'tiddlywiki-com'
This commit is contained in:
@@ -0,0 +1,21 @@
|
|||||||
|
created: 20220719120233104
|
||||||
|
list-after: $:/core/ui/ViewTemplate/body
|
||||||
|
modified: 20220719120319922
|
||||||
|
tags: $:/tags/ViewTemplate
|
||||||
|
title: $:/editions/tw5.com/systemtag-template
|
||||||
|
|
||||||
|
<$list filter='[all[current]prefix[SystemTag: ]]'>
|
||||||
|
<$let tag={{{ [all[current]removeprefix[SystemTag: ]] }}} >
|
||||||
|
|
||||||
|
<$list filter='[all[tiddlers+shadows]tag<tag>limit[1]]' emptyMessage='(No tiddlers are currently tagged with <<tag>> )'>
|
||||||
|
|
||||||
|
The following tiddlers are tagged with <<tag>>
|
||||||
|
|
||||||
|
<table>
|
||||||
|
<tr><th></th><th>caption</th></tr>
|
||||||
|
<$list filter='[all[tiddlers+shadows]tag<tag>sort[]]'>
|
||||||
|
<tr>
|
||||||
|
<td><$link/></td>
|
||||||
|
<td>{{!!caption}}</td>
|
||||||
|
</tr>
|
||||||
|
</$list></table></$list></$let></$list>
|
||||||
@@ -5,7 +5,7 @@ tags: Macros [[Core Macros]]
|
|||||||
title: tag Macro
|
title: tag Macro
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
The <<.def tag>> [[macro|Macros]] generates a tag pill for a specified tag.
|
The <<.def tag>> [[macro|Macros]] generates a tag pill for a specified tag. Clicking the tag pill opens a dropdown. This can be compared to the [[tag-pill Macro]] which also features other parameters.
|
||||||
|
|
||||||
!! Parameters
|
!! Parameters
|
||||||
|
|
||||||
|
|||||||
@@ -1,16 +1,20 @@
|
|||||||
created: 20200507002521489
|
created: 20200507002521489
|
||||||
modified: 20200515012732244
|
modified: 20220719134613555
|
||||||
tags:
|
|
||||||
title: $:/_tw5.com-card-template
|
title: $:/_tw5.com-card-template
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
\define tw-card-template(bordercolor:"")
|
\define tw-card-template(bordercolor:"")
|
||||||
|
\whitespace trim
|
||||||
<div class="tc-card" style="border-top: 5px solid $bordercolor$;">
|
<div class="tc-card" style="border-top: 5px solid $bordercolor$;">
|
||||||
<$link>
|
<$link>
|
||||||
<div class="tc-card-title"><$transclude field="caption"><$view field="title"/></$transclude></div>
|
<$let tv-wikilinks=no>
|
||||||
<div class="tc-card-author"> <$list filter="[is[current]has[community-author]]">by {{!!community-author}}</$list></div>
|
<div class="tc-card-title"><$transclude field="caption"><$view field="title"/></$transclude></div>
|
||||||
<p><$view field="description"/></p>
|
<div class="tc-card-author">
|
||||||
</$link>
|
<$list filter="[is[current]has[community-author]]">by {{!!community-author}}</$list>
|
||||||
|
</div>
|
||||||
|
<p><$view field="description"/></p>
|
||||||
|
</$let>
|
||||||
|
</$link>
|
||||||
</div>
|
</div>
|
||||||
\end
|
\end
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
created: 20200507002727378
|
created: 20200507002727378
|
||||||
modified: 20200515024640489
|
modified: 20220719132112414
|
||||||
tags: $:/tags/Stylesheet
|
tags: $:/tags/Stylesheet
|
||||||
title: $:/_tw5.com-styles
|
title: $:/_tw5.com-styles
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
@@ -151,7 +151,8 @@ type: text/vnd.tiddlywiki
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tc-card-author {
|
.tc-card-author {
|
||||||
text-align: right;
|
text-align: center;
|
||||||
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tc-card p {
|
.tc-card p {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
caption: list
|
caption: list
|
||||||
created: 20131024141900000
|
created: 20131024141900000
|
||||||
modified: 20210416175333981
|
modified: 20220718120325494
|
||||||
tags: Widgets Lists
|
tags: Widgets Lists
|
||||||
title: ListWidget
|
title: ListWidget
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
@@ -117,7 +117,7 @@ Displays as:
|
|||||||
</$list>
|
</$list>
|
||||||
<<<
|
<<<
|
||||||
|
|
||||||
Note that using the `counter` attribute can degrade the performance of the list widget in certain circumstances. In particular, it prevents an optimisation that normally occurs when dynamically adding or removing entries.
|
Note that using the `counter` attribute can can reduce performance when working with list items that dynamically reorder or update themselves. The best advice is only to use it when it is really necessary: to obtain a numeric index, or to detect the first or last entries in the list.
|
||||||
|
|
||||||
!! Edit mode
|
!! Edit mode
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user