Template:Ltr

From ArchWiki
Jump to: navigation, search
This page is a template. It contains no Arch Linux-related information, but should be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

Make code direction from left to right.

To be used in articles whose language is written using a right-to-left script.

Usage

{{ltr|code}}

You can use multi line code.

Example

Example form an Arabic page:

لعرض المحليّات المُستخدَمة حاليًّا، استخدم:

 $ locale

يمكن لهذا أن يكون مثال ضبط متقدّم:

<pre style="margin-bottom: 0; border-bottom:none; padding-bottom:0.8em;">/etc/locale.conf
# Enable UTF-8 with Australian settings.
LANG="en_AU.UTF-8"

# Keep the default sort order (e.g. files starting with a '.'
# should appear at the start of a directory listing.)
LC_COLLATE="C"

# Set the short date to YYYY-MM-DD (test with "date +%c")
LC_TIME="en_DK.UTF-8"
</pre>