Anonymous

Template:Uselang: Difference between revisions

From lisamarieyoung.ca
move documentation to subpage, simplify code – {{int:lang}} is never <Lang>, it uses the fallback chain, ultimately falling back to "en"
en>Verdy p
mNo edit summary
 
en>Tacsipacsi
(move documentation to subpage, simplify code – {{int:lang}} is never <Lang>, it uses the fallback chain, ultimately falling back to "en")
Line 1: Line 1:
<span class="plainlinks">[{{fullurl:{{{page|{{FULLPAGENAME}}}}}|uselang={{{1|}}}}} {{{2|{{{1|}}}}}}]</span><noinclude>
{{#if: {{{lang|}}} | {{{lang|}}} | {{int:Lang}} }}<noinclude>{{documentation}}</noinclude>
== Examples ==
* <nowiki>{{</nowiki>uselang|es}} → {{uselang|es}}
* <nowiki>{{</nowiki>uselang|en|English interface}} → {{uselang|en|English interface}}
* <nowiki>{{</nowiki>uselang|de|Deutsche Benutzeroberfläche|page=Main Page}} → {{uselang|de|Deutsche Benutzeroberfläche|page=Main Page}}
 
== See also ==
* {{tl|useskin}}
* {{tl|interface-lang}}
 
[[Category:Internal link templates|{{PAGENAME}}]]
</noinclude>
Anonymous user