This template creates a balanced, columnar, auto-sorting, auto-collapsing table and may be used to replace more specific templates such as {{col2}}
, {{col3}}
, {{col4}}
, {{col5}}
and {{col-top}}
/{{col-bottom}}
. By default, the template has the following features:
|sort=0
or |sort=n
to turn this off. (NOTE: Currently, Japanese script languages such as Japanese, Okinawan and Miyako are not sorted by default, because automated sorting doesn't yet work properly for these languages. Specifically, sorting is done by pronunciation, which requires that the page in question be looked up to find the pronunciation, and this functionality is not yet implemented completely.)|collapse=0
or |collapse=n
to turn off default collapsing.|n=
to force a specific number of columns, e.g. |n=4
for 4 columns.|1=
(required)|lang=
is a deprecated synonym; please do not use. If this is used, all numbered parameters move down by one.|2=
, |3=
, ...Изабе́лла<tr:Izabɛ́lla><t:Isabelle>
; see below.~
), which will be displayed as such (with spaces around the tilde).
ви́прохати<g:pf>,випро́шувати<g:impf>~випро́хувати<g:impf>
, using the comma to separate the perfective and corresponding imperfective verbs and the tilde to separate two equivalent imperfective verbs.]
or ]
.|1=
. Separate multiple languages with a plus sign (+
). The language(s) in question will be displayed after the term as a qualifier, unless the language is Translingual or is the same as the language in |1=
. In general, use this sparingly and normally only for closely-related languages. See the example below.|n=
|title=
|sort=
|sort=0
to suppress auto-sorting of the contents. To sort the list manually using the same rules as {{col}}
, use {{subst:sort}}
.|sc=
<sc:Xsux>
for every term would be overly verbose.|collapse=
|collapse=0
to suppress auto-collapsing.|keepfirst=
|keeplast=
{{col|en|day job|calendar day|daycare|a broken clock is right twice a day|daylight|all-day|as the day is long|Canada Day|daily|day after day|daybreak|daydream|day in, day out|day laborer|daylily|day nursery|day off|day of reckoning|day one|daypart|day school|daystar}}
results in
This comes from Thesaurus:抽籤, for the verb sense "to draw lots; to cast lots; to draw straws".
{{col3|zh|抽籤|抓鬮|拈鬮|hak:抽籤仔|hak:拈籤仔|mnp+nan-hbl:抽鬮|nan-tws:抾鬮}}
results in
The prefix mnp+nan-hbl
, for example, refers to two languages, Northern Min (code mnp
) and Hokkien (code nan-hbl
), which are displayed after the term as qualifiers. (If the term gives explicit right qualifiers, the language qualifiers come after the explicitly-given ones.)
Use a syntax like Изабе́лла<tr:Izabɛ́lla><t:Isabelle>
to specify modifiers such as transliterations, glosses and qualifiers. In this example, for the Russian name Изабе́лла (Izabɛ́lla, “Isabelle”), the manual transliteration Izabɛ́lla and gloss "Isabelle" are given. The following modifiers are recognized; see {{link}}
for the exact meaning of these modifiers.
t
: glosstr
: transliterationts
: transcription, for languages where the transliteration and pronunciation are markedly differentq
: left qualifier, e.g. <q:neither sexual nor romantic in nature>
(in reference to platonic love); this appears before the term, parenthesized and italicizedqq
: right qualifier; this appears after the term, parenthesized and italicizedl
: comma-separated left labels, e.g. <l:rare>
or <l:UK,Australia>
or <l:archaic,or,dialectal>
; as shown, there must not be a space after the comma for it to be recognized as a delimiter; the labels appear before the term, parenthesized, italicized and appropriately linked as if {{lb}}
were used (but without categorization); an alternative syntax is to enclose the labels in <<...>>
, e.g. <l:<<rare>>, <<archaic>> or <<dialectal>>>
ll
: comma-separated right labels; these appear after the term, parenthesized, italicized and appropriately linked as for left labelsref
: reference or references, using the syntax documented in Template:IPA#Referencesg
: comma-separated list of gender/number specifications; see Module:gender and number for the complete listalt
: alternative display textpos
: part of speechlit
: literal meaningid
: sense ID; see {{senseid}}
sc
: script code{{col|io|n=2 |novo<t:a newcomer> |novajo<t:a new thing, novelty> |nove<t:newly, freshly> |novyaro<t:New Year> |novyara<t:New Year> |novigar<t:to innovate> |novero<t:innovator> }}
results in
{{col|fa |حرف اضافه<tr:harf-e ezâfe><t:preposition> |حرف ربط<tr:harf-e rabt><t:conjunction> |حرف زدن<tr:harf zadan><t:to speak> |حرف انداختن<tr:harf andâxtan> |پرحرف<tr:por-harf> |کمحرف<tr:kam-harf> }}
results in
{{col|eo|sort=0<!-- by number of sides --> |dulatero<t:]> |triangulo<t:]> |kvarlatero<t:]> |kvinlatero<t:]> |seslatero<t:]> |seplatero<t:]> |oklatero<t:]> |naŭlatero<t:]> |deklatero<t:]> |dekunulatero<t:]> |dekdulatero<t:]> |dektrilatero<t:]> |dekkvarlatero<t:]> |dekkvinlatero<t:]> |dekseslatero<t:]> |dekseplatero<t:]> |dekoklatero<t:]> |deknaŭlatero<t:]> |dudeklatero<t:]> }}
results in
It is good practice to add a comment indicating how the terms are sorted if |sort=0
is used. This both helps people adding new terms and makes it clear that the use of |sort=0
is for good reason (some people use |sort=0
because of a temporary bug in the sorting algorithm for a particular language or for no clear reason, so having a reason helps prevent other editors from removing the |sort=0
in a cleanup run).
You can indent individual terms by placing one or more asterisks (*) before the term in question, followed by a space. The following example illustrates this:
{{col|sla-pro |*duxota<t:immateriality, transcendence> |*zaduxъ<t:asthma, shortness of air> |*vъzduxъ<t:air> |*dušiti<t:to sniff, to scent> |*duša<t:soul> |* *bezdušьnъ<t:heartless, soulless> |*duxovъ<t:aerial, spiritual> |* *duxovьnostь<t:spirituality> |* *duxovьnikъ<t:cleric> |* *duxovitъ<t:with high spirit> |{{l|sla-pro|*oduxotvoriti||to enchant}} < {{compound|sla-pro|*duxъ|*tvoriti|t2=to create|nocat=1}} }}
which results in
Note that there must be a space after the asterisk for it to be interpreted as an indent, and the above example shows why: if the space is missing, the term is interpreted as reconstructed.
Sorting works correctly in the presence of indentation. Specifically, each sublist is "tethered" to the item above it and the result is sorted as an atomic unit; in addition, sublists are properly sorted.
Arbitrary indentation is allowed and works correctly.
An example with double indentation as well as multiple items on a line, each with inline modifiers:
{{col|bg|n=2 |бог- |* Бо́гдан<g:m>,Богда́на<g:f><qq:personal names> |бого- |* Богоми́л<g:m>,Богоми́ла<g:f><qq:personal names> |* богови́дец<t:theopath> |* богосло́в,богосло́вец<t:theologian> |** богосло́вие<t:theology> |* богобо́рие<t:theomachy> |* богоявле́ние<t:theophany> |* богобоязли́в<t:fearing God> |* боголюби́в<t:loving God> |* богоноси́в<t:carrying God within> |* богопома́зан<t:anointed by God> |* богоподо́бен<t:godlike> |* богоуго́ден<t:god-pleasing> |* богочести́в<t:honoring God> |божи- |* Божида́р<g:m>,Божида́ра<g:f><qq:personal names> |* Божими́р<g:m>,Божими́ра<g:f><qq:personal names> |богу́вам<t:to act as God> |божи́ч,божи́к<t:God's child, little god><ll:dialectal> |полубо́г<t:demigod> |сбо́гом<t:farewell><lit:] ] /instr. case/> |бо́жие<t:theism><ll:obsolete> |* еднобо́жие<t:monotheism> |* многобо́жие<t:polytheism> |* безбо́жие<t:impiety> |** безбо́жник<g:m>,безбо́жница<t:atheist><g:f> |боже́ство<t:deity> |* боже́ствен<t:divine> }}
which produces
Another example:
{{col|eo |feliĉe<t:]; ]> |feliĉo,feliĉeco<t:]; ]> |feliĉi<t:to be ]; to be ]> |* feliĉiĝi<t:to become ]> |** plifeliĉiĝi<t:to become ]> |** malplifeliĉiĝi<t:to become less ]> |* feliĉigi<t:to make ]> |** plifeliĉigi<t:to make ]> |** malplifeliĉigi<t:to make less ]> |malfeliĉa<t:]; ]> |malfeliĉe<t:]; ]> |malfeliĉo,malfeliĉeco<t:]; ]> |malfeliĉi<t:to be ]; to be ]> |* malfeliĉiĝi<t:to become ]> |** plimalfeliĉiĝi<t:to become ]> |** malplimalfeliĉiĝi<t:to become less ]> |* malfeliĉigi<t:to make ]> |** plimalfeliĉigi<t:to make ]> |** malplimalfeliĉigi<t:to make less ]> }}
producing
Another example:
{{col|az|n=2 |qaçırmaq,qaçırtmaq<t:to kidnap> |qaçılmaq |* qaçılmaz<t:inevitable> |** qaçılmazlıq<t:inevitable> |qaçqın<t:refugee> |qaçaqaç<t:running about> |qaçış<t:run; flight; escape> |qaçaq<t:robber; runaway; smuggler> |* qaçaq-qaçaq |* qaçaq-quldur |* qaçaqbaşı |* qaçaqlıq |* qaçaqçı<t:smuggler> |** qaçaqçılıq |* qaçaqmal<t:contraband, smuggled goods> |** qaçaqmalçı<t:smuggler> |*** qaçaqmalçılıq<t:smuggling> }}
which produces
{{col1}}
{{col2}}
{{col3}}
{{col4}}
{{col5}}
{{col-top}}
, {{col-bottom}}
{{top2}}
{{top3}}
{{top4}}
{{top5}}
{{bottom}}