Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Document Properties Marker
doctypemacro
overridefalse


Doctypemacrohide
NameGeneric Box Macro 
Short DescriptionGeneric boxes help to easily define one's own boxes to apply certain CSS styles to them. 
Parent
Parent Property
property-nameName
 
Audience
Name List
doctyperole
render-no-hits-as-blanktrue
render-list-as-comma-separated-valuestrue
namesAuthor, Template Author
 
Categories
Name List
doctypecategory
render-no-hits-as-blanktrue
namesBox
 
Tags
Tag List
namesBox
 
Iteration
Iteration
valueproduction
hide
Sort Keyhide



Section
indextrue
show-titlefalse
titleDescription

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.

...

Section
titleProperties

The macro provides the following properties for configuration.

Section
titleTitle

The optional title to be rendered within the box.

Generic Box
box-typetodo
titleThe title of the Generic Box

A generic box of type 'todo'.



Section
titleBox Type

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

Code Block
languagecss
titleCSS 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; }



Section
titleShow Icon

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

Generic Box
box-typetodo
titleThe title of the Generic Box
show-iconfalse

A generic box of type 'todo'.



Section
titleTags

Tag the box to use for transclusion.

By default the tag generic-box is added.

Version Box
since2.3

Transclusion for boxes is supported since version 2.3.




Section
titleDetails


Transclusion
documentprint-quirk-modes Hint for Box Macros
idsContent


...