Module:columns/documentation

Hello, you have come here looking for the meaning of the word Module:columns/documentation. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:columns/documentation, but we will also tell you about its etymology, its characteristics and you will know how to say Module:columns/documentation in singular and plural. Everything you need to know about the word Module:columns/documentation you have here. The definition of the word Module:columns/documentation will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:columns/documentation, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

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

Examples

  • {{#invoke:columns|display|sort=1|collapse=1|columns=3}} -> {{col3|en|z|y|x|w|v|u|t}}
  • {{#invoke:columns|display|sort=1|collapse=1|columns=2}} -> {{col2|nl|a|b|c|d|e|f|g}}

Parameters

create_list

export.create_list {
	column_count = number,
	content = list, alphabetize = boolean,
	background_color = string, collapse = boolean,
	toggle_category = string,
	class = string, lang = language_object,
}
content
A list of terms: { "term1", "term2", "term3", ... }.
lang
The language of the terms in the list. (Must be a language object from Module:languages.)
collapse
If true, table will be collapsed if it has enough items.
column_count
Number of columns in the table. Defaults to 1.
sort
Toggle sorting of the entries in the table. Defaults to false.
toggle_category
Determines the text for the "Show <toggle_category>" or "Hide <toggle category>" button in the "visibility" part of the toolbar. The default is "derived terms".
class
HTML class to add to the div tag that contains the list. Defaults to derivedterms.
background_color
A HTML color value for the list. This should only be used if CSS classes (much preferred) are not an option.

create_table

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

display

The template-invokable function.