Mall:Rtl-lang
Från Rilpedia
(Skillnad mellan versioner)
(1 versioner) |
|||
Rad 1: | Rad 1: | ||
- | <span lang="{{{1}}}" xml:lang="{{{1}}}" dir="rtl" style="white-space: nowrap;">{{{2}}}</span>‎<noinclude> | + | <noinclude>{{rpsv.from.wmcommons}}</noinclude><span lang="{{{1}}}" xml:lang="{{{1}}}" dir="rtl" style="white-space: nowrap;">{{{2}}}</span>‎<noinclude> |
==Usage== | ==Usage== |
Nuvarande version från 10 maj 2007 kl. 12.55
Från Wikimedia Commons
Fel vid skapande av miniatyrbild: convert: unable to create temporary file `/var/www/mw/_mw116/w/images/sv.rilpedia.org/4/4a/Commons-logo.svg': No such file or directory @ error/delegate.c/InvokeDelegate/1023. convert: unable to load module `/usr/lib/x86_64-linux-gnu/ImageMagick-6.7.7/modules-Q16/coders/svg.la': file not found @ error/module.c/OpenModule/1285. convert: no decode delegate for this image format `/tmp/magick-ZhVJP3sj' @ error/constitute.c/ReadImage/578. convert: AnErrorHasOccurredWritingToFile `/var/www/mw/_mw116/w/images/sv.rilpedia.org/thumb/4/4a/Commons-logo.svg/18px-Commons-logo.svg.png': No space left on device @ error/constitute.c/WriteImage/1234. |
{{{2}}}
Usage
Like {{lang}} but for right-to-left scripts like Arabic or Hebrew.
* {{rtl-lang|ar|اللغة العربية}} * {{rtl-lang|he|עברית}}
gives:
- اللغة العربية
- עברית
Of course, transliterations of these languages are in the Latin script, therefore in these cases the adequate template is {{lang}} and not {{rtl-lang}}:
* The transliteration of "{{rtl-lang|ar|اللغة العربية}}" is "{{lang|ar-Latn|''al-‘arabiyyah''}}". * The transliteration of "{{rtl-lang|he|עברית}}" is "{{lang|he-Latn|''‘Ivrit''}}".
- The transliteration of "اللغة العربية" is "al-‘arabiyyah".
- The transliteration of "עברית" is "‘Ivrit".