Template:Lang: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content added Content deleted
(usage note)
m (1 revision imported)
 
(73 intermediate revisions by 25 users not shown)
Line 1: Line 1:
<noinclude>{{protected template}}</noinclude><span lang="{{{1}}}" xml:lang="{{{1}}}">{{{2}}}</span><noinclude>
<includeonly>{{#invoke:Lang|{{{fn|lang}}}}}</includeonly><noinclude>
{{Documentation}}
==Usage==
</noinclude>
This template tags strings of non-English text. The first parameter is the [[ISO 639]] code of the string's language, the second parameter is the string itself. Example:

<code><nowiki>{{lang|fr|français}}</nowiki></code> yields: {{lang|fr|français}}

==See also==
*{{tl|ISOtranslit}} for transliteration of non-Latin scripts

[[Category:Multilingual support templates|{{PAGENAME}}]]
[[de:Vorlage:lang]]
[[es:Plantilla:Lang]]
[[bg:Шаблон:lang]]
[[ko:Template:lang]]
[[ja:Template:lang]]
[[zh:Template:lang]]
[[zh-yue:Template:lang]]</noinclude>

Latest revision as of 07:39, 7 April 2021