Template:Lang: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
Add "dir" parameter to allow setting dir=rtl so that, for example, Arabic text isn't rendered with mixed directionality and sticky parenthesis
add space (required for some reason)
Line 1: Line 1:
<span lang="{{{1}}}" xml:lang="{{{1}}}" class="description {{{1}}}"{{#if:{{{dir|}}}| dir="{{{dir}}}"}}>{{{2}}}</span><noinclude>[[Category:Internationalization templates]]</noinclude>
<span lang="{{{1}}}" xml:lang="{{{1}}}" class="description {{{1}}}" {{#if:{{{dir|}}}| dir="{{{dir}}}"}}>{{{2}}}</span><noinclude>[[Category:Internationalization templates]]</noinclude>

Revision as of 17:31, 5 April 2018

{{{2}}}