Template:Gloss/doc: Difference between revisions

From Linguifex
Jump to navigation Jump to search
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:


===Usage===
===Usage===
Paste the following code to your page (<code>morphemes</code> is 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>
Line 19: Line 19:


===Example===
===Example===
The following code;
The following code:


<pre>
<pre>
{{Gloss
{{Gloss
|phrase = I'm here.
|phrase = I'm here.
|IPA = /aɪ̯ æːm he̯a/
|IPA = /aɪ̯m hiːɚ/
| morphemes = I-am here
| morphemes = I-am here
| gloss = 1.SG.NOM-to be.1.SG here.ADV
| gloss = 1.SG.NOM-to be.1.SG here.ADV
Line 35: Line 35:
{{Gloss
{{Gloss
|phrase = I'm here.
|phrase = I'm here.
|IPA = /aɪ̯ æːm he̯a/
|IPA = /aɪ̯m hiːɚ/
| morphemes = I-am here
| morphemes = I-am here
| gloss = 1.SG.NOM-to be.1.SG here.ADV
| gloss = 1.SG.NOM-to be.1.SG here.ADV

Latest revision as of 23:51, 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 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.