Module:columns/doc
(Redirectum de Modulus:columns/documentation)
This is the documentation page for Modulus:columns
Subpagina haec est documentatio de Module:columns. Hic legitur quomodo uti, ac categoriae, nexus invervici et cetera continentur qui module in origine non continet. |
Purpose
+/-This module creates tables of balanced columns. It should not be used directly in entries, but in templates such as {{der2}}
or {{der3}}
. Table entries are given as parameters to the template.
Examples
+/-{{#invoke:columns|display|sort=1|collapse=1|columns=3|title=Derived terms}} -> {{der3|z|y|x|w|v|u|t|lang=en}}
{{#invoke:columns|display|sort=1|collapse=1|columns=2|title=Derived terms}} -> {{der2|a|b|c|d|e|f|g|lang=nl}}
Parameters
+/-class
: CSS table class. Defaults to "Derived terms"collapse
: Toggle collapse of table. Defaults to false.columns
: Number of columns in the table. Defaults to 1.lang
: Language to link entries in table. If left undefined, the entry calling the template will have to provide it.sort
: Toggle sorting of the entries in the table. Defaults to false.title
: Title of the table (if collapse == true). Defaults to empty string.