Template:Div col: Difference between revisions

From Vigyanwiki
Template>SatyrTN
(Instructions)
Template>SatyrTN
(mv to talk)
Line 1: Line 1:
<includeonly><div style="-moz-column-count:2; column-count:2;{{#ifeq: {{lc:{{{small|}}}}} | yes | font-size:80%;|}}"></includeonly><noinclude>
<includeonly><div style="-moz-column-count:2; column-count:2;{{#ifeq: {{lc:{{{small|}}}}} | yes | font-size:80%;|}}"></includeonly><noinclude>
== Description ==
{{Template talk:Div 2col}}
This template is used to make a list into two columns, with the option of specifying a smaller font.
 
== Usage ==
<pre>{{Div 2col}}
* a
* b
* c
* d
{{Div col end}}</pre>
 
;Produces:
<div style="-moz-column-count:2; column-count:2;{{#ifeq: {{lc:{{{small|}}}}} | yes | font-size:80%;|}}">
* a<br>
* b<br>
* c<br>
* d
</div>
</noinclude>
</noinclude>

Revision as of 22:38, 8 August 2007