Attachment 'Color.py'
Download 1 """
2 MoinMoin - Color Macro
3
4 Copyright (c) 2002 by Markus Gritsch <gritsch@iue.tuwien.ac.at>
5 """
6
7 def execute(macro, args):
8 if args:
9 sep = args.find(':')
10 if sep != -1:
11 return '<FONT COLOR="%s">%s</FONT>' % (args[:sep], args[sep+1:])
12 return '<B>Example: [[Color(blue:Hello World!)]] or [[Color(#8844aa:Hello World!)]]</B>'
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.