= Macro to Include Another Page in Current Page = == Description == This is another version of the include macro. It takes one mandatory item and two optional positional items. The mandatory item is the page name. The optional items are the ID of the generated heading and the ID of the div surrounding the included page. If the first positional item is missing, no heading will be generated. If the second is missing, no div will be generated. == Bugs/Feature Requests == Existing bugs and feature requests for IncludePagesPlugin are [report:9?COMPONENT=IncludePagesPlugin here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=IncludePagesPlugin&owner=Rottenchester new ticket]. == Download == Download the zipped source from [download:includepagesplugin here]. == Source == You can check out IncludePagesPlugin from [http://trac-hacks.org/svn/includepagesplugin here] using Subversion, or [source:includepagesplugin browse the source] with Trac. == Example == {{{ [[IncludePages(Foo)]] }}} The contents of page "Foo" will be included in the page when the plugin is expanded. {{{ [[IncludePages(Foo,headclass)]] }}} The contents of page "Foo" will be included in the page. The title of the page will be included in a header div with the ID "headclass", as follows: {{{
Foo
{ contents of Foo }
}}} {{{ [[IncludePages(Foo,headclass,blockclass)]] }}} Contents of page "Foo" are included in the page with a header div with id headclass, in a div with id blockclass. as follows: {{{
Foo
{ contents of Foo }
}}} }}} == Recent Changes == [[ChangeLog(includepagesplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:Rottenchester] [[BR]] '''Contributors:'''