Forums

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

entering multiple macro parameters while typing

alexander_eller July 19, 2021

As I understand, I can set macro parameters while typing in the wiki editor. Just typing {macro name:parameter name=parameter value} ...

Is it possible to provide multiple parameter/value pairs? I tried {macroname:pname1=pval1:pname2=pval2} and {macroname:pname1=pval1|pname2=pval2} both without luck.

The main idea is to have an inline (span) rendered macro with two parameters and avoid using the macro browser... for faster text entry (and for more acceptance).

Other recommendations, how to solve the problem, are appreciated, too.

Thank You
Alex

1 answer

0 votes
Brant Schroeder
Community Champion
August 3, 2021

@alexander_eller 

You can enter multiple parameters but you need to make sure that you type it in.  For example the following is for the Table of Content.  {toc:printable=true|style=square|maxLevel=2|type=list|outline=true|include=.*}

If you copy and paste that in then you will need to delete the last } and readd it to get the macro to render or type the whole thing.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.4.6
TAGS
AUG Leaders

Atlassian Community Events