mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-06-27 15:42:58 +00:00
Merge branch 'tiddlywiki-com'
This commit is contained in:
commit
2a19c60e20
@ -17,5 +17,5 @@ The regular expression `[0-9]{2}` matches two consecutive digits. Because it con
|
|||||||
<$macrocall
|
<$macrocall
|
||||||
$name="wikitext-example-without-html"
|
$name="wikitext-example-without-html"
|
||||||
src="""<$set name="digit-pattern" value="[0-9]{2}">
|
src="""<$set name="digit-pattern" value="[0-9]{2}">
|
||||||
<<list-links "[regexp:title<digit-pattern>]">>
|
<<list-links "[regexp:title<digit-pattern>]" field:"title">>
|
||||||
</$set>"""/>
|
</$set>"""/>
|
||||||
|
@ -15,7 +15,7 @@ Note: Each first [[step|Filter Step]] of a [[filter run|Filter Run]] not given a
|
|||||||
|
|
||||||
;filter
|
;filter
|
||||||
: A [[filter|Filters]] selecting which tiddlers to include
|
: A [[filter|Filters]] selecting which tiddlers to include
|
||||||
;caption
|
;field
|
||||||
: The name of the field to transclude for each list item, defaulting to `caption`
|
: The name of the field to transclude for each list item, defaulting to `caption`
|
||||||
;type
|
;type
|
||||||
: An HTML element to use for the overall list element, defaulting to `ul`
|
: An HTML element to use for the overall list element, defaulting to `ul`
|
||||||
|
@ -1,9 +1,14 @@
|
|||||||
caption: $:/tags/ClassFilters/TiddlerTemplate
|
caption: $:/tags/ClassFilters/TiddlerTemplate
|
||||||
created: 20221020035738692
|
created: 20221020035738692
|
||||||
description: marks filters evaluated to dynamically add classes to the page template.
|
description: marks filters evaluated to dynamically add classes to the page template.
|
||||||
modified: 20221020035933363
|
modified: 20230326153057521
|
||||||
tags: SystemTags
|
tags: SystemTags
|
||||||
title: SystemTag: $:/tags/ClassFilters/TiddlerTemplate
|
title: SystemTag: $:/tags/ClassFilters/TiddlerTemplate
|
||||||
type: text/vnd.tiddlywiki
|
type: text/vnd.tiddlywiki
|
||||||
|
|
||||||
The [[system tag|SystemTags]] `$:/tags/ClassFilters/TiddlerTemplate` marks filters evaluated to dynamically add their output as CSS classes to the tiddler template.
|
The [[system tag|SystemTags]] `$:/tags/ClassFilters/TiddlerTemplate` marks filters evaluated to dynamically add their output as CSS classes to the tiddler template.
|
||||||
|
|
||||||
|
The variables available are within each filter:
|
||||||
|
|
||||||
|
* <<.var storyTiddler>>: the tiddler in the story for which the filter should be evaluated.
|
||||||
|
* <<.var currentTiddler>>: the tiddler holding the filter definition being evaluated.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user