MiniPage

PURPOSE

This macro is used to get the possibility to write inside a wiki table normal wiki code. This code is parsed by the wiki parser and is then displayed.

Download & Release Notes

Download

Release Version

Moin Version

Release Notes

MiniPage-1.7.1-5.py

1.7

MiniPage-1.6.0-4.py

1.6

MiniPage-1.6.0-2.py

1.6

MiniPage-1.3.3-1.py

1.3

CALLING SEQUENCE

   [[MiniPage(wikicode)]]

INPUTS

wikicode: e.g. * item1

EXAMPLE

||Buttons ||[[MiniPage( * Redo\n * Undo)]][[MiniPage( * Quit)]]||
||Section ||[[MiniPage(= heading 1 =)]][[MiniPage(== heading 2 ==)]]||

is shown as minipage.png

PROCEDURE

The \n mark is used for a line break.

Please remove the Version number from the code!

MODIFICATION HISTORY

Discussion

Nice simple solution!

Does this allow nesting within other types of markup? What I'd like to do is put a link as a heading, so would this create a heading called "FrontPage", which when clicked on takes you to the front page?

= [[MiniPage(["FrontPage"])]] =

Couldn't you use include() for that?

[[Include(FrontPage, "FrontPage", 1, titlesonly)]]

Please Note: the above example did not work for at least one user (me) running moinmoin 1.5.

Is there a possibility to include code parsers like that:

[[MiniPage({{{test1}}})]]

Is there a version of MiniPage that works on version 1.5.7? I used one of your examples and got the error: AttributeError: 'module' object has no attribute 'getParser' (Thanks in advance)

see MacroMarket/MiniPage-1.3.3-1.py getParser belongs to wikiutil changes for 1.6dev -- ReimarBauer 2007-04-10 06:54:34

Looks like "MiniPage" is broken on 1.7.0. TypeError: renderText() got an unexpected keyword argument 'line_anchors' (well, should be logged in first) -- MelaEckenfels 2008-06-30 11:04:11

MoinMoin: MacroMarket/MiniPage (last edited 2008-08-04 18:55:53 by CarstenFrewert)