Template:Gloss/indexable: Difference between revisions

From Linguifex
Jump to navigation Jump to search
(Testing.)
mNo edit summary
Tags: Mobile edit Mobile web edit
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Col-begin}}
{{Col-begin}}
{{Col-2}}:'''''{{{phrase|}}}'''''<br>{{{IPA|}}}<br>{{{morphemes|}}}<br>{{{gloss|}}}<br>''{{{translation|}}}''
{{Col-n|2}}:'''{{{phrase|}}}'''<br>{{#if:{{{translit|}}}|''{{{translit|}}}''<br>|}}{{{IPA|}}}<br><small>{{#if:{{{morphemes|}}}|{{{morphemes|}}}<br>|}}{{{gloss|}}}</small><br>''{{{translation|}}}''
{{Col-2}}({{{index|}}})
{{Col-n|2}}({{{index|}}})
{{Col-end}}<noinclude>{{documentation}}</noinclude>
{{Col-end}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 06:43, 9 November 2021

'


'

()



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)