模組:Columns/doc
这是Module:Columns的文档页面
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.
範例
编辑{{#invoke:columns|display|sort=1|collapse=1|columns=3|title=Derived terms}} -> {{der3|en|z|y|x|w|v|u|t}}
{{#invoke:columns|display|sort=1|collapse=1|columns=2|title=Derived terms}} -> {{der2|nl|a|b|c|d|e|f|g}}
參數
编辑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.