Difference between revisions of "Template:Cols link"

From WikiCorporates
Jump to navigation Jump to search
(Created page with "<li>[[{{{1}}}]] {{#if:{{{2|}}}|[[File:{{{2}}}|{{{3}}}]]}}</li><noinclude>{{doc2}}</noinclude>")
 
m
Line 1: Line 1:
−
<li>[[{{{1}}}]] {{#if:{{{2|}}}|[[File:{{{2}}}|{{{3}}}]]}}</li><noinclude>{{doc2}}</noinclude>
+
<li>{{#if:{{{2|}}}|[[{{{1}}}|{{{2}}}|{{{1}}}]]|[[{{{1}}}]]}} {{#if:{{{img|}}}|[[File:{{{img}}}|{{{sz}}}]]}}</li><noinclude>{{doc2}}</noinclude>

Revision as of 11:02, 10 June 2018

  • [[{{{1}}}]]
  • [edit] Documentation

    Ambox important.svg 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.]}}
    ... ...
    }}