insertpagetag.txt

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

TXT
31
字号
Inserts formatted or unformatted page contents.

----

!Usage

<wiki:InsertPage page="<page name>" mode="plain|html" />

!Parameters

;__page__: The name of the page to insert.  If not set, inserts the current page.
;__mode__: If set to "plain", inserts the actual WikiMarkup (for example, for an editor).  If "html", will insert rendered HTML snippet.  Default is to insert HTML.

!Example
{{{
<%@ taglib uri="/WEB-INF/jspwiki.tld" prefix="wiki" %>
<html>
  <head>
     <title><wiki:PageName /></title>
  </head>
  <body>
     <h1><wiki:PageName /></h1>
     <wiki:InsertPage />
     <hr /><br />
     <wiki:EditLink>Edit this page</wiki:EditLink>
  </body>
</html>
}}}

This is an extraordinarily minimal [template|WikiTemplates] for JSPWiki, which basically just displays the page name in a h1-type heading, and then inserts the renderd page contents. 

⌨️ 快捷键说明

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