Template:LanguageLink/doc View history

Revision as of 06:33, 10 August 2022 by Kentsmith9 (talk | contribs) (Updated category name)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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