Template:Ls: Difference between revisions
Template page
More actions
m provide correct default for div separations (unless overridden) |
add "persian" class, when text is in fa, to fix font etc |
||
| Line 1: | Line 1: | ||
<div class="lang-{{{1|und}}}" lang="{{{1|und}}}" xml:lang="{{{1|und}}}" dir="{{#switch:{{{1|und}}}|ar|bcc|fa|ha|he|ps|ug|ur|yi=rtl|ltr}}" style="margin:0.3em 0;line-height:1.2;{{{CSS-box|}}}">'''<span style="{{#switch:{{{1|und}}}|und=color:red;}}{{{CSS-label|}}}">{{#language:{{{1|und}}}}}:</span>''' {{{2}}}</div><noinclude> | <div class="lang-{{{1|und}}}" lang="{{{1|und}}}" xml:lang="{{{1|und}}}" dir="{{#switch:{{{1|und}}}|ar|bcc|fa|ha|he|ps|ug|ur|yi=rtl|ltr}}" style="margin:0.3em 0;line-height:1.2;{{{CSS-box|}}}"{{#ifeq:{{{1|und}}}|fa|class="persian"}}>'''<span style="{{#switch:{{{1|und}}}|und=color:red;}}{{{CSS-label|}}}">{{#language:{{{1|und}}}}}:</span>''' {{{2}}}</div><noinclude> | ||
See [[Meta:Language select]]. | See [[Meta:Language select]]. | ||
</noinclude> | </noinclude> | ||
Revision as of 19:39, 26 October 2008
und: {{{2}}}
See Meta:Language select.