Confluence 3.1 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
The Include Page Macro allows you to display the contents of one Confluence page in another.
To display part of a page rather than include the whole page, use the Excerpt Macro and the Excerpt Include Macro.
To display a page's contents, you require 'View' permission for that page. This is assigned by a space administrator from the Space Administration screens. See Space Permissions or contact your Confluence space administrator for more information.
If the name of the included page is changed after you have written the macro, the page name does not change automatically in the macro. In the event of that happening, you will need to change the page name manually in the macro parameters.
On this page:
Usage with the Macro Browser
To insert the include page macro into a page using the Macro Browser,
- Open your desired Confluence page or blog post, then click the 'Edit' button. The page or blog post opens in edit mode.
- Click the Macro Browser icon on the toolbar. The macro browser window opens in the middle of the screen in 'macro selection' mode.
- Scroll through the list of macros. Alternatively, start typing part of the name of your desired macro into the search box at the top right of the macro browser window. Macros with a matching name will appear in the main pane.
- Click on the desired macro to access its parameters and preview parameter changes ('preview mode').
- Set the macro parameters to your requirements. If desired, you can preview these changes by clicking 'Refresh'.
- Click 'Insert' to put the macro into the page.
Once you've found the include page macro, click 'insert' to add it to your page.
Usage with the Wiki Markup Editor
Where 'Sample Include Page' is the title of the page whose contents you want to display:
必要な入力項目 |
表示結果 |
---|---|
{include:Sample Include Page} | サンプル ページ コンテンツの開始 Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam fermentum vestibulum est. Cras rhoncus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Sed quis tortor. Donec non ipsum. Mauris condimentum, odio nec porta tristique, ante neque malesuada massa, in dignissim eros velit at tellus. Donec et risus in ligula eleifend consectetuer. Donec volutpat eleifend augue. Integer gravida sodales leo. Nunc vehicula neque ac erat. Vivamus non nisl. Fusce ac magna. Suspendisse euismod libero eget mauris. サンプル ページ コンテンツの終了 |
パラメーター
Parameters are options that you can include in Confluence macros to control the content or format of the macro output. The table below lists relevant parameters for this macro.
Parameter names are different in the macro browser and in wiki markup. Below we show the macro browser parameter names in bold text, and the equivalent wiki markup parameters in (bracketed
) text. If we do not show any parameter name for the wiki markup, then you should leave out the parameter name and simply include the parameter value as the first parameter, immediately after the colon (:
).
パラメーター |
既定 |
説明 |
---|---|---|
Page to Include |
なし |
This is the name of the Confluence page you want to include in the current page. If the page you wish to include is located in another space, precede the name of the page with the space key value and ensure that the two values are separated by a colon. For example, |
Once the desired page is set, there are no further parameters for this macro.
例
To display contents of a page located in another space
Use the following code, where 'DS' is the spacekey of the other space and 'Confluence Overview' is the name of the page you want to display.
{include:DS:Confluence Overview}
You can include pages from personal spaces using ~username as the space key.
関連トピック
Embed only part of an internal page
Embed an external page
Working with Macros
Take me back to the Confluence User's Guide.