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

View file

@ -5,8 +5,8 @@
Selects a random quote from FortuneCookies or a given page. Selects a random quote from FortuneCookies or a given page.
Usage: Usage:
[[RandomQuote()]] <<RandomQuote()>>
[[RandomQuote(WikiTips)]] <<RandomQuote(WikiTips)>>
Comments: Comments:
It will look for list delimiters on the page in question. It will look for list delimiters on the page in question.

View file

@ -2,7 +2,7 @@
""" """
MoinMoin - Automaticaly subscribe user(s) on save 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 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. These users are not subscribed for templates nor while preview the