Inhaltsverzeichnis

Boxes

<box 80%|The full syntax:>

<box width classes | title text> contents text </box| caption text>

; //classes// : any number of classes which use the styles in your template or the plugin's own stylesheet to determine the look of the box. The box plugins comes with the following classes already defined:
  * //round// --- box will have rounded corners
  * //blue// --- blue colour scheme
  * //red// --- red colour scheme
  * //green// --- green colour scheme
  * //orange// --- orange colour scheme
  * //left// --- box is floated left on the page
  * //right// --- box is floated right on the page
; //width// : a percentage value from 1-100%.
; //title text// : text (including dokuwiki markup) displayed as a title above box contents.
; //caption text// : text (without dokuwiki markup) displayed as a caption below box contents.


width & classes can be specified in any order.
If a title is used a space MUST precede the pipe „|“ </box>

box plugin test page

<box>the most basic box</box>

<box 95% red|boxed & titled> this is also boxed </box>

<box green> this is also boxed </box|boxed & captioned>

<box round orange>as is this</box>

<box round 75% |title with formatting, a link and rounded corners :-) >boxes can also contain markup…

<div class='box'>
  <b class='xtop'><b class='xb1'></b><b class='xb2'></b><b class='xb3'></b><b class='xb4'></b></b>
  <div class='xbox'>
    <p class='box_title'>Title text would go here</p>
    <div class='box_content'>
      <p>Including this html snippet of a box</p>
      <p>All those &lt;b&gt; tags handle the rounded corners</p>
    </div>
  </div>
  <b class='xbottom'><b class='xb4'></b><b class='xb3'></b><b class='xb2'></b><b class='xb1'></b></b>
</div>

headings aren't allowed in boxes

but tables are

and plugins … ; definition : list : list : list

and a link </box>

<box |title>a box to match the default dokuwiki colour scheme</box>

<box |Example box> to test what is possible: NICE PLUGIN: You can

looks good?

</box>

<box 80% red round| title>red box, 80% wide, with a title</box>

<box blue left> this is a blue box </box>

<box 80% blue round| title>blue box with a title</box>

<box green right> this is a green box </box>

<box 80% green round| title>a wide green box</box>

<box orange>and an orange box </box>

<box 30% orange round>orange box with a title</box| caption> .

xx xxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxx xxxxxxxxxx xxxxxx xxxxxxxxxxxx xxxxxxxxxxxx xxxxx xxxxxxx xxxxxxxxxxxxxxxxxxxxxxxx xxxxxx xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxx

Playground

moinmoin !

test


test

—-

test

test
d e
f

Level 3 Überschrift

Level 3 Überschrift

Dieser Text ist deleted und dieser <ins>inserted</ins> …

some wiki code:
  * Test
  * Test ...
:-)
1. bla
2. blub
3. foo
4. bar

Level 1 Überschrift

Level 2 Überschrift

Level 3 Überschrift

Laläläöüöääüß!„§§$&/()=?(/&%$§“*'#+ö_;,,

  1. Theo

Hallo

FS#367 — html code within table

Bug:

<html><font color="green">OK</font></html>

<html><font color=„green“>OK</font></html> will display a green ok (if the option 'htmlok' has been activated in local.php) However, the same line within a table cell will be displayed as is (not as a green ok, but as html code)

symbolnumber
1one
2<html><font color=„green“>OK</font></html>
3three

Possible Fix: If one add the line $this→allowedModes[] = 'html'; in the function Doku_Parser_Mode_Table() or parser.php, then this html code is correctly rendered within a cell table

FS#287 — <html> tag problems...

Example:

Hello <html><strong>world</strong>!</html>

Is rendered as:

Hello <html><strong>world</strong>!</html>

Hello
world
!

It should be on the same line!

While:

  * Hello <html><strong>world</strong>!</html>

Is rendered as:

- Hello <html><strong>world</strong>!</html>

It should be rendered as html I think…

It wasn't so with the previous parser. It worked well.

testing <html>html</html> that is inline …

<box gray|hello> foo bar </box>