Benutzer-Werkzeuge

Webseiten-Werkzeuge


en:wiki:box

Box

The full syntax:

<box 400px orange | Heading >

A lot of content in many lines.

</box>

The commands and options are:

  • width — any legal CSS width value
  • 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 — float the box left within the wiki page
  • right — float the box right within the wiki page

If no classes are specified the default styles will be used, that is square corners in a colour scheme based on the default DokuWiki colour scheme.

  • colours — 1-4 colours in CSS hex or RGB notation, e.g. #F00 #fcab94 rgb(255,255,0). The colours are applied in order to:
    • content background
    • title background
    • outer box background
    • borders

If less than four colours are specified, the first colour is used for the missing colours.

  • title text — text (including DokuWiki markup) displayed above the box contents, with distinct style.
  • caption text — text (no markup allowed) displayed below the box contents, with distinct style.

The opening <box … > including the title must all appear on one line. The box contents can appear over as many lines as are needed.

/usr/www/users/uhydro/doku/data/pages/en/wiki/box.txt · Zuletzt geändert: 2024/04/10 10:03 von 127.0.0.1