====== Box Plugin ===== Highlight particularly important parts of your wiki in boxes that stand out with [[doku>plugin:box|Box Plugin]]. A simple box: the box contents the box contents Some more complex boxes the box contents the box contents \\ \\ the box contents the box contents \\ \\ \\ \\ the box contents the box contents \\ =====Full syntax ==== ''**** contents text ****'' * //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 ''****'' including the title must all appear on one line. The box contents can appear over as many lines as are needed. See the plugin in action [[http://wiki.jalakai.co.uk/dokuwiki/doku.php/test/boxes|here]]. The sample page shows all the styles available with the plugin. ===== Box Plugin Examples==== testing the box contents 30% left[[ the most basic box]] 'let us start a quote and not finish it. this isn't also boxed lorem ipsum dolor ... lorem ipsum dolor ... ----------------------------------------------------- \\ This is a test of the box using named color rgb colors and I want a border but don't know how to add one. There, it's done... but what colors are available? \\ \\ Oh, I see now (I read the docs) and everything is ok. \\ \\ ----------------------------------------------------- this is also boxed as is this boxes can also contain markup... * a list * of several * items

Title text would go here

Including this html snippet of a box

All those <b> tags handle the rounded corners

=== headings aren't allowed in boxes === | but | tables | are | and plugins ... ; definition : list : list : list and a [[link]] a box to match the default dokuwiki colour scheme to test what is possible: **NICE PLUGIN:** You can * make Lists * other markup * set the color of the box * ... looks good? red box, 80% wide, with a title this is a blue box this is a blue box blue box with a title a wide green box and an orange box testing testing testing testing // // this is also boxed // // testing 123456 gagagaga gaggagagaga gaagagagag agagagag agaga gaagagaga gagagagag agagaggag agagaga gag agag // // I wonder what uses I could find for a box... * I will have to check this out * tomorrow * on my wiki But can there be a box inside of a box? **Simple box with rounded edges and no title** But with some "code", not really code, but just code layout * I will have to check this out * tomorrow * on my wiki **Same thing on the right handside** But with some "code", not really code, but just code layout * I will have to check this out * tomorrow * on my wiki ===== Headline ===== {{:cache_mathplugin:dokuwiki-64.png|}} \\ Boxes in boxes works but will create another line per box, an inline option would be nice. Child Box Another child that i would like inlined with one before Child Box Another child that i would like inlined with one before