Difference between revisions of "Template:Columns/doc"
Jump to navigation
Jump to search
m |
m (→Timeline) |
||
| Line 53: | Line 53: | ||
<li><small>Apr.2016</small>{{img|Economists-for-Free-Trade.png|81|25}} Co-founded {{em|Economists for Brexit}}, now morphed into [[Economists for Free Trade]].</li> | <li><small>Apr.2016</small>{{img|Economists-for-Free-Trade.png|81|25}} Co-founded {{em|Economists for Brexit}}, now morphed into [[Economists for Free Trade]].</li> | ||
<li><small> </small>{{img|Centre-for-Policy-Studies-opt.svg|25|25}} Council, [[Centre for Policy Studies]].</li> | <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><small>2011-</small>{{img|Reform-opt.svg|31|25}} Advisory Council, [[Reform]]</li> |
... ... | ... ... | ||
}} | }} | ||
| Line 60: | Line 60: | ||
<li><small>Apr.2016</small>{{img|Economists-for-Free-Trade.png|81|25}} Co-founded {{em|Economists for Brexit}}, now morphed into [[Economists for Free Trade]].</li> | <li><small>Apr.2016</small>{{img|Economists-for-Free-Trade.png|81|25}} Co-founded {{em|Economists for Brexit}}, now morphed into [[Economists for Free Trade]].</li> | ||
<li><small> </small>{{img|Centre-for-Policy-Studies-opt.svg|25|25}} Council, [[Centre for Policy Studies]].</li> | <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><small>2011-</small>{{img|Reform-opt.svg|31|25}} Advisory Council, [[Reform]]</li> |
}} | }} | ||
<includeonly>[[Category:WikiPolitiks templates]]</includeonly> | <includeonly>[[Category:WikiPolitiks templates]]</includeonly> | ||
Revision as of 10:54, 16 August 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%. (Nb: See more List-style-type options at Moz. Dev. Network.)
Examples:
- Foreign Policy Centre "Partners and Members"
- Conservatives for Britain
- Patrick Minford, using "timeline" option
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. Eg. here: [[Patrick Minford]].
{{{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
Plain Vanilla
{{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
Timeline
{{Columns|width=30em|lst=none|class=timeline|content=
<li><small>Apr.2016</small>{{img|Economists-for-Free-Trade.png|81|25}} Co-founded {{em|Economists for Brexit}}, now morphed into [[Economists for Free Trade]].</li>
<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>
... ...
}}
- Apr.2016
Co-founded Economists for Brexit, now morphed into Economists for Free Trade. -
Council, Centre for Policy Studies.
- 2011-
Advisory Council, Reform