[pmwiki-users] using WikiStyles with Included pages
Pico
pmwiki at ben-amotz.com
Wed Jul 19 23:18:29 CDT 2006
mike moller wrote:
> Hi all,
>
> I would like to use the functionality %lfloat and %rfloat WikiStyles,
> that are documented for use with images, and apply them to the placement
> of included pages so that I can align the included material and flow
> text around it.
>
> The specific application involves includeable pages that will be used in
> several different situations. Each contains a table (built and
> maintained with the PmWiki table directive markups) that has a well
> defined external border and within contains a genalogical ancestry
> display. For all practical purposes I would like to have these tables to
> behave as though they are images.
>
> a) is there a way of doing this? or
> b) is this a fundamentally daft thing to try to implement in a PmWiki? or
> c) has someone already done it? or
> d) can anyone point me in a direction that may take me towards my
> objective?
>
You can use lframe and rframe in ordinary wikistyle markup (%lframe% and
%rframe%) or block markup (>>lframe<< and >>rframe<<) to place text, as
well as images in divisions where other text will wrap around the frame.
You can also place include directives inside of frames. But, you
will run into problems when the included page consists of a table.
(AFAIK, you can't nest tables, or divisions, within eachother in PmWiki).
I put together a test page for you to see how frames work with text and
includes at http://www.pmwiki.org/wiki/Test/Frames
You might also take a look at the test page for divisions, which
provides some explanations, as well as examples.
http://www.pmwiki.org/wiki/Test/Divs
Pico
More information about the pmwiki-users
mailing list