Template:Gloss/indexable: Difference between revisions

From Linguifex
Jump to navigation Jump to search
mNo edit summary
(Testing.)
Line 1: Line 1:
{{Col-begin}}
{{Col-begin}}
{{Col-2}}:'''''{{{phrase|}}}'''''<br>{{{IPA|}}}<br><small>{{{morphemes|}}}<br>{{{gloss|}}}</small><br>''{{{translation|}}}''
{{Col-2}}:'''''{{{phrase|}}}'''''<br>{{{IPA|}}}<br>{{{morphemes|}}}<br>{{{gloss|}}}<br>''{{{translation|}}}''
{{Col-2}}({{{index|}}})
{{Col-2}}({{{index|}}})
{{Col-end}}<noinclude>{{documentation}}</noinclude>
{{Col-end}}<noinclude>{{documentation}}</noinclude>

Revision as of 11:00, 4 July 2015

Template:Col-2:'''''



'
Template:Col-2()


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:


Template:Col-2:I'm here.
/aɪ̯m hiːɚ/
I-am here
1.SG.NOM-to be.1.SG here.ADV
I am here.Template:Col-2(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:


Template:Col-2:I'm here.
/aɪ̯m hiːɚ/
I-am here
1.SG.NOM-to be.1.SG here.ADV
I am here.Template:Col-2(1)
Template:Col-2:I'm here.
/aɪ̯m hiːɚ/
I-am here
1.SG.NOM-to be.1.SG here.ADV
I am here.Template:Col-2(2)