Confluence 5.4 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
User macros are short pieces of code that perform an often-used function or add some custom formatting to a page. People can call the macro into action by adding the macro keyword to their Confluence pages. You can write a 'user macro' by adding code on a screen in the Confluence Administration Console.
メモ:
- You need System Administrator permissions in order to perform this function.
- See Shared User Macros for a list of community-donated macros.
Be careful when installing user macros from unknown authors.
- If you remove a user macro that is in use on Confluence pages, you will need to remove the macro from the pages manually. When you remove the user macro, the usage of the macro on the page will become invalid. Hint: Use the Confluence search to find all occurrences of the macro on pages and blog posts.
The information on this page does not apply to Confluence OnDemand.
To add a user macro:
- Choose the cog icon at top right of the screen, then choose Confluence Admin.
- Click User Macros in the left-hand panel.
- Click Create a User Macro at the top of the list of macros.
- Enter the macro details as explained in the guide to writing user macros.
- [追加] をクリックします。
ユーザー マクロを編集するには
- Choose the cog icon at top right of the screen, then choose Confluence Admin.
- Select User Macros in the left-hand panel. This will list the currently configured user macros.
- Click Edit next to the relevant macro.
- Update the macro details as explained in the guide to writing user macros.
- 保存をクリックします。
ユーザー マクロを削除するには:
- Choose the cog icon at top right of the screen, then choose Confluence Admin.
- Select User Macros in the left-hand panel. This will list the currently configured user macros.
- Click Delete next to the relevant macro.
Related Pages
概要
コンテンツ ツール
アプリ