Jump to content

Template:Lb

From Yezur Wiki
Revision as of 01:16, 19 July 2026 by Alompan (talk | contribs) (Escape the bare head mention so it does not file a stray Lexemes row)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

Inline sense labels, placed at the very start of a definition line — the italic, parenthesised context/register/domain tags Wiktionary shows before a sense. Code-first, like the other Dictionary templates; up to seven labels, comma-joined in the order given.

# {{lb|YBS-PJ|transitive}} to warm, to heat
# {{lb|YBS-PJ|slang|vulgar}} ...
# {{lb|YBS-PJ|nautical|figurative}} ...
  • {{lb|YBS-PJ|transitive}}(transitive)
  • {{lb|YBS-PJ|slang|vulgar}}(slang, vulgar)
  • {{lb|YBS-PJ|nautical|figurative}}(nautical, figurative)
1
language code · 28 : one or more labels

Categorization. The vocabulary is curated from Wiktionary's own label set (see Module:Labels). A known label categorizes the page per language:

  • grammaticaltransitive, intransitive, ditransitive, ergative, reflexive, impersonal, auxiliary, modal, countable, uncountable, collective, singular only, plural only, comparable, not comparable, …
  • register / usageslang, colloquial, informal, formal, vulgar, derogatory, offensive, euphemistic, humorous, endearing, honorific, poetic, literary, technical, proscribed, nonstandard, dialectal, …
  • temporalarchaic, dated, obsolete, historical, rare, uncommon, neologism
  • word-formationabbreviation, acronym, initialism, contraction, onomatopoeia, misspelling, eye dialect

Any unlisted label displays verbatim with no category — so domain tags (nautical, law, botany, medicine, music, …) and semantic qualifiers (figurative, literally, idiomatic, by extension, broadly, …) work immediately, and topical categorization can be wired up later once its scheme is settled. Shorthands: tr, intr, ditr, count, uncount, fig, colloq, derog, obs, arch, hum, euph.

Labels vs. the register field. is per sense (display + categories on one definition line); the register parameter of {{head}} is per word (searchable Lexemes metadata). Use both: for the visible label on each sense, register= for the whole-word register you want to query across languages.