Template:Lang: Difference between revisions

From All Skies Encyclopaedia
imported>Rich Farmbrough
Undid revision 369641444 by Rich Farmbrough (talk)
imported>Thumperward
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>
}}<noinclude>{{documentation}}<!-- Add cats and interwikis to the /doc sub-page --></noinclude>
 
{{documentation}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>

Revision as of 09:19, 3 May 2012

{{{2}}}