Changes between Initial Version and Version 1 of RandomIncludePlugin


Ignore:
Timestamp:
Dec 15, 2007, 1:56:45 PM (16 years ago)
Author:
RottenChester
Comment:

New hack RandomIncludePlugin, created by Rottenchester

Legend:

Unmodified
Added
Removed
Modified
  • RandomIncludePlugin

    v1 v1  
     1= Random Includes and Random Quotes (Fortune Cookies) =
     2
     3== Description ==
     4
     5Wiki macros to pick a random selection or selections from a page that contains bulleted items.
     6
     7RandomInclude includes some number of bulleted items on that page.  The purpose of this macro is to display a sample of pages from your wiki.
     8
     9RandomQuote 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.
     10
     11== Bugs/Feature Requests ==
     12
     13Existing bugs and feature requests for RandomIncludePlugin are
     14[report:9?COMPONENT=RandomIncludePlugin here].
     15
     16If you have any issues, create a
     17[http://trac-hacks.org/newticket?component=RandomIncludePlugin&owner=Rottenchester new ticket].
     18
     19== Download ==
     20
     21Download the zipped source from [download:randomincludeplugin here].
     22
     23== Source ==
     24
     25You can check out RandomIncludePlugin from [http://trac-hacks.org/svn/randomincludeplugin here] using Subversion, or [source:randomincludeplugin browse the source] with Trac.
     26
     27== Example ==
     28
     29{{{
     30
     31    [[RandomItem(RandomPage,10)]]
     32
     33}}}
     34
     35will find 10 bulleted (*) items on RandomPage and include those items in the current page.
     36
     37{{{
     38
     39    [[RandomQuote]]
     40
     41}}}
     42
     43Displays a (pseudo-)randomly chosen quote from a source page "Fortune Cookies".
     44
     45{{{
     46
     47    [[RandomQuote(QuotePage]]
     48
     49}}}
     50
     51displays a quote from QuotePage
     52
     53
     54== Recent Changes ==
     55
     56[[ChangeLog(randomincludeplugin, 3)]]
     57
     58== Author/Contributors ==
     59
     60'''Author:''' [wiki:Rottenchester] [[BR]]
     61'''Contributors:'''