Template:Lang: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content added Content deleted
(Undid revision 369641444 by Rich Farmbrough (talk))
(add an rtl option, for use with template:lang-he and template:lang-yi amongst others)
Line 1: Line 1:
<span lang="{{{1}}}" xml:lang="{{{1}}}">{{{2}}}</span>{{#if:{{NAMESPACE}}
<span lang="{{{1}}}" xml:lang="{{{1}}}" {{#if:{{{rtl|}}}|dir="rtl"}}>{{{2}}}</span>{{#if:{{NAMESPACE}}
| <!--Not article space, do nothing-->
| <!--Not article space, do nothing-->
| <!--Article space-->
| <!--Article space-->
Line 29: Line 29:
}}
}}
}} language text]]
}} language text]]
}}<noinclude>{{documentation}}<!-- Add cats and interwikis to the /doc sub-page --></noinclude>
}}<noinclude>

{{documentation}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>

Revision as of 04:19, 3 May 2012

{{{2}}}