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