Difference between revisions of "Template:Columns/doc"
Jump to navigation
Jump to search
m |
m |
||
| Line 20: | Line 20: | ||
<pre> | <pre> | ||
{{Columns|width=15em|lst=square|content= | {{Columns|width=15em|lst=square|content= | ||
| − | {{ | + | {{Cols hdr|Board Members}} |
<li>Nigel Lawson, President</li> | <li>Nigel Lawson, President</li> | ||
<li>David Campbell Bannerman, Co-Chair</li> | <li>David Campbell Bannerman, Co-Chair</li> | ||
| Line 28: | Line 28: | ||
</pre> | </pre> | ||
{{Columns|width=15em|lst=square|content= | {{Columns|width=15em|lst=square|content= | ||
| − | {{ | + | {{Cols hdr|Board Members}} |
<li>Nigel Lawson, President</li> | <li>Nigel Lawson, President</li> | ||
<li>David Campbell Bannerman</li> | <li>David Campbell Bannerman</li> | ||
Revision as of 11:22, 10 June 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 more List-style-type options at Moz. Dev. Network.
Examples:
- Foreign Policy Centre "Partners and Members"
- Conservatives for Britain
The parameters are:
{{{width}}} - default = 20em
{{{fsize}}} - default = 100%
{{{lst}}} - default = disc (options: [none|disc|circle|square|decimal])
{{{content}}} - whatever content you want to put in here.
Example
Note the use of the {{ColumnsHdr|Board Members}} template to create a heading.
{{Columns|width=15em|lst=square|content=
{{Cols hdr|Board Members}}
<li>Nigel Lawson, President</li>
<li>David Campbell Bannerman, Co-Chair</li>
<li>Steve Baker, Co-Chair</li>
... ...
}}
- Board Members
- Nigel Lawson, President
- David Campbell Bannerman
- Steve Baker, Co-Chair
- Michael Ancram
- David Campbell Bannerman
- Steve Bell
- Lord Blencathra
- Bill Cash
- Howard Flight
- Lord Forsyth
- Liam Fox
- Lord Hamilton
- Daniel Hannan
- Greville Howard
- Sir Gerald Howarth