⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 linktoparenttag.txt

📁 wiki建站资源 java编写的 很好用
💻 TXT
字号:
Creates a link to the parent of a [WikiPage].  This is mainly intended to work with [WikiAttachments], that is, if the page you are referring to is an attachment, it will generate the correct link.

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

----

!Usage

<wiki:LinkToParent page="<page name>" format="anchor|url">
;:''Link text''
</wiki:LinkToParent>

!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
{{{
The parent of this attachment is <wiki:LinkToParent><wiki:ParentPageName /></wiki:LinkToParent>.
}}}

⌨️ 快捷键说明

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