You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

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.

  • No labels