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

Audience
Categories
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.

The title of the Generic Box

 

A generic box of type 'todo'.

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.

The title of the Generic Box

A generic box of type 'todo'.

Tags

Tag the box to use for transclusion.

By default the tag generic-box is added.

Since 2.3

 

Transclusion for boxes is supported since version 2.3.

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: