Module:columns/documentation

This module creates a list with automatically balanced columns. It should not be used directly in entries, but in templates such as or. List entries are given as parameters to the template.

Examples




create_list

 * : A list of terms:.
 * : The language of the terms in the list. (Must be a language object from Module:languages.)
 * : If true, table will be collapsed if it has enough items.
 * : Number of columns in the table. Defaults to 1.
 * : Toggle sorting of the entries in the table. Defaults to false.
 * : Determines the text for the "Show " or "Hide " button in the "visibility" part of the toolbar. The default is "derived terms".
 * : HTML class to add to the  tag that contains the list. Defaults to.
 * : A HTML color value for the list.

create_table
The old name for the main function. It is now just a wrapper for.

display
The template-invokable function.