= Note boxes with icons = [[PageOutline(2-5,Contents,pullout)]] == Description == !NoteBox Plugin will render a HTML-!DivContainer in different colors with different Icons. [[BR]] The following containers are possible: * ![[NoteBox(warn, my Text)]] * will render a red div-container with the given Text and a stopsign-image * ![[NoteBox(tip, my Text)]] * will render a green div-container with the given Text and a lightbulb-image * ![[NoteBox(note, my Text)]] * will render a blue div-container with the given Text and a notepaper-image [[BR]] It will look like this: [[Image(notebox_preview_v0.1.png)]] The [http://trac.edgewall.org/browser/tags/trac-0.11/trac/wiki/api.py?marks=118-139#L118 parse_args] function from the Trac API is used to parse the input, therefore commas must be escaped with a backslash. That is, replace `,` with `\,`. Everything in the second argument is interpreted as wiki markup, however a second macro cannot be embedded within the macro. == Bugs/Feature Requests == Existing bugs and feature requests for NoteBoxPlugin are [report:9?COMPONENT=NoteBoxPlugin here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=NoteBoxPlugin&owner=gruenebe new ticket]. == Download / Source == Download the zipped source from [download:noteboxplugin here]. You can check out NoteBoxPlugin from [/svn/noteboxplugin here] using Subversion, or [source:noteboxplugin browse the source] with Trac. == Installation == 1. Unzip the code and type {{{ $>python setup.py install }}} 2. or use {{{ easy_install }}} as below then, restart web server, finally enable it at {{{ admin/general/plugins }}} {{{ #!sh easy_install http://trac-hacks.org/svn/noteboxplugin/0.11 }}} == Example == Use either * '''![[NoteBox(warn, my Text)]]''' * '''![[NoteBox(tip, my Text)]]''' * '''![[NoteBox(note, my Text)]]''' where ''my Text'' can be replaced with your text. == Recent Changes == [[ChangeLog(noteboxplugin, 3)]] == Author/Contributors == '''Author:''' [wiki:gruenebe] [[BR]] '''Maintainer:''' ''AdoptingHacks request by rjollos is pending'': #9738 [[BR]] '''Contributors:'''