As an anonymous user, you can only add new data. If you would like to also modify existing data, please create an account and indicate your languages on your user page.

Template:dir rtl

From OmegaWiki
Jump to: navigation, search

Template:navigation

scope: This template should be used to embed RTL (right to left) text in a LTR (left to right) context and place the content at the "actual" position. Without the template the browser would position the text according to the bidirectional algorithm somewhere you would not expect.‎

syntax:

{{dir rtl|size=8pt|text=דער יידישע '''[[commons:b:Main Page|װיקיביבליאָטעק]]''' איז ענדלעך ארויסגעקומען.}}
or
The name of Yiddish Wikibooks is {{dir rtl|size=10pt|text='''[[commons:b:yi:Main Page|װיקיביבליאָטעק]]'''}}.
The "{{SITENAME}}" of Farsi Wiktionary is {{dir rtl|size=12pt|text='''[[commons:wikt:fa:Main Page|ویکی‌واژه]]'''}}.
‎"size" is an optional parameter. Its default values is "10pt".‎
notes: You can also insert your RTL signature inside the text parameter. It should not contain "|" characters.‎
‎"external links" should be embeded as "plainlinks" like below:‎
‎"<span class="plainlinks" >[http://example.com foo]</span>"‎
‎"<span class="plainlinks" >[irc://irc.freenode.net/wiktionary #wiktionary]</span>"‎ → #wiktionary
‎Please post whatever question at meta:BiDi workgroup/FAQ
see also the rendering at the talk page#rendering.‎