Changes between Version 4 and Version 5 of IncludePagesPlugin


Ignore:
Timestamp:
Jul 10, 2015, 12:23:53 PM (9 years ago)
Author:
figaro
Comment:

Cosmetic changes, tagged with license

Legend:

Unmodified
Added
Removed
Modified
  • IncludePagesPlugin

    v4 v5  
    1 = Macro to Include Another Page in Current Page =
     1= Include Another Page in Current Page
    22
    3 == Description ==
     3== 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 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.
     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
    7 == Bugs/Feature Requests ==
     7== Bugs/Feature Requests
    88
    99Existing bugs and feature requests for IncludePagesPlugin are
     
    1111
    1212If you have any issues, create a
    13 [http://trac-hacks.org/newticket?component=IncludePagesPlugin&owner=Rottenchester new ticket].
     13[/newticket?component=IncludePagesPlugin new ticket].
    1414
    15 == Download ==
     15[[TicketQuery(component=IncludePagesPlugin&group=type,format=progress)]]
     16
     17== Download
    1618
    1719Download the zipped source from [download:includepagesplugin here].
    1820
    19 == Source ==
     21== Source
    2022
    2123You can check out IncludePagesPlugin from [http://trac-hacks.org/svn/includepagesplugin here] using Subversion, or [source:includepagesplugin browse the source] with Trac.
    2224
    23 == Example ==
     25== Example
     26
     27The contents of page "Foo" will be included in the page when the plugin is expanded:
    2428
    2529{{{
    26     [[IncludePages(Foo)]]
     30[[IncludePages(Foo)]]
    2731}}}
    28     The contents of page "Foo" will be included in the page when the plugin is expanded.
     32
     33The 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:
    2934
    3035{{{
    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)]]
    4137}}}
    4238
    4339{{{
    44     [[IncludePages(Foo,headclass,blockclass)]]
     40<div>
     41   <div class="headclass">Foo</div>
     42     { contents of Foo }
     43</div>
    4544}}}
    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
     46Contents 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 class="blockclass">
    50        <div class="headclass">Foo</div>
    51          { contents of Foo }
    52      </div>
     49[[IncludePages(Foo, headclass, blockclass)]]
    5350}}}
    5451
     52{{{
     53<div class="blockclass">
     54   <div class="headclass">Foo</div>
     55     { contents of Foo }
     56</div>
    5557}}}
    5658
    57 == Recent Changes ==
     59== Recent Changes
    5860
    5961[[ChangeLog(includepagesplugin, 3)]]
    6062
    61 == Author/Contributors ==
     63== Author/Contributors
    6264
    6365'''Author:''' [wiki:Rottenchester] [[BR]]
     66'''Maintainer:''' [[Maintainer]] [[BR]]
    6467'''Contributors:'''