@Torax Malu

well, if such kind of information is so welcomed,
>

Of course it is

 

> The reveal only interpretes the tiddler only with the given template, if 
> it has type JSON. Otherwise it will display the content as normal TW-Text. 
> You can also add other protections like version-fields and so on, but I 
> think the basic ideas is visible.
>

Interesting code-- i can use something like that

kinda like conditional field display that selects/shows field content but 
for created and modified fileds will automatically apply date format

used with table column headers of WikiWitchery Tiddler Explorer for 
selecting any field to display in the column without having to edit the 
table code
xxxx nomatch what displays if any field other than created or modified is 
selected
xxxx match -- what displays if created or modified fields are selected

xxxx nomatch<$reveal type="nomatch" stateTitle="conditional reveal date 
format" stateField="filter-field5" text="created">
<$reveal type="nomatch" stateTitle="conditional reveal date format" 
stateField="filter-field5" text="modified">
title -1- <$view field="title"/>
</$reveal>
</$reveal>
<br/>
xxxx matches<$reveal type="match" stateTitle="conditional reveal date 
format" stateField="filter-field5" text="created">
created -1- <$view field={{!!filter-field5}}/> -2- <$view 
field={{!!filter-field5}} format="date" template="DD mmm YYYY"/>
</$reveal>
<$reveal type="match" stateTitle="conditional reveal date format" 
stateField="!!filter-field5" text="modified">
modified -1- <$view field={{!!filter-field5}}/> -2- <$view 
field={{filter-field5}} format="date" template="DD mmm YYYY"/>
</$reveal>

working example of that attached as well as demos of buttons, reveals and 
css for selective turining on/off image "layering", table column collapses, 
border altering, image rotation

also involving in-tiddler css manipulation with interactive controls-- this 
case css filters manipulation of images (but will work on other html 
elements)
https://groups.google.com/d/msg/tiddlywiki/QC7Y1Sss2es/jphYhQg9CQAJ

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7f0aebed-ac1e-4932-aaad-b206c4dc6244%40googlegroups.com.

Attachment: conditional reveal date format.tid
Description: Binary data

Attachment: collapse table columns bar.tid
Description: Binary data

Attachment: selective inline syling test.tid
Description: Binary data

Reply via email to