Confluence 4.3 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
進行中の作業
We are adding the details for each macro in turn. They are not all here yet. See CONF-24972 - Getting issue details... STATUS . In the meantime, please refer to the Confluence 3.5 macro documentation.
This page is an extension of Confluence Wiki Markup. It describes the wiki markup used to define specific Confluence macros – the macros that are shipped with Confluence. For each macro, we define the macro name, parameter names, and accepted parameter values.
- ドキュメント用テーマを設定する。
- Wiki マークアップを直接エディタに入力する。Confluence はユーザーの入力をリッチテキスト エディタ形式に変換します。
- リンク ブラウザの [詳細] タブを使用してリンクを作成する。
- Insert a block of wiki markup into the Confluence editor. (Choose Insert > Wiki Markup.)
注意: Wiki マークアップ内のコンテンツは編集できません。Confluence は Wiki マークアップ内のページコンテンツを保存しません。 Wiki マークアップはエディターに入力できますが、Confluence は即座にそれをリッチテキストエディタ形式に変換します。最初のエントリ後は Wiki マークアップを編集できなくなります。
アンカー マクロ
Allows you to link to a specific part of a page.
Macro name: anchor
マクロ本体: なし。
| パラメーター名 | 必須 | 既定 | パラメーターの説明と指定可能な値 |
|---|---|---|---|
(Unnamed in wiki markup) | はい | (なし) | The name of the anchor. |
例:
{anchor:here}
Attachments macro
Displays a list of attachments on a given page.
Macro name: マクロ本体: なし。 利用可能な値: 正規表現をコンマ区切りで表示した一覧。ファイル名を条件として添付ファイルをフィルターにかけるために使用します。パラメーターの値は正規表現でなければならないことに注意してください。例: Here is a tutorial on regular expressions. 利用可能な値: The default sort order is determined by the 利用可能な値:attachmentsパラメーター名 必須 既定 パラメーターの説明と指定可能な値 oldいいえ falsefalse - Displays only the latest version of each attachment.true – Displays all versions of each attachment, including the old versions.patternsいいえ (なし) .*jpg」を使用します (「*.jpg」ではありません )。.*jpg」、「.*png」を使用します。sortByいいえ datedatesizenamepageいいえ The page on which the macro exists. Page name, used to display attachments from another page. sortOrderいいえ sortBy type:ascendingdescendinglabelsいいえ (なし) A comma-separated list of labels. Confluence will show only attachments that have all the labels specified. (The match is an AND, not an OR.) uploadいいえ falseDetermines whether the list of attachments will include options allowing users to browse for, and attach, new files.
例:
{attachments:old=false|patterns=.*png,.*jpg|sortby=name|page=My page about chocolate|sortorder=descending|labels=chocolate,cookies|upload=false}
Blog Posts macro
Lists the most recent news items in the space.
Macro name: マクロ本体: なし。 利用可能な値: One or more space keys, separated by a comma or a space. 特別な値: 個人用スペースを指定する場合、 例: 利用可能な値: One or more label values, separated by a comma or a space.blog-postsパラメーター名 必須 既定 パラメーターの説明と指定可能な値 contentいいえ entireentire – Display the whole content of each blog post.excerpts – Display a short extract from each blog post.titles – Display a list of blog posts, showing titles only.spacesいいえ @self
-BADSPACE と指定すると、BADSPACE に含まれないコンテンツのみを取得できます。+GOODSPACE と指定すると、GOODSPACE のコンテンツのみを取得できます (各コンテンツ項目は 1 つのスペースにのみ所属するため、このオプションが有効な麺は少ないことにご注意ください。1 つのスペース キーの前にプラス記号を設定してほかのスペース キーを一覧に追加した場合、追加したスペース キーは無視されます)。@self — 現在のスペース。@personal — All personal spaces.@global — All global spaces.@favorite — The spaces you have marked as favourite.@favourite — 上記の @favorite と同様。@all — Confluence サイトのすべてのスペース。* — 上記の @all と同様。~jbloggs や ~jbloggs@example.com のように、ユーザー名の前にチルダ (~) 記号をつける必要があることにご注意ください。authorいいえ (なし) One or more usernames, separated by commas. timeいいえ (なし) 利用可能な値: m — 分h — Hoursd — Daysw — 週time=12h – Display blog posts created in the last twelve hours.time=7d – Display blog posts created in the last seven days.reverseいいえ falseA value of true changes the sort order.sortいいえ creation
maxいいえ 15The maximum number of results to be displayed. labelいいえ (なし)
-badpage you will get only content which is not labelled with 'badpage'.+superpage,+goodpage と指定すると、少なくとも "superpage" と "goodpage" の 2 つのラベルを持つコンテンツのみを取得できます。
例:
{blog-posts:content=titles|spaces=@self,ds|author=jsmith|time=4w|reverse=true|sort=creation|max=10|label=chocolate,cookies}
Change-History macro
Displays a history of updates made to a page.
Macro name: マクロ本体: なし。 Parameters: Nonechange-history
例:
{change-history}
Chart macro
Displays a chart based on tabular data.
Macro name: Macro body: Accepts rich text, consisting of tables that hold the chart's data. このマクロでは、便宜上種類別の一覧にまとめられた多数のパラメーターが使用されます。 これらのパラメーターは、表示するチャートのタイプやチャートの外観を決定します。 表示するチャートの種類。XY グラフは x 軸と y 軸の数値軸を持ちます。x の値は必要に応じて時間ベースにできます。 利用可能な値: 表示の向き。area、bar、および line チャートに適用されます。 利用可能な値: 3 次元で表示します。area、bar、および line チャートに適用されます。 データ表で構成される、マクロ本文を表示するかどうかを決定します。既定では、チャートのデータ表は表示されません。 利用可能な値: チャートに使用される画像のフォーマット。 利用可能な値: チャートのデータは、マクロ本文で見つかった表から取得されます。これらのパラメーターは、このデータの解釈方法を制御します。既定では、数値と日付の値は、Confluence のグローバル既定言語 (ロケール) のフォーマットに従って解釈されます。変換が失敗した場合は、Confluence で定義されている他の言語で試行されます。以下のパラメータを使用すると、追加の変換オプションを指定できます。 コンテンツの向きです。既定では、データ表の (水平方向の) 列が定義域および x の値を表していると解釈されます。 利用可能な値: " 時系列データに使用される期間。データの解釈粒度を定義します。 利用可能な値: ロケールを形成するために、 Available values are the two-character ISO 639-1 alpha-2 codes. マクロがデータ形式エラーを容認 (許可) するかどうかを決定します。 利用可能な値: 色は、16 進数表記または HTML カラーネームを使用して指定します。 グラフの種類に応じて、縦軸、横軸をカスタマイズできます。軸の値はデータに基づいて自動的に生成されますが、これらのパラメータを 1 つ以上指定することにより上書きできます。 カテゴリの軸ラベルのテキストの位置。 利用可能な値: 日付の目盛りの位置。 利用可能な値: 例 1: "Independent = 20" のように表示するには、次のようにします。 These are advanced options that can be used for chart versioning, to enable automation and to improve performance. Use these options carefully! Normally, the chart image is regenerated each time the page is displayed. These options allow for the generated image to be saved as an attachment and have subsequent access to re-use the attachment. This can be useful especially when combined with the Cache plugin to improve performance. Depending on the options chosen, chart images can be versioned for historical purposes. 名前とグラフ画像が添付ファイルとして保存される場所です。ユーザーは指定したページに添付ファイルを追加する権限を与えられていなければなりません。 このパラメータで利用可能な構文は次のとおりです。 保存されたチャートのバージョン管理方法を定義します。 利用可能な値: chartチャート タイプのパラメーター
パラメーター 必須 既定 説明 typeいいえ pietimeSeries パラメーターをご参照ください。- pie, bar, line, areaxyArea, xyBar, xyLine, xyStep, xyStepArea, scatter, timeSeriesgantt (beta)orientationいいえ verticalvertical - y 軸が垂直軸horizontal - x 軸が垂直軸3Dいいえ falsestackedいいえ false積み重ね値。area、bar チャートに適用されます。 showShapesいいえ true line チャートに適用されます。各データの位置に図形が表示されます。 opacityいいえ 0 パーセント (透明) から 100 パーセント (不透明) までの値で、前景領域と棒部分の不透明度を決定します。 チャートの表示パラメーター
パラメーター 必須 既定 説明 widthいいえ 300ピクセル単位で示されるチャートの幅。 heightいいえ 300ピクセル単位で示されるチャートの高さ。 dataDisplayいいえ falsetrue または after - データがチャートのあとに表示されます。before – - データがチャートの前に表示されます。imageFormatいいえ pngpngjpgチャートのタイトルとラベルのパラメーター
パラメーター 必須 既定 説明 titleいいえ (なし) チャートのタイトル。 subTitleいいえ (なし) グラフのサブタイトル。 xLabelいいえ (なし) x 軸 (項目) のラベル。 yLabelいいえ (なし) y 軸 (値) のラベル。 legendいいえ falseチャートの凡例 (キー) を表示するかどうかを決定します。 チャートのデータのパラメーター
パラメーター 必須 既定 説明 tablesいいえ すべての第 1 レベルの表 マクロ本文に含まれ、チャートのデータとして使用される、表 ID または表番号 (1 で開始) をコンマ区切りの一覧にしたものを提供できます。データ表が他のテーブルに埋め込まれている場合、表を選択する必要があります。このような事例は、より複雑な書式設定が行われる (例: セクション マクロや列マクロを使用) 場合に生じます。 columnsいいえ すべての列 チャート データに使用される表の列ラベルや列タイトル、列番号をコンマ区切りにした一覧指定できます。これは処理されるすべての表に適用されます。列には 1 から始まる番号が付いています。列ラベルは、ヘッダー行の列のテキストです。列タイトルは、ヘッダー行の列の (html の) title 属性です。 dataOrientation いいえ horizontalvertical - データ表の列が系列と解釈されます。horizontal – データ表の行が系列と解釈されます。timeSeries いいえ falsetrue" の場合、XY プロットの x の値は時系列データとして扱われるため、日付形式に変換されます。dateFormat いいえ Confluence 言語で定義された日付形式 For time series data, the date format allows for additional customisation of the conversion of data to date values. If a dateFormat is specified, it will be the first format used to interpret date values. Specify a format that matches the time series data. See simple date format.timePeriod いいえ daymillisecond, second, minute, hour, day, week, month, quarter, yearlanguageいいえ (なし) country パラメータと組み合わせて使用します。これらの追加の数字と日付形式は、既定の言語に先だってデータ変換に使用されます。countryいいえ (なし) Use in combination with the language parameter to form a locale. Valid values are the two-character ISO 3166 codes.forgiveいいえ truetrue - マクロは、既定の形式またはユーザ指定の表示形式に完全に一致しない数値および日付の値の変換を試みます。false — マクロは厳密なデータ形式を適用します。データ形式エラーが生じると、グラフは作成されません。グラフカラー パラメーター
パラメーター 必須 既定 説明 bgColor いいえ 白 グラフの背景色。 borderColor いいえ 枠線なし グラフの周りの枠線の色。 colorsいいえ カテゴリ、セクション、系列の色をカスタマイズするために使用する色をコンマ区切りの一覧にしたもの。 チャートの軸のパラメーター
パラメーター 必須 既定 説明 rangeAxisLowerBound いいえ (なし) 縦軸の最小値。 rangeAxisUpperBound いいえ (なし) 縦軸の最大値。 rangeAxisTickUnitいいえ (なし) 縦軸の 1 目盛りの単位。 rangeAxisLabelAngleいいえ (なし) 縦軸ラベルの表示角度。 domainAxisLowerBoundいいえ (なし) XY プロットにのみ適用されます。横軸の下限。日付軸の場合、この値は、 dateFormat パラメータで指定された日付形式である必要があります。domainAxisUpperBoundいいえ (なし) XY プロットにのみ適用されます。横軸の上限。日付軸の場合、この値は、 dateFormat パラメータで指定された日付形式である必要があります。domainAxisTickUnitいいえ (なし) XY プロットにのみ適用されます。横軸の 1 目盛りの単位。日付軸の場合、この値は、 timePeriodパラメーターで指定された単位の数になります。timePeriod 単位は、終了文字を指定することで上書きできます:y (年)、M (月)、d (日)、h (時間)、m (分)、s (秒)、u (ミリ秒)。domainAxisLabelAngleいいえ (なし) XY プロットにのみ適用されます。横軸ラベルの表示角度。 categoryLabelPositionいいえ (なし) up45 - 45 度上向きup90 - 90 度上向きdown45 - 45 度下向きdown90 - 90 度下向きdateTickMarkPositionいいえ startstart - 目盛りをその期間の開始に表示します。middle - 目盛りをその期間の中間に表示します。end - 目盛りをその期間の終了に表示します。Pie チャートのパラメーター
パラメーター 必須 既定 説明 pieSectionLabelいいえ 円グラフのセクションのキー値のみを表示 円グラフのセクション ラベルの表示形式。表示形式には、特別な置換変数の文字列が使用されます。 %0% は円グラフ セクションのキーで置換されます。%1% は円グラフ セクションの数値で置換されます。%2% は円グラフ セクションのパーセント値で置換されます。%0% = %1%
例 2: "Independent = (20%)" のように表示するには、次のようにします。%0% (%2%)
pieSectionExplodeいいえ 切り離しなし 切り離して表示する円グラフのキーをコンマ区切りの一覧にしたもの。注意: JFreeChart バージョン 1.0.3 以降が必要です。 チャートの添付ファイルのパラメーター
パラメーター 必須 既定 説明 attachmentいいえ (なし) ^attachmentName.png — チャートは現在のページに添付ファイルとして保存されます。page name^attachmentName.png — チャートは指定したページ名に添付ファイルとして保存されます。spacekey:page name^attachmentName.png — チャートは、指定されたスペースの指定されたページ名に添付ファイルとして保存されます。attachmentVersionいいえ newnew — 新しいバージョンの添付ファイルを作成します。replace — replaces all previous versions of the chart. To replace an existing attachment, the user must be authorised to remove attachments for the page specified.keep — 同じ名前の既存のエクスポートが存在しない場合にのみ、新しい添付ファイルを保存します。既存の添付ファイルが変更または更新されることはありません。attachmentCommentいいえ (なし) 保存されたチャート添付ファイルに使用されるコメント。 thumbnailいいえ falsetrue の場合、チャート画像の添付ファイルがサムネイル (小さいサイズ、拡大可能) として表示されます。
例:
Below is a simple example of a pie chart. See more examples in Wiki Markup Examples for Chart Macro.{chart:type=pie|title=Fish Sold}
|| Fish Type || 2004 || 2005 ||
|| Herring | 9,500 | 8,300 |
|| Salmon | 2,900 | 4,200 |
|| Tuna | 1,500 | 1,500 |
{chart}
Cheese macro
Displays the words "I like cheese!"
Macro name: マクロ本体: なし。 Parameters: Nonecheese
例:
{cheese}
Children Display macro
Displays the children and descendants of the current page.
Macro name: マクロ本体: なし。 Determines the sort order of the list of child pages. 利用可能な値: A heading style to be applied to the list of child pages. Available values: The name of the parent page. The macro will display the children of the specified page. To specify a page in a different space, use a space key followed by a colon. For example: If the value of this parameter is a forward slash ( If childrenパラメーター名 必須 既定 パラメーターの説明と指定可能な値 reverseいいえ falseReverses the sort order in the list of child pages. Use this parameter in conjunction with the sort parameter described below. A value of true will change the sort order from ascending to descending.sortいいえ Manual if the pages have been manually reordered, otherwise alphabeticalby page title creation – Sort by the date on which the page was created.title – Sort alphabetically by page name.modified – Sort by the date on which the page was last updated.styleいいえ Bullet list h1 (heading level 1) through to h6 (heading level 6).pageいいえ The page that contains the macro MYSPACE:My page/) the macro will list the pages at the root of the current space. In other words, the pages without parents.excerptいいえ falseIf true, Confluence will display any excerpts that are defined on the child pages. The excerpts must be defined via an Excerpt macro.firstいいえ (なし) The maximum number of child pages to be displayed (at the top level). For example, if the value of this parameter is 99, the macro will display the first 99 pages at the top level. It will also display their children, as determined by the depth and all parametersdepthいいえ (なし) The number of levels of child pages to display. For example, if the value is 2, the macro will display 2 levels of child pages.allいいえ falsetrue, Confluence will display all levels of child pages. This setting will override the depth setting.
例:
{children:reverse=true|sort=creation|style=h4|page=Home|excerpt=true|first=99|depth=2|all=true}
コード ブロック マクロ
Displays code in your document with the appropriate syntax highlighting.
Macro name: Macro body: Accepts plain text. Specifies the colour scheme used for displaying your code. Many of these themes are based on the default colour schemes of popular integrated development environments (IDEs). The default theme is Available themes: If If Specifies the language (or environment) for syntax highlighting. If If codeパラメーター名 必須 既定 パラメーターの説明と指定可能な値 titleいいえ (なし) Adds a title to the code macro box. themeいいえ ConfluenceConfluence (also known as Default), which is typically black and coloured text on a blank background.DJangoEmacsFadeToGreyMidnightRDarkEclipseConfluence (same as default)linenumbersいいえ falsetrue, a line number will be shown to the left of each line of code. Numbering is incremented by 1.false, no line numbers are shown.languageいいえ javaactionscript3bashcsharp — that is, C#coldfusioncpp — that is, C++cssdelphidifferlanggroovyjavajavafxjavascriptperlphppowershellpythonrubyscalasqlvb — that is, Visual Basichtml/xmlfirstlineいいえ 1When linenumbers is true, this value defines the number of the first line of code.collapseいいえ falsetrue, the code macro's content will be collapsed upon visiting or refreshing the Confluence page. Clicking the 'expand source' link allows you to view the content.false, the code macro's content is always displayed in full.
例:
{code:title=This is my title|theme=FadeToGrey|linenumbers=true|language=html/xml|firstline=0001|collapse=true}
これは私のコードです
{code}
Column macro
Used with the Section macro to define columns on a page. See Working with page layouts and columns and sections.
Macro name: Macro body: Accepts rich text.columnパラメーター名 必須 既定 パラメーターの説明と指定可能な値 widthいいえ 100%のページ幅をセクション内の列の数で均等に分割。 列幅。ピクセル (例: 400px) または有効なページ幅のパーセント値 (例: 50%) で指定します。
例:
{column:width=100px}
This is the content of *column 1*.
{column}
ラベル別コンテンツ マクロ
Displays a list of content associated with specific labels.
Macro name: マクロ本体: なし。 Filters the results by space. The macro will display only the pages and other content types which belong to the space(s) you specify here. 特別な値: 個人用スペースを指定する場合、 Filters the results by author. The macro will display only the pages and other content types which are written or updated by the author(s) you specify here. 特定のコンテンツ タイプのコンテンツを除外するには、そのコンテンツ タイプのすぐ前にマイナス記号 (-) を追加します。例: コンテンツ タイプを 利用可能な値:contentbylabelパラメーター名 必須 既定 パラメーターの説明と指定可能な値 spacesいいえ @all
You can specify one or more space keys, separated by a comma or a space.
-BADSPACE と指定すると、BADSPACE に含まれないコンテンツのみを取得できます。+GOODSPACE と指定すると、GOODSPACE のコンテンツのみを取得できます (各コンテンツ項目は 1 つのスペースにのみ所属するため、このオプションが有効な麺は少ないことにご注意ください。1 つのスペース キーの前にプラス記号を設定してほかのスペース キーを一覧に追加した場合、追加したスペース キーは無視されます)。@self — 現在のスペース。@personal — All personal spaces.@global — All global spaces.@favorite — The spaces you have marked as favourite.@favourite — 上記の @favorite と同様。@all — Confluence サイトのすべてのスペース。* — 上記の @all と同様。~jbloggs や ~jbloggs@example.com のように、ユーザー名の前にチルダ (~) 記号をつける必要があることにご注意ください。authorいいえ (なし)
You can specify one or more authors, separated by a comma.titleいいえ (なし) Adds a heading to the list. showLabelsいいえ trueDetermines whether to display the matching labels in the list of results. reverseいいえ falseUse this parameter in conjunction with the sort parameter. Set reverse=true to change the sort from ascending to descending. This parameter is ignored if the sort parameter is not specified.sortいいえ modifiedDetermines how the results are sorted. To change the sort order from ascending to descending, use the reverse parameter described above.
If this parameter is not specified, the sort order defaults to descending order based on the last modification date.
Values:
maxいいえ 15Determines the maximum number of results to be displayed. Note that the results are sorted first, and then the maximum parameter is applied. excerptいいえ falseIf this parameter is set to true, the macro displays an excerpt from each page listed in the results. Note that you must define the excerpts on each of those pages, by adding the Excerpt macro to each page. If a particular page does not have an excerpt defined, then the Content by Label macro will not attempt to show an excerpt for that page. The Content by Label macro will show only the first few lines of the excerpt for each page.labelsはい (なし) Use this parameter to filter the results by label. The macro will display only the pages and other content types which are tagged with the label(s) you specify here. See also the operator parameter.
You can specify one or more label values, separated by a comma or a space.
-badpage you will get only content which is not labelled with 'badpage'.+superpage,+goodpage と指定すると、少なくとも "superpage" と "goodpage" の 2 つのラベルを持つコンテンツのみを取得できます。showSpaceいいえ trueDetermines whether to display the spaces in the list of results. typeいいえ すべて Filters the restults by content type. The macro will display only the content of the type you specify here.
You can specify one or more types, separated by a comma or a space.-blogpost と指定すると、ページと、ブログ投稿を除くその他すべてのコンテンツを取得できます。page — ages.blogpost or news — blog posts, also known as news items.attachment – attachments.operatorいいえ ORThe operator to apply to the supplied lists of labels. By default, a page with any of the non-prefixed labels (that is, labels without a plus (+) or minus (-) sign immediately preceding it) will be listed. If you specify a value of AND, only pages with all of the supplied non-prefixed labels will be listed.
Note that this parameter only modifies the behaviour of the 'Label(s)' parameter and only affects label values without a plus (+) or minus (-) sign prefix. To avoid confusion or unexpected results, we recommend that you do not use the operator parameter in conjunction with any label values prefixed with '+' or '-' signs.
例:
{contentbylabel:spaces=@personal,@self|author=admin,smaddox|title=My labelled pages|showLabels=false|reverse=true|sort=creation|max=10|excerpt=true|labels=chocolate,cake|showSpace=false|type=page|operator=AND}
Content by User macro
Displays a list of the content items that have been created by a specified Confluence user.
Macro name: マクロ本体: なし。 (Unnamed in wiki markup)content-by-userパラメーター名 必須 既定 パラメーターの説明と指定可能な値 default-parameterはい (なし) The Confluence username for the person whose content you wish to display
例:
{content-by-user:jsmith}
Contributors macro
Displays a list of Confluence users who have made a contribution of some type to a page.
Macro name: マクロ本体: なし。 パラメーター名 既定 パラメーターの説明と指定可能な値 (なし) Limits the number of contributors displayed in the list. 現在のスペース Specifies the space key of the Confluence space to search. Space keys are case sensitive. You can specify one or more space keys or special values, separated by commas. Reverses the order of contributors in the list. Must be used in conjunction with the The specified page only Specifies additional pages to include when generating the list of contributors. 利用可能な値: (なし) Limits the list of contributors to those who created the specified labels on a page. You can specify one or more labels, separated by commas. If the value is true, the macro will display a list of the pages used to generate the list of contributors. "No contributors found for:" (and a summary of selected parameter values) Any message given here will override the default message that is displayed when no contributors are found. false Determines whether the macro will show the number of times each person made a contribution. Both pages and blog posts Restricts the content type that the macro will use when generating the list of contributors. 利用可能な値: authors ページ (およびオプションでその子孫ページ) で行われた投稿のタイプ、またはページのウォッチによる絞り込み。投稿者タイプは次のものになります。 You can specify one or more contribution types, separated by commas. Determines how the list of contributors is formatted: Determines whether to include those who contributed anonymously to a page. 投稿者の並べ替えに使用される基準を指定します。並べ替え基準には次のものがあります。 The current page Specifies the page to use when generating the list of contributors. If Determines whether to show the last time each person made a contribution. (None)e Specifies the publication date for a blog post. The date format required is: YYYY/MM/DD.contributors必須 limit いいえ spaces いいえ
Special values:@global — All global spaces.@personal — All personal spaces.@all — All spaces in the Confluence site.
If no page and labels are specified, all pages from the specified set of spaces are included.reverseいいえ falseorder parameter.scope
いいえ children – only the child pages of the specified page.descendants – all descendants of the specified page.labels いいえ showPages いいえ falsenoneFoundMessage いいえ showCount いいえ contentType
いいえ pages – pagesblogposts – blog posts.include
いいえ authors - ページを作成または編集したユーザーを含むcomments - ページにコメントしたユーザーを含むlabels - ページにラベルを追加したユーザーを含むwatches - includes people who are watching the page(s).mode
いいえ inline
inline — a comma-separated listlist — a bullet list.showAnonymous
いいえ false
order
いいえ count
count – sorts the names based on the total number of contributions to the page(s)name – sorts the names into alphabetical orderupdate – sorts the names by the date of their last contribution to the page(s).ページ
いいえ page and spaces are left blank, the current page is assumed.showLastTime
いいえ false
publishDate
いいえ
例:
この例では、ブログ投稿のコンテンツ タイプを指定しています。 この例では、ページ コンテンツ タイプを指定しています。 {contributors:limit=10|spaces=ds,@personal|reverse=true|labels=chocolate,cake|showPages=true|noneFoundMessage=Oh dear, no contributors found|showCount=true|contentType=blogposts|include=authors,comments,labels,watches|mode=list|showAnonymous=true|order=update|showLastTime=true|publishDate=2012/06/30}
{contributors:limit=10|spaces=ds,@personal|reverse=true|scope=descendants|labels=chocolate,cake|showPages=true|noneFoundMessage=Oh dear, no contributors found|showCount=true|contentType=pages|include=authors,comments,labels,watches|mode=list|showAnonymous=true|order=update|page=ds:Advanced Topics|showLastTime=true}
Contributors Summary macro
Displays a table of contribution-based statistics for a set of pages.
Macro name: マクロ本体: なし。 パラメーター名 既定 パラメーターの説明と指定可能な値 (なし) Limits the number of contributors or pages displayed in the table. 現在のスペース Specifies the space key of the Confluence space to search. Space keys are case sensitive. You can specify one or more space keys or special values, separated by commas. Reverses the order of items in the table. Must be used in conjunction with the Determines whether to include those who contributed anonymously to a page. The specified page only Specifies additional pages to include when generating the list of contributors. 利用可能な値: Sets the criterion used for sorting items in the table. 利用可能な値: The current page A page title. Specifies the page to use when generating the list of contributors. If (なし) Limits contribution-based statistics to the specified labels only. You can specify one or more labels, separated by commas. Determines the columns that should appear in the table. The statistics or type of information presented depends on the 利用可能な値: You can specify one or more columns, separated by commas. 投稿者ベース統計をグループ化する基準を指定します: Both pages and blog posts Restricts the content type that the macro will use when generating the list of contributors. 利用可能な値: (なし) Specifies the publication date for a blog post. The date format required is: YYYY/MM/DD.contributors-summary必須 limit いいえ spaces いいえ
Special values:@global — All global spaces.@personal — All personal spaces.@all — All spaces in the Confluence site.
If no page and labels are specified, all pages from the specified set of spaces are included.reverseいいえ falseorder parameter.showAnonymous
いいえ false
scope
いいえ children – only the child pages of the specified page.descendants – all descendants of the specified page.order
いいえ edits
edits – sorts items in the table based on the total number of edits made, either by a contributor or to a page.name – sorts items in the table in alphabetical order, either by contributor or page name.editTime – sorts items in the table based on when the contributor last edited a page (or a specified set of pages) or when the page was lasted edited.update – sorts items in the table based on when the contributor last made any contribution to a page (or a specified set of pages) or when the page last had any contribution made to it.ページ
いいえ page and spaces are left blank, the current page is assumed.labels いいえ 列
いいえ edits,comments,labelsgroupby parameter.edits – the number of times each contributor has edited the page(s) or the number of edits made to each page.edited – a list of the pages edited by each contributor or a list of contributors who have edited each page.comments – the number of times each contributor has added comments to the page(s) or the number of comments on each page.commented – a list of pages to which each contributor has added comments or a list of contributors who have commented on each page.labels – the number of times each contributor has added labels to the page(s) or the number of labels on each page.labeled – a list of pages to which each contributor has added labels or a list of contributors who have added a label to each page.labellist – a list of labels either added by each contributor or on each page.watches – the number of pages being watched by each contributor/person or the number of contributors/people watching each page.watching – a list of pages being watched by each contributor/person or a list of contributors/people watching each page.lastupdate – the last time each contributor made an update or when each page was last updated. Valid updates can include edits, comments or label modifications to a page.groupby
いいえ contributorscontributors – group by the people who have contributed.pages – group by the pages used to find the contributors.contentType
いいえ pages – pagesblogposts – blog posts.showZeroCountsいいえ falseDetermines whether contributors or pages are included for which the calculated statistic is zero. publishDate
いいえ
例:
この例では、ブログ投稿のコンテンツ タイプを指定しています。 この例では、ページ コンテンツ タイプを指定しています。{contributors-summary:limit=10|spaces=ds,@personal|reverse=true|showAnonymous=true|order=update|labels=chocolate,cake|columns=edits,comments,labels,lastupdate|groupby=pages|contentType=blogposts|showZeroCounts=true|publishDate=2012/06/07}
{contributors-summary:limit=10|spaces=ds,@personal|reverse=true|showAnonymous=true|scope=descendants|order=update|page=ds:Advanced Topics|labels=chocolate,cake|columns=edits,comments,labels,lastupdate|groupby=pages|contentType=pages|showZeroCounts=true}
Expand macro
Displays an expandable/collapsible section of text.
Macro name: Macro body: Accepts rich text. (Unnamed in wiki markup)expandパラメーター名 必須 既定 パラメーターの説明と指定可能な値 default-parameterいいえ Click here to expand...Text that will be displayed on the line that people can click to expand the hidden text.
例:
{expand:This is my message}
This text is _hidden_ until you expand it.
{expand}
Info macro
Displays a block of text in a blue highlight box.
Macro name: Macro body: Accepts rich text.infoパラメーター名 必須 既定 パラメーターの説明と指定可能な値 iconいいえ trueDetermines whether to display the icon in the title bar of the information box.
titleいいえ (なし) The title of the information box. If specified, the title text will be displayed in bold next to the icon.
例:
{info:title=This is my title|icon=false}
This is _important_ information.
{info}
Section macro
Used with the Column macro to define columns on a page. See Working with page layouts and columns and sections.
Macro name: Macro body: Rich text, consisting of one or more Column macros.sectionパラメーター名 必須 既定 パラメーターの説明と指定可能な値 borderいいえ False 値が true の場合、このセクションの列の枠線は破線になります。
例:
{section:border=true}
{column:width=100px}
This is the content of *column 1*.
{column}
{column}
This is the content of *column 2*.
{column}
{section}
コンテンツ テーブル マクロ
Displays a table of contents from your page headings.
Macro name: マクロ本体: なし。 This parameter applies to vertical lists only ( Use this parameter to indent the list items according to CSS quantities. For example, a value of Specifies the headings to exclude by pattern matching. The value must be a regular expression. If this parameter is specified, the table of contents will include only the headings that match the regular expression. Example: Defines the overall format of the table of contents. 利用可能な値: This parameter applies to flat lists only ( 利用可能な値: Specifies the headings to include by pattern matching. The value must be a regular expression. If this parameter is specified, the table of contents will ignore any headings that do not match the regular expression. Example: See Sun's Regex documentation for examples of constructing regular expression strings.tocパラメーター名 必須 既定 パラメーターの説明と指定可能な値 printableいいえ trueIf you set this parameter to false, the table of contents will not be visible when you print the page.styleいいえ noneThe style of bullet point for each list item. You can use any valid CSS style. For example: none – No list style is displayed.circle – The list style is a circle.disc – The list style is a filled circle. This is the typical bullet list, and is the one we are using in this example list.square — The list style is a square.decimal — The list is numbered (1, 2, 3, 4, 5).lower-alpha — The list style is lower case, alphabetised (a, b, c, d, e).lower-roman — The list style is lower-case roman numerals (i, ii, iii, iv, v, vi).upper-roman — The list style is upper-case roman numerals (I, II, III, IV, V, VI).maxLevelいいえ 7Maximum heading level. Use this parameter to select the highest heading level to include. For example, a value of 2 will list h1 and h2 levels, but will not include h3 and below.indentいいえ (なし) type = list). 10px will successively indent list heading groups by 10 pixels. Level 1 headings will be indented 10px, and level 2 headings by an additional 10px, and so on.minLevelいいえ 1Minimum heading level. The heading level at which the table of contents will start. For example, a value of 2 will list h2, h3, and h4 headings, but will not include h1 headings.classいいえ (なし) A CSS class name. If you have a custom style sheet, you can use this parameter to output the table of contents with the specified class attribute. excludeいいえ (なし) .*\.[1//2]typeいいえ listlist – displays the table of contents in a vertical list.flat – displays a horizontal series of links. For example: [Heading 1] [Heading 2] [Heading 3].outlineいいえ falseA value of true will apply outline numbering to the headings as displayed in the table of contents. For example: 1.1, 1.2, 1.3.separatorいいえ bracketstype = flat). Use this parameter to style the display of a flat list. brackets – Each item is enclosed by square brackets: [ ].braces – Each item is enclosed by braces: { }.parens – Each item is enclosed by parentheses: ( ).pipe – The items are separated by a pipe: |***. If using a custom separator, be aware that text displays exactly as entered, with no additional white space to further separate the characters.includeいいえ (なし) .*\.[1//2]
例:
この例は、リスト タイプの目次を示しています。 この例では、目次のフラット テーブルを示しています。{toc:printable=true|style=square|maxLevel=2|indent=5px|minLevel=2|class=bigpink|exclude=[1//2]|type=list|outline=true|include=.*}
{toc:printable=true|maxLevel=2|minLevel=2|class=bigpink|exclude=[1//2]|type=flat|outline=true|separator=pipe|include=.*}
注意
- [Required (必須)] 列は、データ入力時にパラメーターが必要かどうかを示します。パラメーターが指定されていない場合、Confluence は [デフォルト] 列に示されているように既定値を挿入します。
- Wiki markup is not case sensitive. For example, you can specify a parameter name of
sortByorsortby. - For a few macros in wiki markup, the default parameter may be unnamed. The examples on this page show the macros concerned. In such cases, the unnamed parameter is always the first parameter specified.
- A request from the Atlassian technical writers about comments and feedback: We would like to distinguish between the documentation of the current solution (this page) and any discussion of the solution and possible changes to Confluence wiki markup and/or the XHTML-based storage format. If you have a suggestion for, or correction of, this documentation, please add your suggestion to this page. If you have feedback on the Confluence markup, storage format and related functionality, please add your suggestion to the page titled Confluence 4 Editor - Customer Feedback. Thanks.
