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: delegate failed `"rsvg-convert" -o "%o" "%i"' @ error/delegate.c/InvokeDelegate/1065. convert: unable to open image `/tmp/magick-nU0ARhau': No such file or directory @ error/blob.c/OpenBlob/2641. 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: unable to open file `/tmp/magick-nU0ARhau': No such file or directory @ error/constitute.c/ReadImage/583. |
{{{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".