blob: 26ed69fd2464494eaba42dbce2c936ad36de6487 [file] [log] [blame]
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:
[{InsertPage page='About' style='font-size: 85%; margin: 10px; padding: 5px; border-width: thin; border-style:inset; background: #dedede; font-family:monospace' maxlength=200}]
----
Back to [JSPWikiPlugins].