Generic Box Macro

Generic boxes help to easily define one's own boxes to apply certain CSS styles to them.

Audience
Categories
Box
Tags

If you want to render a specific box in your project where it is important to apply a specific style, use the generic box macro. It allows you to add a CSS style to the box.

The box does not allow to attach the CSS style sheet. The styles are defined in the global CSS style sheet provided by Confluence.

Properties

The macro provides the following properties for configuration.

Title

The optional title to be rendered within the box.

Box Type

The the identifier of the box type to be used with CSS selectors.

CSS for the Todo Box
.box-icon-todo:before { content:url(https://www.smartics.eu/confluence/download/attachments/6554577/generic_20x20.png?api=v2); color: Purple; } .aui-message.todo.projectdoc-box { background: #9966CC; border-color: Purple; color: white; }

Show Icon

Uncheck if you do not want to display the box icon.

Tags

Tag the box to use for transclusion.

By default the tag generic-box is added.

Details

Hint to use this box with K15t Scroll-Office

To export a page using this macro with K15t Scroll Office the Print Quirk Modes should be enabled.

Related macros

Here is a list of alternative boxes to use for your texts:

Name Short Description Tags
Renders a box containing a caution message.
Renders a box containing a deprecation warning for the reader.
Renders an example within a box.
Renders a box containing a fault message reported by a team member for the author.
Renders a box containing a feedback message from a reader with write privilege.
Renders a box containing an info message.
Renders something to note by the reader.
Renders a box containing a pending message to be handled later by the author.
Renders a box containing an open question.
Renders a box with references to further information.
Renders a box with a tip for the reader.