Changes between Version 3 and Version 4 of RandomIncludePlugin


Ignore:
Timestamp:
Oct 15, 2016, 9:08:38 PM (7 years ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • RandomIncludePlugin

    v3 v4  
    1010
    1111RandomQuote includes one random item from that page, and strips the bullet from it. It is used to include a changing fortune cookie on a page.
     12
     13Find 10 bulleted (*) items on RandomPage and include those items in the current page:
     14
     15{{{
     16[[RandomItem(RandomPage,10)]]
     17}}}
     18
     19Display a (pseudo-)randomly chosen quote from a source page "Fortune Cookies":
     20
     21{{{
     22[[RandomQuote]]
     23}}}
     24
     25Display a quote from QuotePage:
     26
     27{{{
     28[[RandomQuote(QuotePage]]
     29}}}
    1230
    1331== Bugs/Feature Requests
     
    2947You can check out RandomIncludePlugin from [/svn/randomincludeplugin here] using Subversion, or [source:randomincludeplugin browse the source] with Trac.
    3048
    31 == Example
     49== Installation
    3250
    33 Find 10 bulleted (*) items on RandomPage and include those items in the current page:
    34 
    35 {{{
    36 [[RandomItem(RandomPage,10)]]
    37 }}}
    38 
    39 Display a (pseudo-)randomly chosen quote from a source page "Fortune Cookies":
    40 
    41 {{{
    42 [[RandomQuote]]
    43 }}}
    44 
    45 Display a quote from QuotePage:
    46 
    47 {{{
    48 [[RandomQuote(QuotePage]]
    49 }}}
     51General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
    5052
    5153== Recent Changes