Template:Lang: Difference between revisions

From Rhythm Heaven Wiki
Jump to navigation Jump to search
(Template for showing names in other languages in a table format; pending testing and approval.)
Tag: sourceedit
 
No edit summary
Tag: sourceedit
Line 1: Line 1:
{| width="45%" border="1" style="border-collapse:collapse"
<includeonly>{| width="45%" border="1" style="border-collapse:collapse"
|- bgcolor="#fff7f7"
|- bgcolor="#fff7f7"
!Language
!Language
Line 21: Line 21:
|{{KR}} Korean
|{{KR}} Korean
|{{{kr|}}}
|{{{kr|}}}
|}
|}</includeonly>
 
<noinclude>
== Usage ==
This input:
<pre>{{Lang
|jp=Game Name in Japanese
|fr=Game Name in French
|es=Game Name in Spanish
|du=Game Name in German
|it=Game Name in Italian
|kr=Game Name in Korean
}}</pre>
Will produce the following output:
{{Lang
|jp=Game Name in Japanese
|fr=Game Name in French
|es=Game Name in Spanish
|du=Game Name in German
|it=Game Name in Italian
|kr=Game Name in Korean
}}
 
</noinclude>

Revision as of 08:55, 8 November 2015


Usage

This input:

{{Lang
|jp=Game Name in Japanese
|fr=Game Name in French
|es=Game Name in Spanish
|du=Game Name in German
|it=Game Name in Italian
|kr=Game Name in Korean
}}

Will produce the following output:

Language Name
Flag of Japan.svg Japanese Game Name in Japanese
Flag of France (1794–1815, 1830–1974, 2020–present).svg French Game Name in French
Flag of Spain.svg Spanish Game Name in Spanish
Template:DU German Game Name in German
Flag of Italy.svg Italian Game Name in Italian
Flag of South Korea.svg Korean Game Name in Korean