Template:Columns/doc

From WikiCorporates
< Template:Columns
Revision as of 11:15, 16 August 2018 by GrayanOne (talk | contribs) (→‎Eg. #2: Timeline)
Jump to navigation Jump to search

<< Template:Columns

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%. (Nb: See more List-style-type options at Moz. Dev. Network.)

The parameters are:

{{{width}}}   - default  = 20em
{{{fsize}}}   - default  = 100%
{{{lst}}}     - default  = disc (options: [none|disc|circle|square|decimal])
{{{class}}}   - vspace   = adds 6px padding to the bottom of each <li>
              - timeline = removes the bullet, left-aligns the content.
{{{content}}} - whatever content you want to put in here.

Examples

Note the use of the {{Cols hdr|Board Members}} template to create a heading: Template:Cols hdr

Eg. #1: Plain Vanilla

Examples:

{{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}}
... ...
}}

Eg. #2: Timeline

Example: Patrick Minford

{{Columns|width=30em|lst=none|class=timeline|content=
{{Cols tline|Apr.2016|Co-founded {{em|Economists for Brexit}}, now morphed into [[Economists for Free Trade]].|png=Economists-for-Free-Trade.png|w=81|h=25}}
<li><small> </small>{{img|Centre-for-Policy-Studies-opt.svg|25|25}} Council, [[Centre for Policy Studies]].</li>
<li><small>2011-</small>{{img|Reform-opt.svg|31|25}} Advisory Council, [[Reform]]</li>
... ...
}}