ナビゲーション マップ マクロは、特定のラベルのタグが付けられたページの、ナビゲート可能なマップを表示します。

ナビゲーション マップ マクロの使用

ナビゲーション マップ マクロをページに追加するには:

パラメーター

パラメーター

既定

説明

ラベル

なし

ナビゲーション マップに表示するページに関連付けられているラベルを指定します。

このパラメーターは保存形式と Wiki マークアップで名前が付けられていません。

マップ タイトル
(title

なし

ナビゲーション マップのタイトルを指定します。

1 行当たりのセルの数

(wrapAfter)

5

1 列あたりのセルの数を指定する

セル幅 (ピクセル)
(cellWidth

90

セルの幅を指定する (数字のみを入力、ピクセルは使用不可)

セルの高さ (ピクセル)
(cellHeight

60

セルの高さを指定する (数字のみを入力、px) を含めない)

ナビゲーション マップ テーマ
(theme )

Confluence

navmap のテーマを定義する (Server のみ)。

If you want to create your own navmap 'look and feel' (for example, one with rounded corners), you need to add a customised navmap macro theme file to the WEB-INF/classes/templates/macros directory. The file name convention to use is navmap-mytheme.vm. Use the name of your choice for the mytheme part of the file name, which is also the value you use for this parameter. Hence, if your theme was called navmap-roundededges.vm, use the value of roundededges for this parameter.

コー​​ドの例

次の例は、Confluence ページの基本的なマークアップを調べたり、編集したりする上級ユーザー向けに提供されています。 

マクロ名: navmap

マクロ本文: なし。

保存形式の例

<ac:structured-macro ac:name="navmap">
  <ac:parameter ac:name="wrapAfter">4</ac:parameter>
  <ac:parameter ac:name="title">My map name</ac:parameter>
  <ac:parameter ac:name="cellHeight">50px</ac:parameter>
  <ac:parameter ac:name="theme">navmap-mytheme.vm</ac:parameter>
  <ac:parameter ac:name="cellWidth">80px</ac:parameter>
  <ac:parameter ac:name="">mylabel</ac:parameter>
</ac:structured-macro>

Wiki マークアップの例

{navmap:mylabel|wrapAfter=4|title=My map name|cellHeight=50px|theme=navmap-mytheme.vm|cellWidth=80px}