checkversiontag.txt

来自「wiki建站资源 java编写的 很好用」· 文本 代码 · 共 19 行

TXT
19
字号
Does a version check on the page.  If the page does not exist, the body is never included.

!Usage

<wiki:CheckVersion mode="latest|notlatest">
;:''JSP or HTML code''
</wiki:CheckVersion>

!Parameters

;__mode__: If 'latest', will include the body if the current page is the latest version.  If 'notlatest', will include the body only if the current page is not the latest version. If "first", includes the body if and only if the current page is the first revision, and if it's "notfirst", includes only if it's not the first version.

!Example
{{{
<wiki:CheckVersion mode="notlatest">
    <B>Warning: This page is not the latest version.</B>
</wiki:CheckVersion>
}}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?