Difference between revisions of "Template:Cols link"
Jump to navigation
Jump to search
m |
m |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | <li>{{#if:{{{2|}}}|[[{{{1}}}|{{{2}}}]]|[[{{{1}}}]]}}{{#if:{{{txt|}}}| | + | <li>{{#if:{{{1|}}}|{{#if:{{{2|}}}|[[{{{1}}}|{{{2}}}]]|[[{{{1}}}]]}}|}}{{#if:{{{lnk|}}}|, [[{{{lnk}}}]]}} {{#if:{{{txt|}}}|{{{txt}}}}}{{#if:{{{img|}}}| [[File:{{{img}}}|{{{sz}}}]]}}{{#if:{{{png|}}}|{{img|{{{png}}}|{{{w}}}|{{{h}}}|float=none|ml=10px}}}}</li><noinclude>{{doc2}}</noinclude> |
Latest revision as of 15:56, 14 October 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

- John Brown, Acme Co.