Difference between revisions of "Template:OtherLang"

From POV-Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{|class="OtherLang"
 
|
 
 
Warning! Do not include the language of the current page. This will only confuse readers.
 
Warning! Do not include the language of the current page. This will only confuse readers.
  

Revision as of 18:55, 26 December 2024

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}}} }}


Template:OtherLang/doc