Template:CloseDivRTL

Description

edit

The {{OpenDivRTL}} and {{CloseDivRTL}} templates are used to create a <div> block ... . </div> to manage Right To Left (RTL) languages

  • OpenDivRTL, open a <div lang = "language" dir = "rtl"> if the language passed to it as a parameter is RTL (right to left), so that the following contents are in RTL format. Its placement is scheduled just at the beginning of an infobox to display information in the direction of language reading.
  • CloseDivRTL, generates a </div> under the same conditions given to open it.

Syntax

edit
 {{OpenDivRTL | lang = <lang>}}
 {{CloseDivRTL | lang = <lang>}}
where lang is the language code of the content.

It could be:

  • provide a language code (lang = es, fr, of ...)
  • use the global parameter {{{lang|}}}
  • do not inform and template will take "default language".

The default language is the wiki language when is used within the main space (articles) or from "preferences" profile in other spaces. It is very important to use the same value in both calls !.

See also

edit