For faster navigation, this Iframe is preloading the Wikiwand page for Халип:Columns-list/doc.

Халип:Columns-list/doc

This template is for use in a list in the body of an article, rather than in a navigation template like Template:Navbox. Based on Template:Reflist, but different in that the text to be displayed is manually created rather than a list of references.

The width of each column may be specified using |colwidth= and a value in ems.

((columns-list|colwidth=width|
Text (usually a list)
))

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 |colwidth= is not specified, the default width of 30em will be used.

This template uses CSS3 multiple-column layout, which is not supported by all Web browsers.

Халип:CSS3 multiple column layout

Here is an example:

((columns-list|colwidth=35em|
* [[George Washington]]
* [[John Adams]]
* [[Thomas Jefferson]]
* [[James Madison]]
* [[James Monroe]]
))

which would render as:

  • George Washington
  • John Adams
  • Thomas Jefferson
  • James Madison
  • James Monroe

CSS styles can also be added with the |style= parameter. For example:

((columns-list|colwidth=15em|style=width: 600px; font-style: italic;|
* [[All About Lily Chou-Chou]]
* [[April Story]]
* [[Hana and Alice|Hana & 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]]
))

which would render as:

  • All About Lily Chou-Chou
  • April Story
  • Hana & Alice
  • Hōtai Club
  • The Kon Ichikawa Story
  • Love Letter
  • New York, I Love You
  • Picnic
  • Rainbow Song
  • Swallowtail

This template also works with numbered lists as its "text". For example:

((columns-list|colwidth=35em|
# [[George Washington]]
# [[John Adams]]
# [[Thomas Jefferson]]
# [[James Madison]]
# [[James Monroe]]
))
  1. George Washington
  2. John Adams
  3. Thomas Jefferson
  4. James Madison
  5. James Monroe

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 – more advanced lists generated by the HTML templates will work too!

Use of the no-longer-supported parameter |cols=, or use of the first unnamed parameter (aka |1=) along with |2= or a second unnamed parameter for the template's content, will generate a red error message. To fix this error, use |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 |1= in front of the template's content.

  • ((cmn))
  • ((collist))
  • ((col-list))
  • ((Columnslist))

Tracking category

[код хисизабизе]
  • Category:Pages using columns-list with unknown parameters (0) (for pages in article space only)

Column-generating template families

[код хисизабизе]
Family Type
Handles wiki
 table code?Халип:Dagger
Responsive/
Mobile suited
Start template Column divider End template
"Col" Table Буго Буго ((Col-begin)),
((Col-begin-fixed)) or
((Col-begin-small))
((Col-break)) or
((Col-2)) .. ((Col-5))
((Col-end))
"Col-float" CSS float Буго Буго ((Col-float)) ((Col-float-break)) ((Col-float-end))
"Columns" Table ГьечӀо Буго ((Columns))
"Columns-list" CSS columns Буго Буго ((Columns-list)) (wrapper)
"Columns-start" CSS float Буго Буго ((Columns-start)) ((Column)) ((Columns-end))
"Flex columns" CSS flexbox Буго Буго ((Flex columns))
"Div col" CSS columns Буго Буго ((Div col)) ((Div col end))

Халип:Dagger I.e., can the columns handle the wiki markup {| | || |- |} used to create tables? If not, templates that produce these elements (such as (((!)), ((!)), ((!!)), ((!-)), ((!)))) or HTML tags (<table></table>, <tr></tr>, etc.) will need to be used instead.


{{bottomLinkPreText}} {{bottomLinkText}}
Халип:Columns-list/doc
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?