> 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 "fieldn...@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> enjoy, -e Eric Shulman TiddlyTools / ELS Design Studios --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~----------~----~----~----~------~----~------~--~---

