Template:Ltr/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

This is a documentation subpage for Template:Ltr.
It contains usage information, categories and other content or metadata that is not part of the original template.

Usage

This template declares page content to be in English language so search engines can use language specific parameters; it also setups the left-to-right (LTR) rendering environment for MediaWiki.

Use it in the middle of a multilingual page, whose main language is in a right-to-left (RTL) language (e.g. Persian, Arabic, Hebrew), to insert content in English. However you should then close the English section with an explicit </div>.

Alternatively you may also specify the first parameter with a short text, which will be rendered within a <bdi>...</bdi> element (this text may then be inline or could span several paragraphs).

See also