テンプレートから作成マクロは、ページにボタンを表示し、特定のテンプレートにリンクします。ボタンをクリックするとマクロがエディターを開き、新規ページ追加の準備が整い、所定のテンプレートに基づいてページへのコンテンツを追加します。

When adding the macro to the page, you can specify a blueprint or a user-created template in the macro. You will also specify the name of the button displayed, and the space in which the new page will appear.

スクリーンショット:3 つのボタンが表示されたページ - すべて「テンプレートからの作成マクロ」による表示

テンプレートから作成マクロマクロを使用する

ページにテンプレートから作成マクロマクロを追加するには:

  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.

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

パラメーター

パラメータは、マクロ出力の内容や形式を制御するために設定するオプションです。

パラメーター

既定

説明

Space Key

現在のページが作成されているスペース

Supply the unique space identifier, to determine where the new page will be created when someone uses this macro to create a page.
Template NameなしA template or blueprint on which to base the new page.
Button Text'Create from Template'ページ上で表示されるマクロの説明。

コー​​ドの例

参照先:

  • Confluence Storage Format for Macros
  • このマクロでは Wiki マークアップは使用できません。Wiki マークアップを使用して、このマクロを追加することはできません。