1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-29 11:30:28 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/system/tw5.com-card-template.tid
twMat c49d5a3b08
[tw.com] Improve the saver cards (#6799)
* [tw.com] Improve the saver cards

* [tw.com] Improve the saver cards _ take 2

* Update tw5.com-styles.tid
2022-07-19 19:05:23 +01:00

22 lines
647 B
Plaintext

created: 20200507002521489
modified: 20220719134613555
title: $:/_tw5.com-card-template
type: text/vnd.tiddlywiki
\define tw-card-template(bordercolor:"")
\whitespace trim
<div class="tc-card" style="border-top: 5px solid $bordercolor$;">
<$link>
<$let tv-wikilinks=no>
<div class="tc-card-title"><$transclude field="caption"><$view field="title"/></$transclude></div>
<div class="tc-card-author">
<$list filter="[is[current]has[community-author]]">by&nbsp;{{!!community-author}}</$list>
</div>
<p><$view field="description"/></p>
</$let>
</$link>
</div>
\end
<$macrocall $name="tw-card-template" bordercolor={{!!color}}/>