1 Date: Fri, 7 Dec 2012 14:58:45 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0)
3 Content-Type: application/x-phpwiki;
4 pagename=Help%2FIncludePagePlugin;
5 flags=PAGE_LOCKED%2CEXTERNAL_PAGE;
7 Content-Transfer-Encoding: binary
9 The **~IncludePage** [[Help:WikiPlugin|plugin]] will "include" other pages in this wiki. In the language of hypertext this is called //transclusion//.
10 The pages will render in distinct tables. You can also load external pages in a more limited fashion with the [[Help:FrameIncludePlugin|FrameInclude]] plugin.
15 <<IncludePage page=OtherPage rev=6 quiet=1 words=50 lines=6>>
28 | //None// (required argument)
32 | most recent revision
35 | if set, inclusion appears as normal content
39 | maximum number of bytes to include
40 | //None// (include all page)
43 | maximum number of words to include
44 | //None// (include all page)
47 | maximum number of lines to include
48 | //None// (include all page)
51 | maximum number of sections to include
52 | //None// (include all sections)
55 | include a named section
59 | when including a named section show the heading
65 === ~IncludePage page=Help/~AllPagesPlugin ===
66 <<IncludePage page=Help/AllPagesPlugin>>
68 === ~IncludePage page=Help/~AllPagesPlugin lines=6 ===
69 <<IncludePage page=Help/AllPagesPlugin lines=6>>
71 === ~IncludePage page=Help/~AllPagesPlugin section="Arguments" ===
72 <<IncludePage page=Help/AllPagesPlugin section="Arguments">>
74 === ~IncludePage page=Help/~AllPagesPlugin section="Arguments" sectionhead=true ===
75 <<IncludePage page=Help/AllPagesPlugin section="Arguments" sectionhead=true>>
77 === ~IncludePage page=Help/~AllPagesPlugin sections=2 ===
79 Does not work in Wikicreole syntax
80 <!-- <<IncludePage page=Help/AllPagesPlugin sections=2>> -->
84 * Line and word limit doesn't work if the included page itself includes a plugin.
85 * "sections" parameter does not work if sections to include are in Wikicreole syntax.
86 * "section" parameter does not always work if sections to include use both Wikicreole/Mediawiki and classic Phpwiki syntax.
91 * bug fixes by [[Help:Reini Urban|Reini Urban]]
92 * "sections" parameter implemented by Marc-Etienne Vargenau, Alcatel-Lucent
96 * [[Help:IncludePagesPlugin]] (to include multiple pages)
97 * [[Help:TemplatePlugin]] (to include a page with parameters)
98 * [[Help:FrameIncludePlugin]] (to include an external page)
102 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]