changeset 463:959817d46551

macro CycleContent: update of doc string
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Wed, 16 Dec 2009 14:21:04 +0100
parents b421f10f67b9
children 328f45d3937e
files data/plugin/macro/CycleContent.py
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/macro/CycleContent.py	Wed Dec 16 13:19:11 2009 +0100
+++ b/data/plugin/macro/CycleContent.py	Wed Dec 16 14:21:04 2009 +0100
@@ -2,7 +2,7 @@
 """
     MoinMoin - Cylce Content Macro
 
-    Selects a pagename quote from CycleContent or a given page and cycles 
+    Selects a pagename from CycleContent or a given page and cycles 
     it by the refresh rate given on the page e.g. #refresh 5 ExamplePage
     For an attachment from a cycled page of name MyPage use an absolute 
     name for the attachment e.g. {{attachment:MyPage/image.png}}
@@ -31,7 +31,11 @@
 
 def macro_CycleContent(macro, pagename=u'CycleContent'):
     """
-    macro for cycling content of other pages on the page where it is called from.
+    Macro for cycling content of other pages on the page where it is called from.
+    That also can be used for slide shows and also without a refresh rate
+    because each request cycles.
+
+    @param pagename: the pagename for the list to cycle through.
     """
     request = macro.request
     _ = request.getText