Pm Wiki | Edit Page |
Page History |
Wiki Help |
Search |
Print
Pm Wiki | Edit Page | Page History | Recent Changes | (All) | Powered by PmWiki
Page last modified on August 26, 2005, at 02:43 PM
Include Other Pages
The (:include:) directive makes it possible to insert the contents of other pages into the current wiki page. All of the include directives below perform a straight text inclusion. In particular, any page links in the included text are assumed to link to pages in the current group if not otherwise qualified.
(:include PageName:)(:include Group.PageName:)- Includes the entire text of another page into the current page.
(:include PageName#from#to:)(:include PageName#from#:)(:include PageName##to:)- Includes lines from PageName between the
[[#from]]and[[#to]]anchors. If "to" is omitted (second example), then all of the lines after[[#from]]are included (and vice-versa if "from" is omitted). (:include PageName lines=10:)(:include PageName lines=5..10:)(:include PageName lines=5..:)- Include the first 10 lines, lines 5-10, or lines 5 and up from PageName.
(:include Page1 Page2 Page3 lines=1..5:)- Include the first five lines from the first available of Page1, Page2, or Page3. (To include lines from a list of pages, use a separate include for each.)
See Also
<< Page directives | DocumentationIndex | InterMap >>
Pm Wiki | Edit Page | Page History | Recent Changes | (All) | Powered by PmWiki
Page last modified on August 26, 2005, at 02:43 PM

