வார்ப்புரு:Columns-list/doc
{{Documentation subpage}}
 &lt;!-- PLEASE ADD CATEGORIES AT THE END OF THIS PAGE --&gt;
 {{Hatnote|{{tl|Collist}} redirects here. You may be looking for {{tl|Collapsible list}}.}}
 {{Tsh|cmn|collist|col-list}}
 {{Lua|Module:Template wrapper|Module:Check for unknown parameters}}
 
 '''Template:Columns-list''' 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.
 
 == Use ==
 The width of each column may be specified using {{para|colwidth}} and a value in ems.
  &lt;nowiki&gt;{{&lt;/nowiki&gt;columns-list|colwidth=''width''|
  ''Text (usually a list)''
  &lt;nowiki&gt;}}&lt;/nowiki&gt;
 Here, ''width'' 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.
 
 If {{para|colwidth}} is not specified, the default width of 30em will be used. 
 
 This template uses [[விழுத்தொடர் பாணித் தாள்கள்]]3 multiple-column layout, which is not supported by all [[உலகளாவிய வலை|Web]] [[உலாவி|browsers]].
 
 {{CSS3 multiple column layout}}
 
 === Examples ===
 Here is an example:
 &lt;syntaxhighlight lang=text&gt;{{columns-list|colwidth=35em|
 * [[சியார்ச் வாசிங்டன்]]
 * [[ஜான் ஆடம்ஸ்]]
 * [[தாமசு ஜெஃபர்சன்]]
 * [[ஜேம்ஸ் மாடிசன்]]
 * [[ஜேம்ஸ் மன்ரோ]]
 }}&lt;/syntaxhighlight&gt;
 
 which would render as:
 {{clear}}&lt;!-- just in case {{CSS3 multiple column layout}} pokes down this far --&gt;
 {{columns-list|colwidth=35em|
 * [[சியார்ச் வாசிங்டன்]]
 * [[ஜான் ஆடம்ஸ்]]
 * [[தாமசு ஜெஃபர்சன்]]
 * [[ஜேம்ஸ் மாடிசன்]]
 * [[ஜேம்ஸ் மன்ரோ]]
 }}
 
 HTML classes and [[விழுத்தொடர் பாணித் தாள்கள்]] styles can also be added with the {{para|class}} and {{para|style}} parameters. For example:
 
 &lt;syntaxhighlight lang=text&gt;{{columns-list|colwidth=15em|class=plainlist|style=width: 600px; font-style: italic;|
 * [[All About Lily Chou-Chou]]
 * [[April Story]]
 * [[Hana and Alice|Hana &amp; Alice]]
 * [[Hōtai Club]]
 * [[The Kon Ichikawa Story]]
 * [[Love Letter (1995 film)|Love Letter]]
 * [[New York, I Love You]]
 * [[Picnic (1996 film)|Picnic]]
 * [[Rainbow Song]]
 * [[Swallowtail (film)|Swallowtail]]
 }}&lt;/syntaxhighlight&gt;
 
 which would render as:
 {{columns-list|colwidth=15em|class=plainlist|style=width: 600px; font-style: italic;|
 * [[All About Lily Chou-Chou]]
 * [[April Story]]
 * [[Hana and Alice|Hana &amp; Alice]]
 * [[Hōtai Club]]
 * [[The Kon Ichikawa Story]]
 * [[Love Letter (1995 film)|Love Letter]]
 * [[New York, I Love You]]
 * [[Picnic (1996 film)|Picnic]]
 * [[Rainbow Song]]
 * [[Swallowtail (film)|Swallowtail]]
 }}
 
 This template also works with numbered lists as its &quot;text&quot;. For example:
 
 &lt;syntaxhighlight lang=text&gt;
 {{columns-list|colwidth=35em|
 # [[சியார்ச் வாசிங்டன்]]
 # [[ஜான் ஆடம்ஸ்]]
 # [[தாமசு ஜெஃபர்சன்]]
 # [[ஜேம்ஸ் மாடிசன்]]
 # [[ஜேம்ஸ் மன்ரோ]]
 }}
 &lt;/syntaxhighlight&gt;
 
 {{columns-list|colwidth=35em|
 # [[சியார்ச் வாசிங்டன்]]
 # [[ஜான் ஆடம்ஸ்]]
 # [[தாமசு ஜெஃபர்சன்]]
 # [[ஜேம்ஸ் மாடிசன்]]
 # [[ஜேம்ஸ் மன்ரோ]]
 }}
 
 The template, in fact, works with ''everything'' 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 &amp;ndash; more advanced lists generated by [[Template:HTML lists|the HTML templates]] will work too!
 
 ==Error messages==
 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's content, will generate a red error message. To fix this error, use {{para|colwidth}} instead of attempting to specify the number of columns. 
 
 The presence of an equals sign within the template's content can also cause display problems and red error messages. To fix this problem, add {{para|1}} in front of the template's content.
 
 == Redirects ==
 * {{tl|cmn}}
 * {{tl|collist}}
 * {{tl|col-list}}
 * {{tl|Columnslist}}
 
 == Tracking category ==
 * {{clc|Pages using columns-list with unknown parameters}} (for pages in article space only)
 
 == See also ==
 {{Column-generating template families}}
 {{HTML lists}}
 &lt;!-- == References ==
 {{Reflist}} --&gt;
 
 &lt;includeonly&gt;{{Sandbox other||
 
 &lt;!-- Categories below this line, please; interwikis at Wikidata --&gt;
 [[Category:Multi-column templates]]
 [[Category:List formatting and function templates]]
 [[Category:Templates that add a tracking category]]