Changes between Version 3 and Version 4 of RandomIncludePlugin
- Timestamp:
- Oct 15, 2016, 9:08:38 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
RandomIncludePlugin
v3 v4 10 10 11 11 RandomQuote 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 13 Find 10 bulleted (*) items on RandomPage and include those items in the current page: 14 15 {{{ 16 [[RandomItem(RandomPage,10)]] 17 }}} 18 19 Display a (pseudo-)randomly chosen quote from a source page "Fortune Cookies": 20 21 {{{ 22 [[RandomQuote]] 23 }}} 24 25 Display a quote from QuotePage: 26 27 {{{ 28 [[RandomQuote(QuotePage]] 29 }}} 12 30 13 31 == Bugs/Feature Requests … … 29 47 You can check out RandomIncludePlugin from [/svn/randomincludeplugin here] using Subversion, or [source:randomincludeplugin browse the source] with Trac. 30 48 31 == Example49 == Installation 32 50 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 }}} 51 General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. 50 52 51 53 == Recent Changes