2011-10-24 86 views
1

有沒有辦法在表格中顯示{children},方式是所有人都坐在一列,每行一列?Confluence:在表中顯示{children}

說,我有一個子頁面,b和c,並希望他們展示與頁面名稱,作者和其他東西的表:

| A |丹尼斯| 40 |

| b | Alex | 43 |

| c | Unknown | 2 |

回答

3

你嘗試報告插件

結賬 http://wiki.customware.net/repository/display/AtlassianPlugins/Reporting+Plugin

例如使用以下配置

{report-table} 

{local-reporter:page:children} 
{text-sort:page:title} 
{local-reporter} 

{report-column:title=Title}{report-info:page:title}{report-column} 
{report-column:title=Author}{report-info:page:creator}{report-column} 

{report-table} 

相當多使用它,一旦你行動起來找點樂子。

弗朗西斯

0

你也可以使用{metadata-report}

{metadata-report:Page,Author} 

{元數據報告}用於顯示儲存在使用Metadata plugin網頁的元數據,也可以用來dislay內容屬性,包括: Page,Author,Last Changed By,Last Time Changed,Date,Time,Time Created,Posted,Space,Parent

您還可以設置根頁面,並將所有基本頁面元數據拉出到表格中。例如:

{metadata-report:Page,Author,Last Changed By,Last Time Changed,Date,Time,Time Created,Posted,Space,Parent|root=somepagewithchildren|[email protected]} 

這可以被包裹在{table-filter}{table-plus}宏排序。

{table-filter:userfilter=Page,Author,Time Created} 
{table-plus:columnTypes=S,S,D"dd MMM, yyyy hh:mm"} 
{metadata-report:Page,Author,Time Created} 
{table-plus} 
{table-filter}