Template:Lang: Difference between revisions

From Vigyanwiki
Template>Dbachmann
No edit summary
Template>Dbachmann
No edit summary
Line 1: Line 1:
<noinclude>{{protected template}}</noinclude><span lang="{{{1}}}" xml:lang="{{{1}}}">{{{2}}}</span><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 <code><nowiki><span lang="fr" xml:lang="fr">français</span></nowiki></code>: {{lang|fr|français}}
{{protected template}}
 
{{{{FULLPAGENAME}}/doc}}
==See also==
<!-- Add cats and interwikis to the /doc subpage, not here! -->
*{{tl|transl}} for romanisation of languages not natively written in the Latin alphabet.
</noinclude>
*{{tl|latinx}}
*{{tl|runic}}
*{{tl|cuneiform}}
 
[[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>

Revision as of 11:30, 16 April 2007