2013-10-31 22:03:40 +00:00
|
|
|
title: CountWidget
|
|
|
|
created: 201310241419
|
2019-01-27 19:28:42 +00:00
|
|
|
modified: 20181231131
|
2014-09-10 23:06:19 +00:00
|
|
|
tags: Widgets
|
|
|
|
caption: count
|
2013-10-31 22:03:40 +00:00
|
|
|
|
|
|
|
! Introduction
|
|
|
|
|
2018-07-19 16:59:24 +00:00
|
|
|
The count widget displays the number of unique items in the output of specified [[filter expressions|Filters]].
|
2013-10-31 22:03:40 +00:00
|
|
|
|
|
|
|
! Content and Attributes
|
|
|
|
|
|
|
|
The content of the `<$count>` widget is ignored.
|
|
|
|
|
|
|
|
|!Attribute |!Description |
|
|
|
|
|filter |The filter expression to count |
|
2019-01-27 19:28:42 +00:00
|
|
|
|
|
|
|
! Example
|
|
|
|
<<wikitext-example-without-html """There are <$count filter="[tag[Examples]]"/> tiddlers tagged with Examples""">>
|