[人気のラベル] マクロは、Confluence サイト全体、またはスペース内で使用された最も人気のラベルを表示します。人気のラベルは、多くのページに追加されたオプションです。 

人気のラベル マクロを使用する

人気のラベル マクロをページに追加するには:

  1. Confluence のエディタで、[挿入] > [その他のマクロ] を選択します。
  2. 対象のマクロを見つけて、選択します。

Speeding up macro entry with autocomplete: Type { and the beginning of the macro name, to see a list of suggested macros. Details are in Using Autocomplete.

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

パラメーター

Parameters are options that you can set to control the content or format of the macro output. Where the parameter name used in Confluence storage format or wikimarkup is different to the label used in the macro browser, it will be listed below in brackets (example).

パラメーター

既定

説明

表示するラベル数
(count

100

ヒートマップに表示するラベルの合計数を指定します。

ラベルをこのスペース キーに制限する
(spaceKey

なし

人気のラベルのリストを指定されたスペースに制限します。

ラベルのスタイル
(style

list

  • リスト - 人気のあるラベルを箇条書きのリストとして人気順 (最も高い順) に表示します。
  • ヒートマップ - 人気のあるラベルを、ラベルの人気度に応じて異なるフォントサイズを使用してラベル名順に表示します。

コー​​ドの例

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

マクロ名: popular-labels

マクロ本文: なし。

保存形式の例

  <ac:structured-macro ac:name="popular-labels">
    <ac:parameter ac:name="count">20</ac:parameter>
    <ac:parameter ac:name="spaceKey">
      <ri:space ri:space-key="ds"/>
    </ac:parameter>
  </ac:structured-macro>

Wiki マークアップ例

{popular-labels:style=heatmap|count=20|spaceKey=ds}
  • ラベルなし