This Wiki Plugin defines and formats sections of a page or text.
To use this plugin in a wiki page, use the syntax:
{DIV(type=div|span|pre|b|i|tt|p|blockquote, bg= , width= , align=left|center|justify, float=left|right, class= , id= )} your content {DIV}
If this plugin is used and the float parameter is used to align a block, then other elements on the page may "wrap" around that block. To avoid this or otherwise control the wrapping, the DIV plugin needs to be followed by another plugin or code that sets the clear property. Here are three ways to do this where all wrapping is stopped:
The clear property can also be set to "right" or "left" as needed for desired effect.
This code,
{DIV(float=right width=200px bg=#FFEBCD align=center)} This section is a "div" that is 200 pixels wide, has a nice blanched almond background color, aligns to the right because float=right, with text that aligns center because align=center.{DIV}
Would produce:
With type=span, the text remains inline. {DIV(type=span bg=yellow)} This text is in a "span" that is that is highlighted yellow.{DIV} And this text is after the span.
Would produce: With type=span, the text remains inline. This text is in a "span" that is that is highlighted yellow. And this text is after the span.
{DIV(type=pre align=justify bg=#D8BFD8 width=600px)} Using "pre" displays text in a fixed-width font, preserves spaces and any line breaks (enter was hit twice before "line"). The width only controls the color, not the text. {DIV}
Using "pre" displays text in a fixed-width font, preserves spaces and any line breaks (enter was hit twice before "line"). The width only controls the color, not the text.
{DIV(type=blockquote width=150px align=justify)} Notice that blockquote indents the text. Here the width has been set at 150 pixels and the text is justified.{DIV}
Notice that blockquote indents the text. Here the width has been set at 150 pixels and the text is justified.
These types are used to format text. Here are some examples:
Contributors to this page: lindon , sylvie and Rick . Page last modified on Saturday 03 July, 2010 22:08:03 UTC by lindon .
The following is a list of keywords that should serve as hubs for navigation within the Tiki documentation and should correspond to development keywords (bug reports and feature requests):