The ~InsertPage plugins allows you to include the contents of another page into the current page.

Parameters

  • page = WikiName. The WikiName of the page you want to insert.
  • style = CSS definition. A style you want to use to include the page with.
  • maxlength = integer. If the page exceeds this length in characters, it will be truncated and a text "More..." linking to the page will be appended.
  • section = integer. Inserts only a part of a page. The sections are separated with "
    ----
    " and are counted starting from one (1), that is, the first section on a page is number 1.
  • default = string. If the page does not exist, will insert this default. If not defined, inserts a suggestion to create the page.

Example

[{InsertPage page='About' 
             style='font-size: 85%; margin: 10px; padding: 5px; border-width: thin;
 border-style:inset; background: #dedede; font-family:monospace' 
             maxlength=200}]

will produce:

[

Unknown macro: {InsertPage page='About' style='font-size}

|

Unknown macro: {InsertPagepage='About'style='font-size}

]


Back to JSPWikiPlugins.