Template:Lang: Difference between revisions
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 |
---|---|
Japanese | Game Name in Japanese |
French | Game Name in French |
Spanish | Game Name in Spanish |
Template:DU German | Game Name in German |
Italian | Game Name in Italian |
Korean | Game Name in Korean |