Difference between revisions of "Template:Cols link/doc"

From WikiCorporates
Jump to navigation Jump to search
m (→‎Example)
m (→‎Example)
Line 7: Line 7:
 
* [[Waste and Resources Action Programme]]
 
* [[Waste and Resources Action Programme]]
 
<pre>
 
<pre>
−
{{Columns|width=15em|lst=square|content=
+
{{Columns|width=20em|lst=square|content=
 
{{Cols hdr|Board Members}}
 
{{Cols hdr|Board Members}}
 
{{Cols link|Nigel Lawson|txt=, President}}
 
{{Cols link|Nigel Lawson|txt=, President}}
 
{{Cols link|Bill Cash}}
 
{{Cols link|Bill Cash}}
 
{{Cols link|Gerald Howarth|Sir Gerald Howarth}}
 
{{Cols link|Gerald Howarth|Sir Gerald Howarth}}
−
{{Cols link|Michelin|img=Michelin-Group-logo-vert-opt.svg|sz=45x20px}}
+
{{Cols link|Michelin|png=Michelin-Group-horiz.svg|w=105|h=20|txt=abc def ghi}}
 
-- or --
 
-- or --
 
{{Cols link|Speedibake|png=Speedibake.png|w=99|h=20}}
 
{{Cols link|Speedibake|png=Speedibake.png|w=99|h=20}}
Line 19: Line 19:
 
}}
 
}}
 
</pre>
 
</pre>
−
{{Columns|width=15em|lst=square|content=
+
{{Columns|width=20em|lst=square|content=
 
{{Cols hdr|Board Members}}
 
{{Cols hdr|Board Members}}
 
{{Cols link|Nigel Lawson|txt=, President}}
 
{{Cols link|Nigel Lawson|txt=, President}}
Line 31: Line 31:
 
{{Cols link|Greville Howard}}
 
{{Cols link|Greville Howard}}
 
{{Cols link|Gerald Howarth|Sir Gerald Howarth}}
 
{{Cols link|Gerald Howarth|Sir Gerald Howarth}}
−
{{Cols link|Michelin|img=Michelin-Group-logo-vert-opt.svg|sz=45x20px|txt=abc def ghi}}
+
{{Cols link|Michelin|png=Michelin-Group-horiz.svg|w=105|h=20|txt=abc def ghi}}
 
{{Cols link|Speedibake|png=Speedibake.png|w=99|h=20}}
 
{{Cols link|Speedibake|png=Speedibake.png|w=99|h=20}}
 
{{Cols link|txt=John Brown, [http://www.acme.com Acme Co.]}}
 
{{Cols link|txt=John Brown, [http://www.acme.com Acme Co.]}}
 
}}
 
}}
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>
 
<includeonly>[[Category:WikiPolitiks templates]]</includeonly>

Revision as of 12:44, 18 October 2018

<< Template:Cols link

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