Minecraft Wiki

The Minecraft Wiki is no longer considered as official by Microsoft and therefore several changes are required to be made, including to the wiki's logo. Please read this announcement for more information.

READ MORE

Minecraft Wiki
Advertisement
[view | edit | history | purge]Documentation

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.

Use

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 20em will be used.

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

Examples

Here is an example:

{{columns-list|colwidth=20em|
* [[Bat]]
* [[Cow]]
* [[Dolphin]]
* [[Fish]]
* [[Horse]]
* [[Llama]]
* [[Parrot]]
* [[Pig]]
* [[Polar bear]]
* [[Rabbit]]
* [[Sheep]]
* [[Squid]]
* [[Turtle]]
* [[Wolf]]
}}

which would render as:

CSS styles can also be added in addition to the colwidth parameter. For example:

{{columns-list|colwidth=15em|style=width: 600px; font-style: italic;|
* All About Lily Chou-Chou
* April Story
* Hana and Alice
* Hōtai Club
* The Kon Ichikawa Story
* Love Letter (1995 film)
* New York, I Love You
* Picnic (1996 film)
* Rainbow Song
* Swallowtail
}}

which would render as:

  • All About Lily Chou-Chou
  • April Story
  • Hana and Alice
  • Hōtai Club
  • The Kon Ichikawa Story
  • Love Letter (1995 film)
  • New York, I Love You
  • Picnic (1996 film)
  • Rainbow Song
  • Swallowtail
[view | edit | history | purge]The above documentation is transcluded from Template:Columns-list/doc.
Advertisement