Template:LinkLang

From Open Source Ecology
Revision as of 16:46, 7 May 2011 by Elifarley (talk | contribs)
Jump to navigation Jump to search

This template can be used to create links that automatically point to the localized version of an article, if it exists, or to the original article otherwise.

  • First parameter: target page (in English)
  • Second parameter (optional): Translated link text to be displayed.

Examples

  • In the Main Page, you'll find {{LinkLang|Get involved}}. When this code is copied to a new translated version of that page, (for instance, in Spanish), it automatically creates this code: [[Get involved/es]]
  • In the Norwegian version of the main page, you'll find {{LinkLang|Get involved|Involver deg}}, which creates this code: [[Get involved/no|Involver deg]]