Confluence 4.1 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
This page tells you how to create a user macro that displays the text 'Hello World!' and any variable text you place between the macro tags. (For full details about creating a user macro, see the guide to writing user macros.)
The information on this page does not apply to
[Unable to render {include} The included page could not be found. ({include} をレンダリングできません。ページが見つかりませんでした)] を選択し、
.
Defining the 'Hello World' User Macro
To create the 'Hello World' user macro:
- Go to the 'Confluence Administration Console' and click User Macros in the left-hand panel.
- Click Create a User Macro at the top of the list of macros.
- Enter the macro attributes as follows:
- Macro Name:
helloworld - Visibility:
Visible to all users in the Macro Browser - Macro Title:
Hello World - Description:
Displays "Hello World" and the macro body. - Categories:
Confluence Content - Icon URL: You can leave this field empty.
- Documentation URL: You can leave this field empty.
- Macro Body Processing:
Rendered Template:
## @noparams Hello World! $body
- Macro Name:
- [追加] をクリックします。
Screenshot: Definition of the 'Hello World' user macro
Using the 'Hello World' Macro on a Page
Now you can add the macro to your Confluence page using the Macro Browser:
The result is:
関連トピック
概要
コンテンツ ツール
アプリ



