Template:Gloss/doc: Difference between revisions

From Linguifex
Jump to navigation Jump to search
Line 6: Line 6:


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


<pre>
<pre>

Revision as of 23:50, 2 July 2015

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 he̯a/
| 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 he̯a/
I-am here
1.SG.NOM-to be.1.SG here.ADV

I am here.