Difference between revisions of "Template:Columns/doc"
Jump to navigation
Jump to search
m |
m (→Example) |
||
| Line 23: | Line 23: | ||
{{columns|width=15|lst=square|content= | {{columns|width=15|lst=square|content= | ||
<li>Nigel Lawson, President</li> | <li>Nigel Lawson, President</li> | ||
| − | <li>David Campbell Bannerman | + | <li>David Campbell Bannerman</li> |
<li>Steve Baker, Co-Chair</li> | <li>Steve Baker, Co-Chair</li> | ||
<li>Michael Ancram</li> | <li>Michael Ancram</li> | ||
Revision as of 17:58, 27 April 2018
Usage
Use this template to create a flexible, multi-column list.
If used without parameters, it will produce a flexible, multi-column, 20em column-width list, with a list-style-type of disc, and a font-size of 100%.
See Foreign Policy Centre "Partners and Members" for an in-use example.
The parameters are:
{{{width}}} - default = 20em
{{{fsize}}} - default = 100%
{{{lst}}} - default = disc (options: [none|disc|circle|square|decimal]) More options at [https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type Moz. Dev. Network]
{{{content}}} - whatever content you want to put in here.
Example
{{columns|width=15|lst=square|content=
<li>Nigel Lawson, President</li>
<li>David Campbell Bannerman, Co-Chair</li>
<li>Steve Baker, Co-Chair</li>
... ...
}}