[[PageOutline(2-5,Content,pullout)]] = Insert Templates in your Wiki Edit boxes = == Description == An extra 'toolbar' is added to let your users choose from some predefined templates. In your templates you can also define variables which the user then has to fill in. This is my first patch so I hope it works :) .....it didn't yesterday :) so now it works hehe It's for version 10.3 Yes, you have a macro which does the same thing, but here it is more for frequently used code snippets. Possible future work: It could be made that a plugin adds his templates as an array to a global javascript array, and then it is easier to work with certain macro's. It's just an idea. == Bugs/Feature Requests == Existing bugs and feature requests for WikiToolbarTemplatesPatch are [report:9?COMPONENT=WikiToolbarTemplatesPatch here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=WikiToolbarTemplatesPatch&owner=majorTom new ticket]. == Download == Download the zipped source from [download:wikitoolbartemplatespatch here]. == Source == You can check out WikiToolbarTemplatesPatch from [http://trac-hacks.org/svn/wikitoolbartemplatespatch here] using Subversion, or [source:wikitoolbartemplatespatch browse the source] with Trac. == Example == In trac/htdocs/js you can find [attachment:wikitoolbar.js]. Replace this file, and add [attachment:wikitoolbartemplatetext.js] there too. Now it should work :) Edit the latter file to adapt the templates. == Recent Changes == [[ChangeLog(wikitoolbartemplatespatch, 3)]] == Author/Contributors == '''Author:''' [wiki:majorTom] [[BR]] '''Maintainer:''' [wiki:majorTom] [[BR]] '''Contributors:'''