Attachment 'title.py'

Download

   1 # -*- coding: iso-8859-1 -*-
   2 """
   3     MoinMoin - Title Macro
   4 
   5     This very complicated macro produces a page title
   6 
   7     @copyright: 2007 by Oliver Siemoneit
   8     @license: GNU GPL, see COPYING for details.
   9 """
  10 
  11 Dependencies = []
  12 
  13 def execute(macro, args):
  14     kw = {}
  15     kw['class'] = 'title'
  16     result = "%s%s%s" % (macro.formatter.heading(1, 1, **kw),
  17                          macro.formatter.escapedText(args),
  18                          macro.formatter.heading(0, 1, **kw))
  19     return ''.join(result)
  20  

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.
  • [get | view] (2007-02-08 19:15:31, 58.0 KB) [[attachment:screenshot.png]]
  • [get | view] (2007-02-17 22:03:57, 0.7 KB) [[attachment:tableofcontents.diff]]
  • [get | view] (2007-02-08 19:16:23, 1.2 KB) [[attachment:text_moin_wiki.diff]]
  • [get | view] (2007-02-17 22:04:16, 0.5 KB) [[attachment:title.py]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.