Jump to content

සැකිල්ල:col/documentation

Wiktionary වෙතින්
Documentation for සැකිල්ල:col. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This template creates a balanced table with a specified number of columns and may be used to replace more specific templates such as {{col2}}, {{col3}}, {{col4}} or {{col5}}.

|1= (required)
Language code of the terms; see Wiktionary:List of languages. The parameter |lang= is a deprecated synonym; please do not use. If this is used, all numbered parameters move down by one.
|2= (required)
Number of columns.
|3=, |4=, ...
Terms to insert into the table. Individual terms can specify transliterations, glosses and other modifications inline using a syntax like Изабе́лла<tr:Izabɛ́lla><t:Isabelle>; see below.
|title=
Used to add a title.
|sort=
Use |sort=0 to suppress auto-sorting of the contents.
|sc=
Specifies the script code of all the terms in the table. This is rarely needed. It can be used for instance in Translingual entries that contain lists of cuneiform characters, where notating the script with <sc:Xsux> for every term would be overly verbose.
|collapse=
Use |collapse=0 to suppress auto-collapsing.

{{col|en|2|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

Inline modifiers

[සංස්කරණය]

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: gloss
  • tr: transliteration
  • ts: transcription, for languages where the transliteration and pronunciation are markedly different
  • q: qualifier, e.g. rare; this appears *BEFORE* the term, parenthesized and italicized
  • qq: qualifier, e.g. rare; this appears *AFTER* the term, parenthesized and italicized
  • g: comma-separated list of gender/number specifications
  • alt: alternative display text
  • pos: part of speech
  • lit: literal meaning
  • id: sense ID; see {{senseid}}
  • sc: script code
example in Latin script, with glosses
{{col|io|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

example in non-Latin script, with transliterations and glosses
{{col|fa|2
|حرف اضافه<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


"https://si.wiktionary.org/w/index.php?title=සැකිල්ල:col/documentation&oldid=167026" වෙතින් සම්ප්‍රවේශනය කෙරිණි