Template:Head: Difference between revisions
Appearance
Create: Dictionary headword + Lexemes Cargo store/declare |
Forward class= to Module:Head |
||
| Line 1: | Line 1: | ||
<includeonly>{{#invoke:Head|head|{{{1|}}}|{{{2|}}}|head={{{head|}}}}}{{#cargo_store:_table=Lexemes | <includeonly>{{#invoke:Head|head|{{{1|}}}|{{{2|}}}|head={{{head|}}}|class={{{class|}}}}}{{#cargo_store:_table=Lexemes | ||
|word={{#if:{{{head|}}}|{{{head}}}|{{PAGENAME}}}} | |word={{#if:{{{head|}}}|{{{head}}}|{{PAGENAME}}}} | ||
|lang={{{1|}}} | |lang={{{1|}}} | ||
Latest revision as of 21:58, 18 July 2026
This template defines the table "Lexemes". View table.
Usage
The headword line for a Dictionary entry. It renders the word in bold (a leading * for reconstructed languages), auto-categorizes the page (Category:Pjany adjectives, Category:Pjany lemmas), and files a row into the Lexemes Cargo table. Place it directly under a part-of-speech heading.
{{head|code|part-of-speech
|gloss = short definition
|register = label, label (nautical, slang, formal …)
|etym_type = inherited|borrowed|calque|compound|clipping|…
|etym_source = code, code (source language code(s))
}}
1- language registry code (e.g.
YBS-PJ) 2- part of speech (adjective, noun, verb …)
head- override the headword form (defaults to the page name)
The Cargo fields power the interlingual queries the Dictionary exists for. See Yezur Wiki:Dictionary structure.