Template:Lang: Difference between revisions

From Vigyanwiki
Template>Only
m (bg:Шаблон:lang added)
Template>Dbachmann
(usage note)
Line 1: Line 1:
<noinclude>{{protected template}}</noinclude><span lang="{{{1}}}" xml:lang="{{{1}}}">{{{2}}}</span><noinclude>
<noinclude>{{protected template}}</noinclude><span lang="{{{1}}}" xml:lang="{{{1}}}">{{{2}}}</span><noinclude>
==Usage==
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}}]]
[[Category:Multilingual support templates|{{PAGENAME}}]]
[[de:Vorlage:lang]]
[[de:Vorlage:lang]]

Revision as of 00:19, 7 April 2007

Template:Protected template{{{2}}}

Usage

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:

{{lang|fr|français}} yields: français

See also

  • {{ISOtranslit}} for transliteration of non-Latin scripts