Changes between Version 3 and Version 4 of IncludePagesPlugin
- Timestamp:
- Jul 4, 2009, 5:52:44 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IncludePagesPlugin
v3 v4 3 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 ID of the generated heading and the IDof 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 7 == Bugs/Feature Requests == … … 32 32 }}} 33 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 ID"headclass", as follows: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 35 36 36 {{{ 37 37 <div> 38 <div id="headclass">Foo</div>38 <div class="headclass">Foo</div> 39 39 { contents of Foo } 40 40 </div> … … 44 44 [[IncludePages(Foo,headclass,blockclass)]] 45 45 }}} 46 Contents of page "Foo" are included in the page with a header div with id headclass, in a div with id blockclass. as follows: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 id="blockclass">50 <div id="headclass">Foo</div>49 <div class="blockclass"> 50 <div class="headclass">Foo</div> 51 51 { contents of Foo } 52 52 </div>