Changes between Version 4 and Version 5 of IncludePagesPlugin
- Timestamp:
- Jul 10, 2015, 12:23:53 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IncludePagesPlugin
v4 v5 1 = Macro to Include Another Page in Current Page =1 = Include Another Page in Current Page 2 2 3 == Description ==3 == Description 4 4 5 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 class of the generated heading and the class 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.5 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 class of the generated heading and the class 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. 6 6 7 == Bugs/Feature Requests ==7 == Bugs/Feature Requests 8 8 9 9 Existing bugs and feature requests for IncludePagesPlugin are … … 11 11 12 12 If you have any issues, create a 13 [ http://trac-hacks.org/newticket?component=IncludePagesPlugin&owner=Rottenchesternew ticket].13 [/newticket?component=IncludePagesPlugin new ticket]. 14 14 15 == Download == 15 [[TicketQuery(component=IncludePagesPlugin&group=type,format=progress)]] 16 17 == Download 16 18 17 19 Download the zipped source from [download:includepagesplugin here]. 18 20 19 == Source ==21 == Source 20 22 21 23 You can check out IncludePagesPlugin from [http://trac-hacks.org/svn/includepagesplugin here] using Subversion, or [source:includepagesplugin browse the source] with Trac. 22 24 23 == Example == 25 == Example 26 27 The contents of page "Foo" will be included in the page when the plugin is expanded: 24 28 25 29 {{{ 26 30 [[IncludePages(Foo)]] 27 31 }}} 28 The contents of page "Foo" will be included in the page when the plugin is expanded. 32 33 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 class "headclass" as follows: 29 34 30 35 {{{ 31 [[IncludePages(Foo,headclass)]] 32 }}} 33 34 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 class "headclass", as follows: 35 36 {{{ 37 <div> 38 <div class="headclass">Foo</div> 39 { contents of Foo } 40 </div> 36 [[IncludePages(Foo, headclass)]] 41 37 }}} 42 38 43 39 {{{ 44 [[IncludePages(Foo,headclass,blockclass)]] 40 <div> 41 <div class="headclass">Foo</div> 42 { contents of Foo } 43 </div> 45 44 }}} 46 Contents of page "Foo" are included in the page with a header div with class "headclass", in a div with class "blockclass". as follows: 45 46 Contents of page "Foo" are included in the page with a header div with class "headclass", in a div with class "blockclass" as follows: 47 47 48 48 {{{ 49 <div class="blockclass"> 50 <div class="headclass">Foo</div> 51 { contents of Foo } 52 </div> 49 [[IncludePages(Foo, headclass, blockclass)]] 53 50 }}} 54 51 52 {{{ 53 <div class="blockclass"> 54 <div class="headclass">Foo</div> 55 { contents of Foo } 56 </div> 55 57 }}} 56 58 57 == Recent Changes ==59 == Recent Changes 58 60 59 61 [[ChangeLog(includepagesplugin, 3)]] 60 62 61 == Author/Contributors ==63 == Author/Contributors 62 64 63 65 '''Author:''' [wiki:Rottenchester] [[BR]] 66 '''Maintainer:''' [[Maintainer]] [[BR]] 64 67 '''Contributors:'''