Confluence 列(Column)宏

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

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

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

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



存储格式示例

  1. <ac:structured-macro ac:name="column">
  2.   <ac:parameter ac:name="width">100px</ac:parameter>
  3.   <ac:rich-text-body>
  4.     <p>This is the content of <strong>column 1</strong>.</p>
  5.   </ac:rich-text-body>
  6. </ac:structured-macro>
复制代码

Wiki 标记示例

  1. {column:width=100px}
  2. This is the content of *column 1*.
  3. {column}
复制代码

来源:http://cwiki.ossez.com/pages/viewpage.action?pageId=2393241

猜你喜欢

转载自osseztec.iteye.com/blog/2015187
今日推荐