projectdoc Toolbox

Renders an action button to link to page attachment.

Tags
ID
projectdoc-action-button-attachment-macro
Since
7.2

The Action Button Macro renders an action button in a page. It provides parameters to control the visual representation by the use of CSS selectors and styles.

Parameters

Page

The pointer to the projectdoc Document or Confluence page where the attachment to link to is stored.

If not specified, the attachment is on the current page. The current page is the page the macro is part of.

Attachment

The attachment to link to.

Label

The label for the button.

Title

The title for the button that will be shown as tool tip.

Nature

Define the basic HTML structure used to render the action button.

button
Render a button element.
link
Render an anchor element..

Since 4.9

 

The parameter is available since version 4.9.

Type

The type of the button.

This will be added (prefixed with " projectdoc- ") to the list of CSS selectors of the HTML element.

action-button
A button with a call-to-action.
highlight-button
A button to be highlighted.

CSS

Selectors to add to the class attribute of the rendered button HTML element.

ID

An optional element ID to add to the rendered button HTML element.

Styles

Additional CSS style information to add the the HTML button element.

Resources

Action Button for Attachments Macro
Renders an action button to link to page attachment.
Action Button for URLs Macro
Renders an action button to link to a resource on Confluence or an external Resource.
projectdoc Document
projectdoc is based on projectdoc documents. Creating a projectdoc document is easy: A projectdoc document is a Confluence page using document properties and sections.
Wiki Link Macro
Allows to render a link to a wiki page.
Layout Element Macro
Renders an block or inline element of a page.
Image Element Macro
Renders an image with an overlay text.