History: PluginVersions
Source of version: 32 (current)
Copy to clipboard
{syntax type="markdown" editor="wysiwyg"} # Plugin Versions Use this ((Wiki Plugin)) to divide a ((wiki)) page into separate "versions." Tiki will display a navigation box that allows users to display each version of the page. For example, you can use this plugin to separate a single wiki page into Release 1, Release 2, and Release 3 information. ## Parameters {pluginmanager plugin="versions"} ### Notes - If you use ((Wiki Config)) wiki page caching, this plugin may not render properly. - The "versions" used for this plugin are different than the "versions" stored in the {ALINK(pagename=Using Wiki Pages, aname=_Page_History)}wiki page history{ALINK}. ## Examples To separate different versions of text use: 3 dashes (hyphens), followed by the version label in parenthesis, followed by at least 3 other dashes or hyphens. For example: {BOX()}~np~<strike>-(version 3)</strike><strike>-</strike><strike>-</strike><strike>-</strike><strike>-</strike><strike>-</strike>--~/np~{BOX} ### Basic example *This code:* {BOX()} ~np~{VERSIONS(nav="y" title="y")}~/np~ This is the default text ~np~<strike>-(version 3)</strike><strike>-</strike><strike>-</strike><strike>-</strike><strike>-</strike><strike>-</strike>--~/np~ This is version 3 info ~np~<strike>-(version 2)</strike><strike>-</strike><strike>-</strike><strike>-</strike><strike>-</strike><strike>-</strike>--~/np~ This is version 2 info ~np~<strike>-(version 1)</strike><strike>-</strike><strike>-</strike><strike>-</strike><strike>-</strike><strike>-</strike>--~/np~ This is version 1 info ~np~{VERSIONS}~/np~ {BOX} *Would produce:* {VERSIONS(nav="y" title="y")} This is the default text ---(version 3)----------------------------- This is version 3 info ---(version 2)----------------------------- This is version 2 info ---(version 1)----------------------------- This is version 1 info {VERSIONS} ### More Examples *This code:* {CODE()} {VERSIONS(nav="n")} This is the default text ---(version 3)----------------------------- This is version 3 info ---(version 2)----------------------------- This is version 2 info ---(version 1)----------------------------- This is version 1 info {VERSIONS} {CODE} *Would produce:* {VERSIONS(nav="n")} This is the default text ---(version 3)----------------------------- This is version 3 info ---(version 2)----------------------------- This is version 2 info ---(version 1)----------------------------- This is version 1 info {VERSIONS} Sample usage in conjunction with ((PluginTracker)) and ((PluginTrackerList)) (these are Screenshots): {BOX()} {DIV(style='text-align: center')}{img src="img/wiki_up/PluginVersions_01.png" desc="Default text: Formulari, using PluginTracker"}{DIV} {BOX} {BOX()} {DIV(style='text-align: center')}{img src="img/wiki_up/PluginVersions_02.png" desc="Alternate version: Mostra les pre-inscripcions ja realitzades, , using PluginTrackerList"}{DIV} {BOX} ## Alias - (alias(PluginVersion))