Revision [4717]
This is an old revision of UsingActions made by DarTar on 2005-01-17 12:29:30.
Using actions in Wikka pages
About actions
Actions are small (or not so small) pieces of code that generate automatic content in within a page. An action may provide simple content, or it may provide an interactive "service" with a form for user input.Some actions are considered "core" and are essential to the functioning of Wikka as a WikiEngine. Others are better classified as "plugins", providing extra, less essential functionality. Of course, WikkaWiki comes with all "core" actions and a nice collection of "plugins". Many Wikka users also make additional plugins available through this site.
Using actions
To include an action in a page, simply edit the page and put the name of the action, between {{ and }}, on it. Action names are case-insensitive.Many actions can be customized by providing extra parameters; a parameter must always have its value enclosed in double quotes. Unknown parameters are simply ignored; in some cases one or more parameters may be required.
content example:
use {{version}} to display the current Wikka version running:
Unknown action ""version""
service example:
use {{googleform}} to provide an empty form to search Google; you may add a parameter to suggest a search term, as in {{googleform q="Wikka"}}:
Actions in the WikkaWiki distribution
The following actions are distributed with WikkaWiki (version Unknown action ""version"") (listed in alphabetical order):- colour - may be dropped in 1.1.6.0 (synonym of color)
- FooterActionInfo footer - produces the footer of the wiki-pages. Better not to be used inside pages itself!
- HeaderActionInfo header - produces the header of the wiki-pages. MUST not to be used inside pages itself (could lead to weird display problems because the result would be invalid XHTML)!
- InterwikiActionInfo interwikilist - produces a list as shown in InterWiki
- wakkabug - this file is no longer used and will be dropped in 1.1.6.0
Also available: Mod018fIFrameAction
CategoryDocumentation