Template:LanguageLink/doc

From OpenEMR Project Wiki
Usage
Basically, this template is used as part of Template:Languages and Template:LanguageLinks.
Parameters
  • ns: (optional) a leading namespace prefix for the target page, if needed – for example, Help: or Template:
  • 1st: (mandatory) the language code – for example, de, en, or zh-hans
  • 2nd: (mandatory) the target base page name of the displayed link – for example, JOSM
  • 3rd: (optional) the language name to display – use it if Mediawiki cannot generate the language name itself by {{#language:code}}.
Example
{{LanguageLink|ns=Template:|RU|LanguageLinks}} {{LanguageLink|DE|JOSM}} {{LanguageLink|JA|JOSM}} {{LanguageLink|JA|JOSM|Nihongo}}
generates:
русский Deutsch 日本語 Nihongo