[wiki/macros] mise a jour des commentaires
darcs-hash:20090427142607-bd074-49eb0187a48489e89407e862550d2703578eabff.gz
This commit is contained in:
parent
716289e245
commit
051ee6d630
3 changed files with 16 additions and 16 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,9 @@
|
||||||
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.
|
||||||
It will ignore anything that is not in an "*" list.
|
It will ignore anything that is not in an "*" list.
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
"""
|
"""
|
||||||
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
|
||||||
page. To subscribe to this template the FQTN (full-qualified template name)
|
page. To subscribe to this template the FQTN (full-qualified template name)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue