1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-28 19:10:28 +00:00
TiddlyWiki5/core/wiki/macros/timeline.tid

20 lines
547 B
Plaintext
Raw Normal View History

title: $:/core/macros/timeline
tags: $:/tags/Macro
\define timeline(limit:"100",format:"DDth MMM YYYY",subfilter:"")
2014-09-08 17:58:48 +00:00
<div class="tc-timeline">
<$list filter="[!is[system]$subfilter$has[modified]!sort[modified]limit[$limit$]eachday[modified]]">
2014-08-28 18:41:29 +00:00
<div class="tc-menu-list-item">
2014-09-08 17:58:48 +00:00
<$view field="modified" format="date" template="$format$"/>
<$list filter="[sameday{!!modified}!is[system]$subfilter$!sort[modified]]">
2014-08-28 18:41:29 +00:00
<div class="tc-menu-list-subitem">
<$link to={{!!title}}>
<$view field="title"/>
</$link>
</div>
</$list>
</div>
</$list>
2014-09-08 17:58:48 +00:00
</div>
\end