Inserting a Macro with parameters like {Secure:Title=Show|Timeout=15}

  • 1
  • Question
  • Updated 1 year ago
I intend to use the Secure macro in the same way almost every time and want to shorten the process to inserting dozens of this macro in a page every time.

I can set parameters with other macros like so:
{code:title=Script|language=Powershell|linenumbers=true}

But I cannot seem to do the same for the Secure macro:
{Secure:Title=Show|Timeout=15}

How can this be accomplished?


Photo of Derek Froese

Derek Froese

  • 5 Posts
  • 2 Reply Likes

Posted 1 year ago

  • 1
Photo of Derek Froese

Derek Froese

  • 5 Posts
  • 2 Reply Likes
Furthermore, the macro cannot be copied without corrupting it, it seems. 
Photo of Mervyn Toh

Mervyn Toh, Alum

  • 117 Posts
  • 7 Reply Likes
Hi Derek,

As per Security and Encryption's default behavior, it is not possible to insert wiki markup for the {secure} macro. Furthermore, it is impossible to copy and paste the {secure} macro, as this is to prevent the ownership changing when the macro is being copy pasted by someone else.

Thank you.