Difference between revisions of "Template:Columns/doc"
Jump to navigation
Jump to search
m (→Usage) |
m |
||
| Line 12: | Line 12: | ||
</pre> | </pre> | ||
| − | === | + | === Example === |
<pre> | <pre> | ||
{{columns|width=15|lst=square|content= | {{columns|width=15|lst=square|content= | ||
| Line 39: | Line 39: | ||
}} | }} | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
<includeonly>[[Category:WikiPolitiks templates]]</includeonly> | <includeonly>[[Category:WikiPolitiks templates]]</includeonly> | ||
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.
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>
... ...
}}