Using a macro, you can add extra functionality or include dynamic content on a page. For example, the Attachments macro will list a page's attachments in the page itself, so that readers do not have to visit the Attachments tab.

Adding a Macro to your Page

マクロ ブラウザを使用してマクロを含める

ページにマクロを追加する方法

  1. In the Confluence editor, choose Insert > Other Macros.
  2. Find and select the required macro.

オートコンプリートでマクロを素早く入力する方法

Type { and the beginning of the macro name, to see a list of suggested macros. Details are in Using Autocomplete.

既存のマクロを編集する方法: マクロのプレースホルダをクリックして、[編集] を選択します。マクロのパラメータが編集可能な場合、マクロのダイアログ ウィンドウが開きます。

マクロ パラメーター

Many macros allow you to include optional parameters to control the macro's output.

例えば、添付ファイル マクロにはオプションのパラメーターが 2 つあり、これによって次のことが可能です。

  • Specify the file formats of the attachments displayed.
  • Choose whether or not you want old versions of the attachments displayed.

マクロ プレースホルダー

マクロ プレースホルダーはエディタ内に表示され、ページにマクロを追加した場所を示します。

ページの編集時に次の操作が可能です。

  • Double-click a macro placeholder (or click the placeholder and choose Edit) to open the macro dialog window, where you can edit the macro's parameters.
  • Select a macro placeholder to cut, copy and paste the macro.

On this page:

Confluence のマクロ 

以下は、Confluence に現在バンドルされているマクロの一覧です。マクロ名をクリックすると、オプションのパラメーターや例など、使用方法の詳細が表示されます。

独自のマクロを作成する

システム管理者権限のあるユーザーはユーザーマクロを作成できます。「ユーザーマクロの記述」を参照してください。

If you want to create something more complex, you can develop your own plugin - see Writing Confluence Plugins.

Marketplace から他のマクロを取得する

You can find a wide range of Atlassian and third party macros at The Marketplace. These are distributed as add-ons and can be installed by a Confluence Administrator.

  • ラベルなし