Difference between revisions of "Template:Columns/doc"
Jump to navigation
Jump to search
m |
m (→Usage) |
||
| Line 1: | Line 1: | ||
=== Usage === | === Usage === | ||
Use this template to create a flexible, multi-column list.<br/> | Use this template to create a flexible, multi-column list.<br/> | ||
| − | If used without parameters, it will produce a flexible, multi-column, 20em column-width list, with font-size of 100%.<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%.<br/> |
See [[Foreign Policy Centre#Connections|Foreign Policy Centre]] "Partners and Members" for an in-use example. | See [[Foreign Policy Centre#Connections|Foreign Policy Centre]] "Partners and Members" for an in-use example. | ||
The parameters are: | The parameters are: | ||
<pre> | <pre> | ||
| − | {{{width}}} - default = 20em | + | {{{width}}} - default = 20em |
{{{fsize}}} - default = 100% | {{{fsize}}} - default = 100% | ||
| − | {{{content}}} - whatever content you put in here. | + | {{{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. | ||
</pre> | </pre> | ||
| + | |||
| + | === Small Example === | ||
| + | <pre> | ||
| + | {{columns|width=15|lst=square|content= | ||
| + | <li>Nigel Lawson, President</li> | ||
| + | <li>David Campbell Bannerman, Co-Chair</li> | ||
| + | <li>Steve Baker, Co-Chair</li> | ||
| + | ... ... | ||
| + | }} | ||
| + | </pre> | ||
| + | {{columns|width=15|lst=square|content= | ||
| + | <li>Nigel Lawson, President</li> | ||
| + | <li>David Campbell Bannerman, Co-Chair</li> | ||
| + | <li>Steve Baker, Co-Chair</li> | ||
| + | <li>Michael Ancram</li> | ||
| + | <li>David Campbell Bannerman</li> | ||
| + | <li>Steve Bell</li> | ||
| + | <li>Lord Blencathra</li> | ||
| + | <li>Bill Cash</li> | ||
| + | <li>Howard Flight</li> | ||
| + | <li>Lord Forsyth</li> | ||
| + | <li>Liam Fox</li> | ||
| + | <li>Lord Hamilton</li> | ||
| + | <li>Daniel Hannan</li> | ||
| + | <li>Greville Howard</li> | ||
| + | <li>Sir Gerald Howarth</li> | ||
| + | }} | ||
=== All Parameters Example === | === All Parameters Example === | ||
Revision as of 17:57, 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.
Small 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>
... ...
}}
All Parameters Example
{{columns
|width = 30em
|fsize = 90%
|content = ... ...
}}