有没有办法在表格中显示{children},让他们都坐在一列中,每行一个?
比如说,我有子页面 a、b 和 c,并希望它们显示在带有页面名称、作者和其他内容的表格中:
|a|丹尼斯|40|
|b|亚历克斯|43|
|c|未知|2|
有没有办法在表格中显示{children},让他们都坐在一列中,每行一个?
比如说,我有子页面 a、b 和 c,并希望它们显示在带有页面名称、作者和其他内容的表格中:
|a|丹尼斯|40|
|b|亚历克斯|43|
|c|未知|2|
您是否尝试过报告插件
结帐 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}
使用它会很有趣,一旦你开始使用它。
弗朗西斯
您也可以使用 { metadata-report }
{metadata-report:Page,Author}
{metadata-report} 用于显示使用元数据插件存储在页面上的元数据,也可用于显示内容属性,包括: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|pages=@descendants}
这可以包含在{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}