Template:Translation switching

From the Portal Wiki
Jump to: navigation, search

Documentation for Translation switching

This template is used to mark the pages of other templates that use translation switching. Pages are automatically placed into the category Templates that use translation switching to find them later with ease.

Usage

Place {{translation switching}} (or {{ts}}) inside the <noinclude> tags and above the documentation template (either {{doc begin}} or {{template doc}}).

  • Add the languages supported by the template as part of the first parameter: e.g. {{translation switching|ar, cs, fr, it, pt, ru}}
  • If no languages are added, the template will display "none" and categorize the page into Category:Templates requiring translation.
  • Notes can be added also: {{translation switching|ar, cs, fr, it, pt, ru|Only one line requires translation.}}

See also