Template: ColumnFormat

From Genesys Documentation
Jump to: navigation, search

Formatting template to simplify markup for presenting content in auto-adjusting columns.

It should be called in the following format:

{{ColumnFormat
|cols=<number of columns from 1 to 3>
|content=
}}

The template accepts two parameters, cols (to specify the number of columns — default is 3) and content (the list of column items). There is no provision for setting column breaks. Content is:

{{#if:{{{cols|}}}|<div style="column-count:{{{cols}}};-moz-column-count:{{{cols}}};-webkit-column-count:{{{cols}}}">|<div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">}}
{{{content}}}
</div>


{{{content}}}

Retrieved from "https://all.docs.genesys.com/Template:ColumnFormat (2021-04-10 21:19:05)"