Template:gloss grid/documentation

< Template:gloss grid
Revision as of 22:11, 16 April 2025 by TheNightAvl (talk | contribs) (Created page with "{{documentation subpage}} {{uses lua|Module:gloss grid}} {{shortcut|Template:glosser|Template:gg}} This template creates aligned glosses, similar to Wiktionary's Interlinear template. == Usage == === Parameters === There are two types of parameters: * Phrase-level parameters are specified as standard template parameters. *; {{para|1|req=1}} *: language code, e.g. <code>rad</code> *; {{para|2…''n''|req=1}} *: terms *; {{para|t|opt=1}} *:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Edit-copy green.svg Documentation for Template:gloss grid. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This template creates aligned glosses, similar to Wiktionary's Interlinear template.

Usage

Parameters

There are two types of parameters:

  • Phrase-level parameters are specified as standard template parameters.
    |1= (required)
    language code, e.g. rad
    |2…n= (required)
    terms
    |t= (optional)
    phrase-level translation
    |pr=, |p=, |ipa= (optional)
    phrase-level IPA
    |bold=1
    makes all head terms bold
    |nolinks=1, |nolink=1
    disables linked head terms
  • Term-level parameters are specified in-line; all are optional.
    |n=<alt:>, |n=<anchor:>, |n=<hypo>, |n=<nolink> etc.
    All parameters available in standard link templates can be used in-line.
    N.B. term-level translations using |n=<t:> will move to their own row.
    |n=<gl:>, |n=<g:>
    term-level glossing
    |n=<pr:>, |n=<p:>, |n=<ipa:>
    term-level IPA

Functionality

Manual bolding
|'''g'''aksgaks
Punctuation separation
Punctuation found at the beginnings or ends of individual terms are separated.
|gaks,gaks,
Shortcut for |word<alt:display>
|Nēphas:nephas = |nephas<alt:Nēphas>Nēphas

Example

{{gg|rad
|Gaks,:gaks<p:[ɡaks | ><g:sheep-NOM.SG>
|vân<p:vɤn><g:3S.ANIM-DAT>
|gjeș<p:jɛʃ><g:REL=3S>
|'''h'''reņuog<p:ˈxrɛŋuoɡ><g:wool-GEN.SG>
|húe,<p:ˈhuːɛ | ><g:NEG.PST-DISJ.SG>
|híðirid<p:ˈhiːðirid><g:horse-PL-ACC>
|vareș,<p:ˈvarɛʃ]><g:see.PST-IND-3S>
|t=A sheep that had no wool saw horses,
}}