Jump to content

Template:Lang: Difference between revisions

From IdeaWazaWiki
wikademia>Dbachmann
usage note
wikademia>Wikademia
m 1 revision
 
(24 intermediate revisions by 10 users not shown)
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>{{#if:{{NAMESPACE}}|
==Usage==
|[[Category:Articles containing {{#switch:{{{1|}}}
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:
  |ar      = Arabic
 
  |es      = Spanish
<code><nowiki>{{lang|fr|français}}</nowiki></code> yields:  {{lang|fr|français}}
  |de      = German
 
  |fr      = French
==See also==
  |ja      = Japanese
*{{tl|ISOtranslit}} for transliteration of non-Latin scripts
  |zh      = Chinese
 
  |bg      = Bulgarian
[[Category:Multilingual support templates|{{PAGENAME}}]]
  |cs      = Czech
[[de:Vorlage:lang]]
  |da      = Danish
[[es:Plantilla:Lang]]
  |nl      = Dutch
[[bg:Шаблон:lang]]
  |et      = Estonian
[[ko:Template:lang]]
  |fi      = Finnish
[[ja:Template:lang]]
  |el      = Greek
[[zh:Template:lang]]
  |hu      = Hungarian
[[zh-yue:Template:lang]]</noinclude>
  |ga      = Irish
  |grc      = non-English
  |la      = Latin
  |cy      = Welsh
  |#default = {{#ifexist:Category:Articles containing {{ISO 639 name {{{1|}}}}} language text
  |{{ISO 639 name {{{1|}}}}}
  |non-English
  }}
}} language text]]
}}<noinclude>
{{pp-template|small=yes}}
{{documentation}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 20:17, 26 April 2009

{{{2}}}

[create] Template documentation