Template:Lang: Difference between revisions

34 bytes removed ,  11 years ago
use {{category handler}} to implement categorisation optout
(add an rtl option, for use with template:lang-he and template:lang-yi amongst others)
(use {{category handler}} to implement categorisation optout)
Line 1:
<span lang="{{{1}}}" xml:lang="{{{1}}}" {{#if:{{{rtl|}}}|dir="rtl"}}>{{{2}}}</span>{{#if:{{NAMESPACE}}category handler
| main =[[Category:Articles containing {{#switch:{{{1|}}}
| <!--Not article space, do nothing-->
| <!--Article space-->
[[Category:Articles containing {{#switch:{{{1|}}}
|ar = Arabic
|es = Spanish
Line 29 ⟶ 27:
}}
}} language text]]
| nocat = {{{nocat|}}}
}}<noinclude>{{documentation}}<!-- Add cats and interwikis to the /doc sub-page --></noinclude>
Anonymous user