> Actually its really good for putting images inline
> <<alias smiley "[img[file:%0.png]]">>
> then
> <<smiley sad>>
> This could also be used for image galleries etc.
In addition to AliasPlugin, there are several other TiddlyTools
plugins that can be used to generate dynamic content:
http://www.TiddlyTools.com/#WikifyPlugin
Similar to AliasPlugin, in that it does "%n" substitution, but doesn't
create an "alias macro", and parameter reference syntax
"fieldname@tiddlername" and "tiddlername::slicename" to retrieve and
output values from custom fields or tiddler slices, respectively.
http://www.TiddlyTools.com/#InlineJavascriptPlugin
A power-tool for anyone with even just a little programming ability...
embed inline <script>...</script> blocks within tiddler content, and
use virtually any javascript-based logic you want to assemble and
return the desired output text, which is automatically passed to the
core's wikify() function for rendering into the tiddler. For example:
<script>
var hour=new Date().getHour();
var out="Good evening";
if (hour<18) out="Good afternoon";
if (hour<12) out="Good morning";
if (hour<6) out="Why aren't you asleep?";
return out;
</script>
The plugin can also be used to create 'onclick' scripts that embed a
'command link' into the output and invoke the script action only when
that link is clicked:
<script label="what time is it?">
return "<br>"+new Date().toString();
</script>