commentlinktag.txt

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

TXT
24
字号
Creates a link that links to the comment editor for a [WikiPage].  It works the same way as [EditLinkTag], but instead comments are appended to the end of the page.

Why would you use this instead of a standard anchor?  The CommentLinkTag automatically adds things like the correct class information (for styles), the jspwiki.baseURL property, etc.

----

!Usage

{{{
<wiki:CommentLink page="<page name>" format="anchor|url">
  Link text
</wiki:LinkTo>
}}}

!Parameters

;__page__: Page name to link to. If not set, uses the current page.
;__format__: If "anchor", creates the full hyperlink (<a href="...">link text</a>); if "url", outputs only the URL.

!Example
{{{
<wiki:CommentLink>Add a comment to this page</wiki:CommentLink>
}}}

⌨️ 快捷键说明

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