Changes between Version 3 and Version 4 of IncludePagesPlugin


Ignore:
Timestamp:
Jul 4, 2009, 7:52:44 PM (5 years ago)
Author:
anonymous
Comment:

This plugin sets "class" attribute, not "id" attribute. Just tried it and checked source to confirm this.

Legend:

Unmodified
Added
Removed
Modified
  • IncludePagesPlugin

    v3 v4  
    33== Description ==
    44
    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 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.
     5This 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.
    66
    77== Bugs/Feature Requests ==
     
    3232}}}
    3333
    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:
    3535
    3636{{{
    3737    <div>
    38       <div id="headclass">Foo</div>
     38      <div class="headclass">Foo</div>
    3939        { contents of Foo }
    4040    </div>
     
    4444    [[IncludePages(Foo,headclass,blockclass)]]
    4545}}}
    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:
    4747
    4848{{{
    49     <div id="blockclass">
    50        <div id="headclass">Foo</div>
     49    <div class="blockclass">
     50       <div class="headclass">Foo</div>
    5151         { contents of Foo }
    5252     </div>