Template:Uselang: Difference between revisions

From lisamarieyoung.ca
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>

Revision as of 08:30, 24 November 2022

⧼Lang⧽Lua error in Module:Autotranslate at line 72: No fallback page found for autotranslate (base=Template:Documentation/i18n, lang=⧼lang⧽).