Template:Lang: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
m Protected "Template:Lang": High-risk template or module (more info) ([Edit=Allow only autoconfirmed users] (indefinite))
Add new argument `italic`; if set to `yes` will italicise contents
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if: {{{2|<noinclude>text</noinclude>}}}
<span lang="{{{1}}}" xml:lang="{{{1}}}" class="description {{{1}}}" {{#if:{{{dir|}}}| dir="{{{dir}}}"}}>{{{2}}}</span><noinclude>[[Category:Internationalization templates]]</noinclude>
| <bdi lang="{{#if: {{{1|}}} | {{{1|}}} | {{Pagelang}} }}" dir="{{#if: {{{dir|}}}
| {{{dir|}}}
| {{Dir|{{#if: {{{1|}}} | {{{1|}}} | {{Pagelang}} }}}}
}}" class="description {{{1|{{Pagelang}}}}} mw-content-{{#if: {{{dir|}}}
| {{{dir|}}}
| {{Dir|{{#if: {{{1|}}} | {{{1|}}} | {{Pagelang}} }}}}
}} {{{class|}}}"{{#ifeq:{{{italic|}}}|yes| style="font-style: italic;"|}}>{{{2|<noinclude>text</noinclude>}}}</bdi>
}}<noinclude>[[Category:Internationalization templates]]</noinclude>

Latest revision as of 17:57, 13 April 2023

text