Template:Otherlang: Difference between revisions

From Sita's Adventures
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 14: Line 14:
|English
|English
|en=Page_name
|en=Page_name
|[[File:En.png]]
|[[File:Epic.png]]
|- id="ru"
|- id="ru"
|Russian
|French
|ru=Page_name:ru
|ru=Page_name:fr
|[[File:Ru.png]]
|[[File:Emerald.png]]
|}
|}
{{#if: {{{title|}}} | {{DISPLAYTITLE:{{{title}}}}} }}{{#if: {{{en|}}} | '''[[File:Epic.png|alt=English|link={{{en}}}]]''' }} {{#if: {{{ru|}}} | [[File:Emerald.png|alt=Русский|link={{{ru}}}]] }}

Latest revision as of 09:26, 20 June 2024

Example

On a page called Template:Otherlang:

Example

On a page called Template:Otherlang: Template loop detected: Template:Otherlang

Available Languages

Language Syntax Result
English en=Page_name
French ru=Page_name:fr
{{#if: Template:Otherlang |  }}{{#if:  | English }} {{#if: Category:Programming:ru | Русский }}

Available Languages

Language Syntax Result
English en=Page_name
French ru=Page_name:fr
{{#if:  |  }}{{#if:  | English }} {{#if:  | Русский }}