Difference between revisions of "Template:Fs interlinear"

From blackwiki
Jump to navigation Jump to search
imported>Uanfala
(add)
imported>WOSlinker
m (change source to syntaxhighlight)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#invoke:Sandbox/Uanfala/glt|interlinearise|italics1 = no|italics2 = yes|glossing3 = yes}}</includeonly><noinclude><!--
+
<includeonly>{{#invoke:Interlinear|interlinearise}}</includeonly><noinclude><!--
 
If you came here looking for a way to change one of the links produced by this template, then you're probably looking for:
 
If you came here looking for a way to change one of the links produced by this template, then you're probably looking for:
Module:Sandbox/Uanfala/glt/data
+
Module:Interlinear/data
 
-->
 
-->
{{Documentation|content={{Under construction}}
+
{{Documentation|content=
 
 
 
'''F'''oreign-'''s'''cript '''interlinear''' is a template for formating linguistic [[interlinear gloss]]es with a first line given in a foreign script, the second line containing a transliteration and the glosses making up the third line. Example of usage:
 
'''F'''oreign-'''s'''cript '''interlinear''' is a template for formating linguistic [[interlinear gloss]]es with a first line given in a foreign script, the second line containing a transliteration and the glosses making up the third line. Example of usage:
  
<source>
+
<syntaxhighlight lang="text">
 
{{fs interlinear|lang=ja
 
{{fs interlinear|lang=ja
 
|魚は 鯛が おいしい です。
 
|魚は 鯛が おいしい です。
Line 13: Line 12:
 
|fish-TOP {red snapper}-NOM delicious-NPST {it is}-V
 
|fish-TOP {red snapper}-NOM delicious-NPST {it is}-V
 
|"Among fish, red snapper is delicious" or "Red snapper is a delicious fish".}}
 
|"Among fish, red snapper is delicious" or "Red snapper is a delicious fish".}}
</source>
+
</syntaxhighlight>
 
{{fs interlinear|lang=ja
 
{{fs interlinear|lang=ja
 
|魚は 鯛が おいしい です。
 
|魚は 鯛が おいしい です。
Line 20: Line 19:
 
|"Among fish, red snapper is delicious" or "Red snapper is a delicious fish".}}
 
|"Among fish, red snapper is delicious" or "Red snapper is a delicious fish".}}
  
It is equivalent to using [[Template:interlinear]] with the parameters {{para|italics1|no}} {{para|italics2|yes}} and {{para|glossing3|yes}}. It accepts all of that template's parameters (see its documentation for advanced usage).
+
It is equivalent to using [[Template:interlinear]] with the parameters {{para|italics1|no}} {{para|italics2|yes}} and {{para|glossing3|yes}}. It accepts all of that template's parameters (see its documentation for advanced usage). Additionally, the transliteration scheme can be specified with the {{para|transl}} parameter (similarly to [[Template:Transl]]).
  
 
}}
 
}}
  
 +
[[Category:Linguistics templates]]
 
[[Category:Language formatting and function templates]]
 
[[Category:Language formatting and function templates]]
 
[[Category:Layout templates]]
 
[[Category:Layout templates]]
  
 
</noinclude>
 
</noinclude>

Latest revision as of 13:16, 7 July 2020

Template documentation

Foreign-script interlinear is a template for formating linguistic interlinear glosses with a first line given in a foreign script, the second line containing a transliteration and the glosses making up the third line. Example of usage:

{{fs interlinear|lang=ja
|魚は 	鯛が 	おいしい 	です。
|Sakana-wa 	tai-ga 	oishi-i desu.
|fish-TOP {red snapper}-NOM delicious-NPST {it is}-V
|"Among fish, red snapper is delicious" or "Red snapper is a delicious fish".}}

魚は

Sakana-wa

fish-TOP

鯛が

tai-ga

red snapper-NOM

おいしい

oishi-i

delicious-NPST

です。

desu.

it is-V

魚は 鯛が おいしい です。

Sakana-wa tai-ga oishi-i desu.

fish-TOP {red snapper}-NOM delicious-NPST {it is}-V

"Among fish, red snapper is delicious" or "Red snapper is a delicious fish".

It is equivalent to using Template:interlinear with the parameters |italics1=no |italics2=yes and |glossing3=yes. It accepts all of that template's parameters (see its documentation for advanced usage). Additionally, the transliteration scheme can be specified with the |transl= parameter (similarly to Template:Transl).