Difference between revisions of "Template:Columns"

From The Coppermind
Jump to navigation Jump to search
m (→‎Users: -, use special page view)
m (+list users)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div class=columns style="-moz-column-count:{{{count|3}}}; -webkit-column-count:{{{count|3}}}; column-count:{{{count|3}}}; height:{{{height|auto}}}; {{{style|}}};">{{{1}}}</div><noinclude>[[Category: Templates]]
+
<div class=pillars style="column-count: {{{count|3}}}; {{{style|}}};">{{{1}}}</div><noinclude>[[category: templates]]
   
 
Outputs the first argument in several columns, 3 by default or the value you assign to count. Especially useful for long lists.
 
Outputs the first argument in several columns, 3 by default or the value you assign to count. Especially useful for long lists.
Line 36: Line 36:
 
* bla
 
* bla
 
}}
 
}}
  +
  +
== Articles using Template ==
  +
{{for|Special:WhatLinksHere/{{FULLPAGENAME}}|a full listing|here}}
  +
{{Special:WhatLinksHere/{{FULLPAGENAME}}|namespace=0}}

Latest revision as of 08:23, 19 April 2020

{{{1}}}

Outputs the first argument in several columns, 3 by default or the value you assign to count. Especially useful for long lists.

Usage Examples[edit]

{{columns|
content...
}}

{{columns|count=x|
content...
}}

For example this code:

{{columns|
* bla
* bla 
* bla
* bla 
* bla
* bla 
}}

Will generate the following result:

  • bla
  • bla
  • bla
  • bla
  • bla
  • bla

Articles using Template[edit]