/
InlineScriptMacro
InlineScriptMacro
Enables you to put certain information inline.
Example
Using the following example, you can put certain information in the page inline.
Creating a InlineScriptMacro
To add a InlineScriptMacro, go to the necessary Confluence page, click Insert more content, and select Other macros > SIL inline script.
In the displayed dialog, enter the following:
return "Hello " + currentUser() + "! Current date is " + currentDate() + ".";
Click Save.
Result
Every time that you update a page, the macro will put this information on the page.
See also
Peacock
, multiple selections available,
Related content
SIL Listeners
SIL Listeners
Read with this
ScriptMacro
ScriptMacro
More like this
ButtonScriptMacro
ButtonScriptMacro
Read with this
Adding metadata to a page
Adding metadata to a page
More like this
getPageURL
getPageURL
Read with this
Javascript macro
Javascript macro
More like this