Difference between revisions of "Template:Language-Info"

From Custom Mario Kart
Jump to: navigation, search
m
m
Line 1: Line 1:
<includeonly>
+
<includeonly>{| class="textbox grid"
{{#if: {{{CTGP|}}} | {{#swtich: {{{2|}}} | noinfo= | #default=For [[Mario Kart]] tracks featured in games released after [[Mario Kart Wii]], alternate names are used to avoid potential copyright issues for [[CTGP Revolution]].<br> }}''Original Name'' translations are based on '''{{PAGENAME}}'''. ''CTGP-R Name'' translations are based on '''{{{CTGP}}}'''. }}
+
{| class="textbox grid"
+
 
|+ {{#if: {{{name|}}} | {{{name}}} | Translations }}
 
|+ {{#if: {{{name|}}} | {{{name}}} | Translations }}
 +
{{#if: {{{name}}} | {{!}}+ }} '''{{{name|{{PAGENAME}}}}}'''
 
|-style="background-color:#B0B0F0;" align=center
 
|-style="background-color:#B0B0F0;" align=center
{{#if: {{{CTGP|}}} | {{!}} '''Language'''
+
{{#switch: {{{1}}} | CTGP={{!}} '''Language'''
 
{{!}} '''Original Name'''
 
{{!}} '''Original Name'''
 
{{!}} '''[[CTGP-R]] Name'''}}
 
{{!}} '''[[CTGP-R]] Name'''}}
Line 10: Line 9:
 
! Dutch:
 
! Dutch:
 
| {{{nl|class="bg-red1"{{!}}&mdash;}}}
 
| {{{nl|class="bg-red1"{{!}}&mdash;}}}
{{#switch: {{{CTGP|}}} | {{{nl/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
+
{{#switch: {{{1}}} | CTGP={{!}} {{{nl/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
 
|-
 
|-
 
! French:
 
! French:
 
| {{{fr|class="bg-red1"{{!}}&mdash;}}}
 
| {{{fr|class="bg-red1"{{!}}&mdash;}}}
{{#switch: {{{CTGP|}}} | {{{fr/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
+
{{#switch: {{{1}}} | CTGP={{!}} {{{fr/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
 
|-
 
|-
 
! German:
 
! German:
 
| {{{de|class="bg-red1"{{!}}&mdash;}}}
 
| {{{de|class="bg-red1"{{!}}&mdash;}}}
{{#switch: {{{CTGP|}}} | {{{de/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
+
{{#switch: {{{1}}} | CTGP={{!}} {{{de/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
 
|-
 
|-
 
! Italian:
 
! Italian:
 
| {{{it|class="bg-red1"{{!}}&mdash;}}}
 
| {{{it|class="bg-red1"{{!}}&mdash;}}}
{{#switch: {{{CTGP|}}} | {{{it/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
+
{{#switch: {{{1}}} | CTGP={{!}} {{{it/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
 
|-
 
|-
 
! Japanese:
 
! Japanese:
 
| {{{ja|class="bg-red1"{{!}}&mdash;}}}
 
| {{{ja|class="bg-red1"{{!}}&mdash;}}}
{{#switch: {{{CTGP|}}} | {{{ja/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
+
{{#switch: {{{1}}} | CTGP={{!}} {{{ja/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
 
|-
 
|-
 
! Korean:
 
! Korean:
 
| {{{ko|class="bg-red1"{{!}}&mdash;}}}
 
| {{{ko|class="bg-red1"{{!}}&mdash;}}}
{{#switch: {{{CTGP|}}} | {{{ko/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
+
{{#switch: {{{1}}} | CTGP={{!}} {{{ko/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
 
|-
 
|-
 
! Portuguese:
 
! Portuguese:
 
| {{{pt|class="bg-red1"{{!}}&mdash;}}}
 
| {{{pt|class="bg-red1"{{!}}&mdash;}}}
{{#switch: {{{CTGP|}}} | {{{pt/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
+
{{#switch: {{{1}}} | CTGP={{!}} {{{pt/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
 
|-
 
|-
 
! Russian:
 
! Russian:
 
| {{{ru|class="bg-red1"{{!}}&mdash;}}}
 
| {{{ru|class="bg-red1"{{!}}&mdash;}}}
{{#switch: {{{CTGP|}}} | {{{ru/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
+
{{#switch: {{{1}}} | CTGP={{!}} {{{ru/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
 
|-
 
|-
 
! Spanish:
 
! Spanish:
 
| {{{es|class="bg-red1"{{!}}&mdash;}}}
 
| {{{es|class="bg-red1"{{!}}&mdash;}}}
{{#switch: {{{CTGP|}}} | {{{es/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
+
{{#switch: {{{1}}} | CTGP={{!}} {{{es/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
 
|-
 
|-
 
! Greek:
 
! Greek:
 
| {{{el|class="bg-red1"{{!}}&mdash;}}}
 
| {{{el|class="bg-red1"{{!}}&mdash;}}}
{{#switch: {{{CTGP|}}} | {{{el/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
+
{{#switch: {{{1}}} | CTGP={{!}} {{{el/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
 
|-
 
|-
 
! Polish:
 
! Polish:
 
| {{{pl|class="bg-red1"{{!}}&mdash;}}}
 
| {{{pl|class="bg-red1"{{!}}&mdash;}}}
{{#switch: {{{CTGP|}}} | {{{pl/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
+
{{#switch: {{{1}}} | CTGP={{!}} {{{pl/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
 
|-
 
|-
 
! Finnish:
 
! Finnish:
 
| {{{fi|class="bg-red1"{{!}}&mdash;}}}
 
| {{{fi|class="bg-red1"{{!}}&mdash;}}}
{{#switch: {{{CTGP|}}} | {{{fi/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
+
{{#switch: {{{1}}} | CTGP={{!}} {{{fi/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
 
|-
 
|-
 
! Swedish:
 
! Swedish:
 
| {{{sv|class="bg-red1"{{!}}&mdash;}}}
 
| {{{sv|class="bg-red1"{{!}}&mdash;}}}
{{#switch: {{{CTGP|}}} | {{{sv/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
+
{{#switch: {{{1}}} | CTGP={{!}} {{{sv/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
 
|-
 
|-
 
! Czech:
 
! Czech:
 
| {{{cs|class="bg-red1"{{!}}&mdash;}}}
 
| {{{cs|class="bg-red1"{{!}}&mdash;}}}
{{#switch: {{{CTGP|}}} | {{{cs/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
+
{{#switch: {{{1}}} | CTGP={{!}} {{{cs/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
 
|-
 
|-
 
! Albanian:
 
! Albanian:
 
| {{{sq|class="bg-red1"{{!}}&mdash;}}}
 
| {{{sq|class="bg-red1"{{!}}&mdash;}}}
{{#switch: {{{CTGP|}}} | {{{sq/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
+
{{#switch: {{{1}}} | CTGP={{!}} {{{sq/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
 
|-
 
|-
 
! Danish:
 
! Danish:
 
| {{{da|class="bg-red1"{{!}}&mdash;}}}
 
| {{{da|class="bg-red1"{{!}}&mdash;}}}
{{#switch: {{{CTGP|}}} | {{{da/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
+
{{#switch: {{{1}}} | CTGP={{!}} {{{da/ctgp|class="bg-red1"{{!}}&mdash;}}} }}
 
|}</includeonly><noinclude>At [http://info.wiimm.de/ct-wiiki/ info.wiimm.de] you find a collection of all track name translations either ordered by [http://info.wiimm.de/ct-wiiki/track-names-by-name.txt track name] or by [http://info.wiimm.de/ct-wiiki/track-names-by-language.txt language]. For details see the [[Template talk:Language-Info#Collection of all track name translations|discussion]].
 
|}</includeonly><noinclude>At [http://info.wiimm.de/ct-wiiki/ info.wiimm.de] you find a collection of all track name translations either ordered by [http://info.wiimm.de/ct-wiiki/track-names-by-name.txt track name] or by [http://info.wiimm.de/ct-wiiki/track-names-by-language.txt language]. For details see the [[Template talk:Language-Info#Collection of all track name translations|discussion]].
  
If a language is different per region (example: Spanish (NTSC) and Spanish (PAL)), then use the existing variants of the language instead.
+
==Usage Notes==
 
+
* If a language is different per region (example: Spanish (NTSC) and Spanish (PAL)), then use the existing variants of the language instead.
==Usage==
+
 
<div class="float-right">
 
<div class="float-right">
 
{{Language-Info
 
{{Language-Info
Line 97: Line 95:
 
}}</div>
 
}}</div>
  
Here, the Dutch (nl) row was forgotten.
+
Usage (here, the Dutch (nl=) row was forgotten):
 
<pre><nowiki>
 
<pre><nowiki>
 
{{Language-Info
 
{{Language-Info
Line 119: Line 117:
 
</nowiki></pre>
 
</nowiki></pre>
  
==Usage (CTGP)==
+
<br clear="right">
<pre><nowiki>
+
<div class="float-right">
{{Language-Info|CTGP=Test Name
+
{{Language-Info|CTGP
 
|name=Test Table
 
|name=Test Table
 +
|nlx=Lorem Ipsum ||nlx/ctgp=Lorem Ipsum
 
|fr=Lorem Ipsum ||fr/ctgp=Lorem Ipsum
 
|fr=Lorem Ipsum ||fr/ctgp=Lorem Ipsum
 
|de=Lorem Ipsum ||de/ctgp=Lorem Ipsum
 
|de=Lorem Ipsum ||de/ctgp=Lorem Ipsum
Line 138: Line 137:
 
|sq=Lorem Ipsum ||sq/ctgp=Lorem Ipsum
 
|sq=Lorem Ipsum ||sq/ctgp=Lorem Ipsum
 
|da=Lorem Ipsum ||da/ctgp=Lorem Ipsum
 
|da=Lorem Ipsum ||da/ctgp=Lorem Ipsum
}}
+
}}</div>
</nowiki></pre>
+
  
{{Language-Info|CTGP=Sandbox
+
Usage for tracks with alternate names for [[CTGP-R]]:
 +
<pre><nowiki>
 +
{{Language-Info|CTGP
 
|name=Test Table
 
|name=Test Table
|nlx=Lorem Ipsum ||nlx/ctgp=Lorem Ipsum
 
 
|fr=Lorem Ipsum ||fr/ctgp=Lorem Ipsum
 
|fr=Lorem Ipsum ||fr/ctgp=Lorem Ipsum
 
|de=Lorem Ipsum ||de/ctgp=Lorem Ipsum
 
|de=Lorem Ipsum ||de/ctgp=Lorem Ipsum
Line 160: Line 159:
 
|da=Lorem Ipsum ||da/ctgp=Lorem Ipsum
 
|da=Lorem Ipsum ||da/ctgp=Lorem Ipsum
 
}}
 
}}
 +
</nowiki></pre>
  
[[Category:Template/Include]]</noinclude>
+
[[Category:Template/Include|{{PAGENAME}}]]</noinclude>

Revision as of 08:04, 18 April 2015

At info.wiimm.de you find a collection of all track name translations either ordered by track name or by language. For details see the discussion.

Usage Notes

  • If a language is different per region (example: Spanish (NTSC) and Spanish (PAL)), then use the existing variants of the language instead.
Dutch:
French: Lorem Ipsum
German: Lorem Ipsum
Italian: Lorem Ipsum
Japanese: Lorem Ipsum
Korean: Lorem Ipsum
Portuguese: Lorem Ipsum
Russian: Lorem Ipsum
Spanish: Lorem Ipsum (NTSC)
Lorem Ipsum (PAL)
Greek: Lorem Ipsum
Polish: Lorem Ipsum
Finnish: Lorem Ipsum
Swedish: Lorem Ipsum
Czech: Lorem Ipsum
Danish: Lorem Ipsum

Usage (here, the Dutch (nl=) row was forgotten):

{{Language-Info
|name=Test Table
|fr=Lorem Ipsum
|de=Lorem Ipsum
|it=Lorem Ipsum
|ja=Lorem Ipsum
|ko=Lorem Ipsum
|pt=Lorem Ipsum
|ru=Lorem Ipsum
|es=Lorem Ipsum (NTSC)<br>Lorem Ipsum (PAL)
|el=Lorem Ipsum
|pl=Lorem Ipsum
|fi=Lorem Ipsum
|sv=Lorem Ipsum
|cs=Lorem Ipsum
|sq=Lorem Ipsum
|da=Lorem Ipsum
}}


Dutch:
French: Lorem Ipsum
German: Lorem Ipsum
Italian: Lorem Ipsum
Japanese: Lorem Ipsum
Korean: Lorem Ipsum
Portuguese: Lorem Ipsum
Russian: Lorem Ipsum
Spanish: Lorem Ipsum (NTSC)
Lorem Ipsum (PAL)
Greek: Lorem Ipsum
Polish: Lorem Ipsum
Finnish: Lorem Ipsum
Swedish: Lorem Ipsum
Czech: Lorem Ipsum
Danish: Lorem Ipsum

Usage for tracks with alternate names for CTGP-R:

{{Language-Info|CTGP
|name=Test Table
|fr=Lorem Ipsum ||fr/ctgp=Lorem Ipsum
|de=Lorem Ipsum ||de/ctgp=Lorem Ipsum
|it=Lorem Ipsum ||it/ctgp=Lorem Ipsum
|ja=Lorem Ipsum ||ja/ctgp=Lorem Ipsum
|ko=Lorem Ipsum ||ko/ctgp=Lorem Ipsum
|pt=Lorem Ipsum ||pt/ctgp=Lorem Ipsum
|ru=Lorem Ipsum ||ru/ctgp=Lorem Ipsum
|es=Lorem Ipsum (NTSC)<br>Lorem Ipsum (PAL) ||es/ctgp=Lorem Ipsum (NTSC)<br>Lorem Ipsum (PAL)
|el=Lorem Ipsum ||el/ctgp=Lorem Ipsum
|pl=Lorem Ipsum ||pl/ctgp=Lorem Ipsum
|fi=Lorem Ipsum ||fi/ctgp=Lorem Ipsum
|sv=Lorem Ipsum ||sv/ctgp=Lorem Ipsum
|cs=Lorem Ipsum ||cs/ctgp=Lorem Ipsum
|sq=Lorem Ipsum ||sq/ctgp=Lorem Ipsum
|da=Lorem Ipsum ||da/ctgp=Lorem Ipsum
}}