Difference between revisions of "Template:Cols link"
Jump to navigation
Jump to search
[[{{{1}}}]]
m (GrayanOne moved page Template:Columns link to Template:Cols link without leaving a redirect) |
m |
||
| Line 1: | Line 1: | ||
| − | <li>{{#if:{{{2|}}}|[[{{{1}}}|{{{2}}}]]|[[{{{1}}}]]}}{{#if:{{{txt|}}}|, {{{txt}}}}} {{#if:{{{img|}}}|[[File:{{{img}}}|{{{sz}}}]]}}</li><noinclude>{{doc2}}</noinclude> | + | <li>{{#if:{{{2|}}}|[[{{{1}}}|{{{2}}}]]|[[{{{1}}}]]}}{{#if:{{{lnk|}}}|[[{{{lnk}}}]]}}{{#if:{{{txt|}}}|, {{{txt}}}}} {{#if:{{{img|}}}|[[File:{{{img}}}|{{{sz}}}]]}}</li><noinclude>{{doc2}}</noinclude> |
Revision as of 16:06, 10 June 2018
[edit] Documentation
| DO NOT USE; this template is being phased out. |
Usage
Use this template within Template:Columns to create an entry.
Note that the image has float=none set; and that it will have a default left margin of 10px.
Example
{{Columns|width=20em|lst=square|content=
{{Cols hdr|Board Members}}
{{Cols link|Nigel Lawson|txt=, President}}
{{Cols link|Bill Cash}}
{{Cols link|Gerald Howarth|Sir Gerald Howarth}}
{{Cols link|Michelin|png=Michelin-Group-horiz.svg|w=105|h=20|txt=abc def ghi}}
-- or --
{{Cols link|Speedibake|png=Speedibake.png|w=99|h=20}}
{{Cols link|txt=John Brown, [http://www.acme.com Acme Co.]}}
... ...
}}
- Board Members
- Nigel Lawson, , President
- David Campbell Bannerman
- Steve Baker, , Co-Chair
- Bill Cash
- Howard Flight
- Lord Forsyth
- Liam Fox
- Daniel Hannan
- Greville Howard
- Sir Gerald Howarth
- Michelin, abc def ghi
- Speedibake
- [[{{{1}}}]], John Brown, Acme Co.