Template:Scriptgloss/indexable: Difference between revisions

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

Revision as of 17:32, 29 February 2016

Template:Col-2*

'Template:Col-2()




See also: Glossing key and Glossing

The scriptgloss template is used to produce a quickly and consistently formatted gloss with non-Latin scripts.

Usage

Paste the following code to your page:

{{Scriptgloss/indexable
|script =
|script2 =
|script3 =
|phrase = 
|IPA = 
| morphemes = 
| gloss = 
| translation = 
| index =
}}

Example

The following code;

{{Scriptgloss/indexable
|script = इम हेरे
|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.
| index = 3.1
}}

grants this result:


Template:Col-2*इम हेरे
I'm here.
/aɪ̯ æːm he̯a/
I-am here
1.SG.NOM-to be.1.SG here.ADV

I am here.Template:Col-2(3.1)