mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-10 22:39:43 +00:00
![00SS](/assets/img/avatar_default.png)
* Update CountWidget.tid Just a simple example added. * Update CountWidget.tid Made a slight addition to conform with the same style used in the Examples section of the $text widget: TextWidget.tid * Update CountWidget.tid Modified to use the Documentation display macro: `<<wikitext-example-without-html>>`
20 lines
494 B
Plaintext
20 lines
494 B
Plaintext
title: CountWidget
|
|
created: 201310241419
|
|
modified: 20181231131
|
|
tags: Widgets
|
|
caption: count
|
|
|
|
! Introduction
|
|
|
|
The count widget displays the number of unique items in the output of specified [[filter expressions|Filters]].
|
|
|
|
! Content and Attributes
|
|
|
|
The content of the `<$count>` widget is ignored.
|
|
|
|
|!Attribute |!Description |
|
|
|filter |The filter expression to count |
|
|
|
|
! Example
|
|
<<wikitext-example-without-html """There are <$count filter="[tag[Examples]]"/> tiddlers tagged with Examples""">>
|