Template:Gloss/indexable/doc: Difference between revisions

From Linguifex
Jump to navigation Jump to search
mNo edit summary
 
Line 11: Line 11:
{{Gloss/indexable
{{Gloss/indexable
|phrase =  
|phrase =  
|pinyin =
|IPA =  
|IPA =  
| morphemes =  
| morphemes =  

Latest revision as of 17:31, 29 February 2016

See also: Glossing key and Glossing

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

Usage

Paste the following code to your page:

{{Gloss/indexable
|phrase = 
|pinyin = 
|IPA = 
| morphemes = 
| gloss = 
| translation = 
| index =
}}

Example

The following code;

{{Gloss/indexable
|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.
| index = 1
}}

grants this result:


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

I am here.

(1)


Please note that when using the template in succession, do not break any lines or make any spaces; the best formatting is simply:

{{Gloss/indexable
|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.
| index = 1
}}{{Gloss/indexable
|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.
| index = 2
}}

Which grants this result:


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

I am here.

(1)

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

I am here.

(2)