Actions

Template

Difference between revisions of "Translation"

From Sonic Retro

(Created page with "<includeonly>{{#ifeq:{{lc:{{{lang2|}}}}}|en|{{#if:{{{text2|}}}||{{Translate|{{{lang1|}}}}}|}}}}{{#ifeq:{{lc:{{{lang3|}}}}}|en|{{#if:{{{text3|}}}||{{Translate|{{{lang1|}}}}}|}}...")
 
 
Line 60: Line 60:
 
}}
 
}}
  
[[Category:Sonic Retro templates]]</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 19:17, 1 January 2022

Segaretro-round.svg This template has been manually copied from Sega Retro, specifically Template:Translation
Technical restrictions prevent this template from being shared across multiple wikis. In the medium term, any changes should be made to the Sega Retro variant first, before manually copying the contents back here. As this is not an automatic process, this version of the template might also be out of date.

Template for offering translations of blocks of text. Supports up to three languages (use two-character language codes). If an English translation is not found as the second or third language, a Template:Translate message will be displayed.

Usage

{{Translation
| lang1=
| lang2=
| lang3=
| text1=
| text2=
| text3=
}}

Examples

{{Translation
| lang1=cn
| lang2=en
| text1=This is Chinese
| text2=This is English
}}
show;hide
  • 中文
  • English
This is Chinese
This is English
{{Translation
| lang1=jp
| lang2=rou
| lang3=en
| text1=This is Japanese
| text2=This is roumanji
| text3=This is English
}}
show;hide
  • 日本語
  • Roumanji
  • English
This is Japanese
This is roumanji
This is English