Template:LanguageLink/doc View history

(Created page with "{{doc subpage}} <!-- ADD DOCUMENTATION BELOW THIS LINE --> This template will: * add the language code of the active page to the provided text * returns the active language co...")
 
mNo edit summary
Line 4: Line 4:
* add the language code of the active page to the provided text
* add the language code of the active page to the provided text
* returns the active language code (/en /nl /fr) is no argument is passed
* returns the active language code (/en /nl /fr) is no argument is passed
* If no language code is found, /en is returned


Usage:
Usage:

Revision as of 10:08, 14 April 2014

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

This template will:

  • add the language code of the active page to the provided text
  • returns the active language code (/en /nl /fr) is no argument is passed
  • If no language code is found, /en is returned

Usage:

{{LanguageLink}}               ->             /en
{{LanguageLink|Pagename}}      ->             Pagename/en