Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can i edit the preview of placeholder of User Macros?

naime_surenkok February 20, 2018

Dear all,

We have started using Confluence Server, and very interested in working with User Macros. 

I have been working on a user macro where i want to edit the placeholder like "Status" macro did. Here is the screenshot to be more accurate:

chrome_2018-02-20_18-10-35.png

All help is appreciated. Long story short, i want to edit how the preview looks like to be more clear to the team who is working on this document.

 

1 answer

0 votes
Reinhard Piltz
Contributor
March 15, 2018

 

Here is a small macro to create a link in a new tab.
In German, but just an example.

## Macro title: xLink
## Developed by: RP
## Date created: 04.04.2013,17.01.2018
## Installed by: RP
## Eingabe der Parameter

## @param Url:title=Url|type=string|required=true|desc=Bitte Url eingeben
## @param Ziel:title=Ziel|type=enum|enumValues=_blank,_self,_top,_parent|default=_blank|required=true|desc=Bitte Ziel eingeben
## @param Bezeichnung:title=Bezeichnung|type=string|required=true|desc=Link-Bezeichnung eingeben
## @param copyr:title=Copyright|type=enum|required=false|enumValues=tegut... 2018, V 2.0|default=tegut... 2018, V2.0

<a href="$paramUrl" onclick="window.open(this.href, '$paramZiel', ''); return false;">$paramBezeichnung</a>

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events