Template: ColumnFormat

From Genesys Documentation
Revision as of 00:54, September 13, 2018 by Bgrenon (talk | contribs) (Created page with "<noinclude>Formatting template to simplify markup for presenting content in auto-adjusting columns. It should be called in the following format: <pre> {{ColumnFormat |cols=<...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 (2026-04-03 20:03:29)"