Loading...
 
Skip to main content

History: PluginVersions

Source of version: 31 (current)

Copy to clipboard
            ! 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:
^~np~---(version 3)-----------------------------~/np~^

!!! Basic example
''This code:''
^
~np~{VERSIONS(nav="y" title="y")}~/np~

This is the default text

~np~---(version 3)-----------------------------~/np~

This is version 3 info

~np~---(version 2)-----------------------------~/np~

This is version 2 info

~np~---(version 1)-----------------------------~/np~

This is version 1 info

~np~{VERSIONS}~/np~
^

''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):
^::{img src="img/wiki_up/PluginVersions_01.png" desc="Default text: Formulari, using PluginTracker"}::^

^::{img src="img/wiki_up/PluginVersions_02.png" desc="Alternate version: Mostra les pre-inscripcions ja realitzades, , using PluginTrackerList"}::^

!!Alias
* (alias(PluginVersion))