[wiki/macros] mise a jour des commentaires

darcs-hash:20090427142607-bd074-49eb0187a48489e89407e862550d2703578eabff.gz
This commit is contained in:
Antoine Durand-Gasselin 2009-04-27 16:26:07 +02:00
parent 716289e245
commit 051ee6d630
3 changed files with 16 additions and 16 deletions

View file

@ -18,10 +18,10 @@ Updates:
The ProgressBar macro generates a table showing a progress indicator.
Usage:
[[ ProgressBar ]]
[[ ProgressBar (TABLEWIDTH TABLEFORMAT PROGRESS%) ]]
[[ ProgressBar (TABLEWIDTH TABLEFORMAT CURRENT/STEPS) ]]
[[ ProgressBar (TABLEWIDTH TABLEFORMAT STARTDATE,ENDDATE) ]]
<< ProgressBar >>
<< ProgressBar (TABLEWIDTH TABLEFORMAT PROGRESS%) >>
<< ProgressBar (TABLEWIDTH TABLEFORMAT CURRENT/STEPS) >>
<< ProgressBar (TABLEWIDTH TABLEFORMAT STARTDATE,ENDDATE) >>
If no arguments are given, the usage is inserted in the HTML result.
@ -65,13 +65,13 @@ Debugging
Please prepend a '?' to the arguments.
Examples:
[[ProgressBar(60%)]]
[[ProgressBar(6/10)]]
[[ProgressBar(2005-11-01,2006-01-06)]]
<<ProgressBar(60%)>>
<<ProgressBar(6/10)>>
<<ProgressBar(2005-11-01,2006-01-06)>>
[[ProgressBar([50%] 60%)]]
[[ProgressBar([50px] 60%)]]
[[ProgressBar([90%]<#8080ff><#808080> 6/10)]]
<<ProgressBar([50%] 60%)>>
<<ProgressBar([50px] 60%)>>
<<ProgressBar([90%]<#8080ff><#808080> 6/10)>>
----
"""
@ -210,7 +210,7 @@ def _execute (macro, text):
# Output
if debug:
res = "{{{[[ProgressBar(%s)]]\n%s}}}\n%s" % (orig_text, res, res)
res = "{{{<<ProgressBar(%s)>>\n%s}}}\n%s" % (orig_text, res, res)
return _format (res, macro.request, macro.formatter)

View file

@ -5,9 +5,9 @@
Selects a random quote from FortuneCookies or a given page.
Usage:
[[RandomQuote()]]
[[RandomQuote(WikiTips)]]
<<RandomQuote()>>
<<RandomQuote(WikiTips)>>
Comments:
It will look for list delimiters on the page in question.
It will ignore anything that is not in an "*" list.

View file

@ -2,8 +2,8 @@
"""
MoinMoin - Automaticaly subscribe user(s) on save
[[SubscribeTo(UserName1[,+GroupName1[,-UserName2]])]]
<<SubscribeTo(UserName1[,+GroupName1[,-UserName2]])>>
Will add those users and/or group of users as subscribers while saving the
page. These users are not subscribed for templates nor while preview the
page. To subscribe to this template the FQTN (full-qualified template name)