Confluence 2.9 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
Decorator Macros are Velocity macros which are used to draw complex or variable parts of the page such as menus and breadcrumbs when editing Custom decorators. Decorator macros can be inserted anywhere in your templates.
マクロは #macroName("argument1" "argument2" "argument3") の形式の文字列で挿入して呼び出されます。引数の間にカンマは入りません。別途明記されない限り、これらのマクロで引数を使用することはできません。
NOTE: These macros will only work reliably when customising main.vmd
. They may not work in other Velocity decorators. Decorator macros will not work inside normal confluence pages.
マクロ |
用途 |
---|---|
|
デフォルトのテンプレートのページ名の上に表示されるような、「現在の位置」パンくずリストを描画します。 |
|
指定したタイトルの confluence ページを含めます。複数のスペースに同じタイトルのページが 2 つ以上ある場合、このマクロは、現在表示しているスペースに所属するページを含めます。 |
|
ページに検索ボックスを挿入します (デフォルト テンプレートのパンくずリストの右端のように)。 |
|
既定のテンプレートの右上隅にあるような、グローバル ナビゲーション バーを描画します。ナビゲーション バーは 2 つのモードで表示できます。 |
|
Displays the navigation bar in its default mode: drawn as a table of links with coloured backgrounds and mouse-over effects. |
|
Displays the navigation bar as series of text links separated by | characters. |
|
ユーザー固有のナビゲーション バーを描画します。このバーには、ユーザーのプロファイルと履歴、およびユーザーがログインしていない場合はログインまたは登録ページが含まれます。 |
|
Draws the help icon, and link to the Confluence help page. |
|
On pages where a printable version is available, draws the printable page icon, linking to the printable version of the page. Otherwise, draws nothing |
|
When you are viewing a page in a Confluence space, draws the name of the space that page is in. Otherwise, writes the word "CONFLUENCE".The "class" argument is the CSS class that the title should be drawn in. Unless you have customised your Confluence installation's CSS file, you should call this with "spacenametitle" as the class: |
|
既定テンプレートの一番下にある "Powered by Confluence" と、Confluence バージョン番号のボイラー プレートを書き出します。 |
|
既定テンプレートのコンテンツ領域の下部に、フェードのシャドウ効果を描画します。 |
|
ダッシュボード ページにリンクを挿入します。 |
関連トピック
指定したラベルを持つコンテンツはありません。