<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://consumerrights.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AColumns-list%2Fdoc</id>
	<title>Template:Columns-list/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://consumerrights.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AColumns-list%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://consumerrights.wiki/index.php?title=Template:Columns-list/doc&amp;action=history"/>
	<updated>2026-04-29T05:55:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://consumerrights.wiki/index.php?title=Template:Columns-list/doc&amp;diff=18749&amp;oldid=prev</id>
		<title>ConsciousCode: Importing from Wikipedia:Template:Columns-list/doc</title>
		<link rel="alternate" type="text/html" href="https://consumerrights.wiki/index.php?title=Template:Columns-list/doc&amp;diff=18749&amp;oldid=prev"/>
		<updated>2025-08-13T06:21:48Z</updated>

		<summary type="html">&lt;p&gt;Importing from Wikipedia:Template:Columns-list/doc&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AT THE END OF THIS PAGE --&amp;gt;&lt;br /&gt;
{{Hatnote|{{tl|Collist}} redirects here. You may be looking for {{tl|Collapsible list}}.}}&lt;br /&gt;
{{High-use}}&lt;br /&gt;
{{Tsh|cmn|collist|col-list}}&lt;br /&gt;
{{Lua|Module:Template wrapper|Module:Check for unknown parameters}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Template:Columns-list&amp;#039;&amp;#039;&amp;#039; turns a list into a list with columns. It is a wrapper for {{tl|div col}}, except it wraps the template by allowing for the content to be in the template rather than above and below.&lt;br /&gt;
&lt;br /&gt;
== Use ==&lt;br /&gt;
The width of each column may be specified using {{para|colwidth}} and a value in ems.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;columns-list|colwidth=&amp;#039;&amp;#039;width&amp;#039;&amp;#039;|&lt;br /&gt;
 &amp;#039;&amp;#039;Text (usually a list)&amp;#039;&amp;#039;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
Here, &amp;#039;&amp;#039;width&amp;#039;&amp;#039; specifies the width of the columns, and determines dynamically the number of columns based on screen width; more columns will be shown on wider displays.&lt;br /&gt;
&lt;br /&gt;
If {{para|colwidth}} is not specified, the default width of 30em will be used. &lt;br /&gt;
&lt;br /&gt;
This template uses [[CSS]]3 multiple-column layout, which is not supported by all web browsers.&lt;br /&gt;
&lt;br /&gt;
{{CSS3 multiple column layout}}&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
Here is an example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{columns-list|colwidth=35em|&lt;br /&gt;
* [[George Washington]]&lt;br /&gt;
* [[John Adams]]&lt;br /&gt;
* [[Thomas Jefferson]]&lt;br /&gt;
* [[James Madison]]&lt;br /&gt;
* [[James Monroe]]&lt;br /&gt;
}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which would render as:&lt;br /&gt;
{{clear}}&amp;lt;!-- just in case {{CSS3 multiple column layout}} pokes down this far --&amp;gt;&lt;br /&gt;
{{columns-list|colwidth=35em|&lt;br /&gt;
* [[George Washington]]&lt;br /&gt;
* [[John Adams]]&lt;br /&gt;
* [[Thomas Jefferson]]&lt;br /&gt;
* [[James Madison]]&lt;br /&gt;
* [[James Monroe]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
HTML classes and CSS styles can also be added with the {{para|class}} and {{para|style}} parameters. For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{columns-list|colwidth=15em|style=width: 600px; font-style: italic;|&lt;br /&gt;
* [[All About Lily Chou-Chou]]&lt;br /&gt;
* [[April Story]]&lt;br /&gt;
* [[Hana and Alice|Hana &amp;amp; Alice]]&lt;br /&gt;
* [[Hōtai Club]]&lt;br /&gt;
* [[The Kon Ichikawa Story]]&lt;br /&gt;
* [[Love Letter (1995 film)|Love Letter]]&lt;br /&gt;
* [[New York, I Love You]]&lt;br /&gt;
* [[Picnic (1996 film)|Picnic]]&lt;br /&gt;
* [[Rainbow Song]]&lt;br /&gt;
* [[Swallowtail (film)|Swallowtail]]&lt;br /&gt;
}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which would render as:&lt;br /&gt;
{{columns-list|colwidth=15em|style=width: 600px; font-style: italic;|&lt;br /&gt;
* [[All About Lily Chou-Chou]]&lt;br /&gt;
* [[April Story]]&lt;br /&gt;
* [[Hana and Alice|Hana &amp;amp; Alice]]&lt;br /&gt;
* [[Hōtai Club]]&lt;br /&gt;
* [[The Kon Ichikawa Story]]&lt;br /&gt;
* [[Love Letter (1995 film)|Love Letter]]&lt;br /&gt;
* [[New York, I Love You]]&lt;br /&gt;
* [[Picnic (1996 film)|Picnic]]&lt;br /&gt;
* [[Rainbow Song]]&lt;br /&gt;
* [[Swallowtail (film)|Swallowtail]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
This template also works with numbered lists as its &amp;quot;text&amp;quot;. For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{columns-list|colwidth=35em|&lt;br /&gt;
# [[George Washington]]&lt;br /&gt;
# [[John Adams]]&lt;br /&gt;
# [[Thomas Jefferson]]&lt;br /&gt;
# [[James Madison]]&lt;br /&gt;
# [[James Monroe]]&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{columns-list|colwidth=35em|&lt;br /&gt;
# [[George Washington]]&lt;br /&gt;
# [[John Adams]]&lt;br /&gt;
# [[Thomas Jefferson]]&lt;br /&gt;
# [[James Madison]]&lt;br /&gt;
# [[James Monroe]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The template, in fact, works with &amp;#039;&amp;#039;everything&amp;#039;&amp;#039; since all it does is wrap the text provided around a block to be divided into columns by CSS. Do not stop at wikitext lists{{snd}}more advanced lists generated by [[Template:HTML lists|the HTML templates]] will work too!&lt;br /&gt;
&lt;br /&gt;
==Error messages==&lt;br /&gt;
Use of the no-longer-supported parameter {{para|cols}}, or use of the first unnamed parameter (aka {{para|1}}) along with {{para|2}} or a second unnamed parameter for the template&amp;#039;s content, will generate a red error message. To fix this error, use {{para|colwidth}} instead of attempting to specify the number of columns. &lt;br /&gt;
&lt;br /&gt;
The presence of an equals sign within the template&amp;#039;s content can also cause display problems and red error messages. To fix this problem, add {{para|1}} in front of the template&amp;#039;s content.&lt;br /&gt;
&lt;br /&gt;
This template may cause pages to exceed the [[WP:PEIS|post-expand include size]] limit if used on large lists. If so, use {{tl|div col}} and {{tl|div col end}} instead.&lt;br /&gt;
&lt;br /&gt;
== Redirects ==&lt;br /&gt;
* {{tl|cmn}}&lt;br /&gt;
* {{tl|collist}}&lt;br /&gt;
* {{tl|col-list}}&lt;br /&gt;
* {{tl|Columnslist}}&lt;br /&gt;
&lt;br /&gt;
== Tracking category ==&lt;br /&gt;
* {{clc|Pages using columns-list with unknown parameters}} (for pages in article space only)&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
{{Column-generating template families}}&lt;br /&gt;
{{HTML lists}}&lt;br /&gt;
&amp;lt;!-- == References ==&lt;br /&gt;
{{Reflist}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Multi-column templates]]&lt;br /&gt;
[[Category:List formatting and function templates]]&lt;br /&gt;
[[Category:Templates that add a tracking category]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Content&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Specifies the content to divide into columns&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;colwidth&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Columns / Column width&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Specifies the width of columns, and determines dynamically the number of columns based on screen width; more columns will be shown on wider displays.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;20em&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;,&lt;br /&gt;
			&amp;quot;default&amp;quot;: &amp;quot;30&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;style&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;CSS style&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Specifies any custom styling.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;width: 600px; font-style: italic;&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;class&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;HTML class&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;Specifies any class or multiple space-delimited classes.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;plainlist nowrap&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;Turns a list into a list with columns. It is a wrapper for {{div col}}, except it wraps the template by allowing for the content to be in the template rather than above and below.&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;/div&gt;</summary>
		<author><name>ConsciousCode</name></author>
	</entry>
</feed>