mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-28 12:02:40 +00:00
![Marxsal](/assets/img/avatar_default.png)
The 2nd filter example is broken and yields no results, probably because it doesn't see shadow tiddlers. Added 'all' filter to bring in actual palettes.
8 lines
500 B
Plaintext
8 lines
500 B
Plaintext
created: 20150203140000000
|
|
modified: 20170608150301791
|
|
tags: [[getindex Operator]] [[Operator Examples]]
|
|
title: getindex Operator (Examples)
|
|
type: text/vnd.tiddlywiki
|
|
|
|
<<.operator-example 1 "[[$:/palettes/Vanilla]getindex[background]]" "returns the value at index ''background'' of the [[DataTiddler|DataTiddlers]] [[$:/palettes/Vanilla]]">>
|
|
<<.operator-example 2 "[all[shadows+tiddlers]tag[$:/tags/Palette]getindex[background]]" "returns all background colors defined in any of the ColourPalettes">> |