1 Date: Fri, 10 Sep 2010 13:46:13 +0000
2 Mime-Version: 1.0 (Produced by PhpWiki 1.4.0RC1)
4 Content-Type: application/x-phpwiki;
5 pagename=Help%2FIncludePagePlugin;
6 flags=PAGE_LOCKED%2CEXTERNAL_PAGE;
9 Content-Transfer-Encoding: binary
11 The **~IncludePage** [[Help:WikiPlugin|plugin]] will "include" other pages in this wiki. In the language of hypertext this is called //transclusion//.
12 The pages will render in distinct tables. You can also load external pages in a more limited fashion with the [[Help:FrameIncludePlugin|FrameInclude]] plugin.
17 <<IncludePage page=OtherPage rev=6 quiet=1 words=50 lines=6>>
30 | //None// (mandatory argument)
34 | defaults to most recent
37 | if set, inclusion appears as normal content
41 | maximum number of bytes to include
42 | //None// (include all page)
45 | maximum number of words to include
46 | //None// (include all page)
49 | maximum number of lines to include
50 | //None// (include all page)
53 | maximum number of sections to include
54 | //None// (include all sections)
57 | include a named section
61 | when including a named section show the heading
67 === ~IncludePage page=Help/~AllPagesPlugin ===
68 <<IncludePage page=Help/AllPagesPlugin>>
70 === ~IncludePage page=Help/~AllPagesPlugin lines=6 ===
71 <<IncludePage page=Help/AllPagesPlugin lines=6>>
73 === ~IncludePage page=Help/~AllPagesPlugin section="Arguments" ===
74 <<IncludePage page=Help/AllPagesPlugin section="Arguments">>
76 === ~IncludePage page=Help/~AllPagesPlugin section="Arguments" sectionhead=true ===
77 <<IncludePage page=Help/AllPagesPlugin section="Arguments" sectionhead=true>>
79 === ~IncludePage page=Help/~AllPagesPlugin sections=2 ===
81 Does not work in Wikicreole syntax
82 <!-- <<IncludePage page=Help/AllPagesPlugin sections=2>> -->
86 * Line and word limit doesn't work if the included page itself includes a plugin.
87 * "sections" parameter does not work if sections to include are in Wikicreole syntax.
88 * "section" parameter does not always work if sections to include use both Wikicreole/Mediawiki and classic Phpwiki syntax.
93 * bug fixes by [[PhpWiki:ReiniUrban|Reini Urban]]
94 * "sections" parameter implemented by Marc-Etienne Vargenau, Alcatel-Lucent
98 * [[Help:IncludePagesPlugin]] (to include multiple pages)
99 * [[Help:TemplatePlugin]] (to include a page with parameters)
100 * [[Help:FrameIncludePlugin]] (to include an external page)
104 [[PhpWikiDocumentation]] [[CategoryWikiPlugin]]