Template:Ls: Difference between revisions
Template page
More actions
m leading space in #if param gets filtered on output, so move it outside #if (we vould use an empty nowiki as well, but this is overkill) |
m + CSS overrides for per-page styling |
||
| Line 1: | Line 1: | ||
{{#ifeq:{{#language:{{{1|und}}}}}|{{{1|und}}}|<div class="lang-und" lang="und" xml:lang="und">'''<font color="red">{{#language:{{{1|und}}}}}</font>'''|<div class="lang-{{{1|und}}}" lang="{{{1|und}}}" xml:lang="{{{1|und}}}" {{#switch:{{{1|und}}}|ar|fa|he|ur|yi= dir="rtl"}}>'''{{#language:{{{1|und}}}}}'''}}: {{{2}}}</div><noinclude> | {{#ifeq:{{#language:{{{1|und}}}}}|{{{1|und}}}|<div class="lang-und" lang="und" xml:lang="und">'''<font color="red">{{#language:{{{1|und}}}}}</font>'''|<div class="lang-{{{1|und}}}" lang="{{{1|und}}}" xml:lang="{{{1|und}}}" {{#switch:{{{1|und}}}|ar|fa|he|ur|yi= dir="rtl"}} style="{{{CSS-box|}}}"><span style="{{{CSS-label|}}}">'''{{#language:{{{1|und}}}}}'''}}:</span> {{{2}}}</div><noinclude> | ||
See [[Meta:Language select]]. | See [[Meta:Language select]]. | ||
</noinclude> | </noinclude> | ||
Revision as of 17:49, 9 April 2008
und: {{{2}}}
See Meta:Language select.