Template:Columns: Difference between revisions

No edit summary
No edit summary
Line 38: Line 38:


This will display the list in two columns.
This will display the list in two columns.
==Template Code==
Here is the code for the template:
<pre>
<div class="pillars" style="column-count: {{{count|3}}}; {{{style|}}};">
  {{{1}}}
</div>
</pre>
This code creates a `div` with the class "pillars" and applies the specified number of columns and styles.


</noinclude>
</noinclude>