Difference between revisions of "Template:Columns/doc"
Jump to navigation
Jump to search
m |
m |
||
| Line 1: | Line 1: | ||
<small>[[Template:Columns|<< Template]]</small> | <small>[[Template:Columns|<< Template]]</small> | ||
=== Usage === | === Usage === | ||
| − | Use this template to create a flexible, multi-column list.<br/> | + | Use this template to create a flexible, multi-column list, with [[Template:Cols link]].<br/> |
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 [https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type Moz. Dev. Network].<br/> | 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 [https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type Moz. Dev. Network].<br/> | ||
Revision as of 19:47, 6 July 2018
Usage
Use this template to create a flexible, multi-column list, with Template:Cols link.
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 {{Cols hdr|Board Members}} template to create a heading.
{{Columns|width=15em|lst=square|content=
{{Cols hdr|Board Members}}
{{Cols link|Nigel Lawson|txt=President}}
{{Cols link|David Campbell Bannerman}}
{{Cols link|Steve Baker|txt=Co-Chair}}
{{Cols link|Gerald Howarth|Sir Gerald Howarth}}
{{Cols link|Michelin|img=Michelin-Group-logo-vert-opt.svg|sz=45x20px}}
... ...
}}
- Board Members
- Nigel Lawson President
- David Campbell Bannerman
- Steve Baker Co-Chair
- Michelin 45x20px
- Steve Bell
- Lord Forsyth
- Liam Fox
- Greville Howard
- Sir Gerald Howarth