{{{title}}}

From POV-Wiki
Revision as of 18:48, 26 December 2024 by Maurice (talk | contribs) (Language Template as suggested here: https://stackoverflow.com/questions/12144303/how-to-make-a-mediawiki-site-multilingual)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Warning! Do not include the language of the current page. This will only confuse readers.

Example

On a page called Template:Otherlang:

Template:otherlang


Note that:

  • The language "en" is not included, as it is the language of the page that template is being used on.
  • title is assigned the translated name of the page, and will appear as the display title (heading) for the page. This can replace the existing Template:wrongtitle and Template:DISPLAYTITLE templates currently in common use.
  • The English page has no suffix.

Available Languages

Language Syntax Result
English en=Page_name File:En.png
French fr=Page_name:fr File:Fr.png
{{#if:  |  }}{{#if:  | link={{{en}}} }} {{#if:  | link={{{fr}}} }}