Template:Gloss: Difference between revisions

From Linguifex
Jump to navigation Jump to search
(Created page with "*'''{{{phrase|}}}'''<br><small>{{{morphemes|}}}<br>{{{gloss|}}}</small><br>''{{{translation|}}}'' <noinclude>{{documentation}}</noinclude>")
 
mNo edit summary
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
*'''{{{phrase|}}}'''<br><small>{{{morphemes|}}}<br>{{{gloss|}}}</small><br>''{{{translation|}}}''
:'''''{{{phrase|}}}'''''<br>{{#if:{{{pinyin|}}}|''{{{pinyin|}}}''<br>|}}{{#if:{{{IPA|}}}|{{IPA|{{{IPA|}}}}}<br>|}}<small>{{#if:{{{morphemes|}}}|{{{morphemes|}}}<br>|}}{{{gloss|}}}</small><br>{{#if:{{{translation|}}}|''{{{translation|}}}''<br>|}}<noinclude>{{documentation}}</noinclude>
 
<noinclude>{{documentation}}</noinclude>

Latest revision as of 15:03, 6 August 2018

'''''



See also: Glossing key and Glossing

The Gloss template is used to produce a quickly and consistently formatted gloss of a phrase.

Usage

Paste the following code to your page (morphemes is optional; IPA and translation may be omitted for use in relays):

{{Gloss
|phrase = 
|IPA = 
| morphemes = 
| gloss = 
| translation = 
}}

Example

The following code:

{{Gloss
|phrase = I'm here.
|IPA = /aɪ̯m hiːɚ/
| morphemes = I-am here
| gloss = 1.SG.NOM-to be.1.SG here.ADV
| translation = I am here.
}}

grants this result:

I'm here.
/aɪ̯m hiːɚ/
I-am here
1.SG.NOM-to be.1.SG here.ADV

I am here.