Confluence 列(Column)宏

使用区块宏来在页面中定义列。请查看 使用页面布局,列和分块 页面中的内容。

代码示例
下面的代码是提供给希望进一步编辑 Confluence 页面的高级用户使用的。

宏名称: column
宏内容: 接受所有的富文本。

[table]
[tr][td]参数名称
[/td][td]是否必须
[/td][td]默认值
[/td][td]参数说明和可接受的值
[/td][/tr]
[tr][td]宽度(width)[/td][td]不是必须(No)[/td][td]页面宽度的100%,然后除以块中列的数量。[/td][td]列的宽度,可以指定像素(例如: 400px)或者百分比(例如: 50%)。[/td][/tr]
[/table]

存储格式示例<ac:structured-macro ac:name="column"> <ac:parameter ac:name="width">100px</ac:parameter> <ac:rich-text-body> <p>This is the content of <strong>column 1</strong>.</p> </ac:rich-text-body> </ac:structured-macro>Wiki 标记示例{column:width=100px} This is the content of *column 1*. {column}来源:[url]http://cwiki.ossez.com/pages/viewpage.action?pageId=2393241[/url]