Template:OtherLanguages: Difference between revisions

From Dragon Quest Wiki
(created template to list translation of names, places, and things in other languages)
 
(Move to /doc)
(5 intermediate revisions by 2 users not shown)
Line 3: Line 3:
<td style="background-color: #1b998b; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c; width: 200px; color: #eee; text-align: center;">'''Translation'''</td>
<td style="background-color: #1b998b; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c; width: 200px; color: #eee; text-align: center;">'''Translation'''</td>
<td style="background-color: #1b998b; border-bottom: 1px solid #31572c; width: 240px; color: #eee; text-align: center;">'''Meaning'''</td></tr>
<td style="background-color: #1b998b; border-bottom: 1px solid #31572c; width: 240px; color: #eee; text-align: center;">'''Meaning'''</td></tr>
{{#if:{{{es|}}}|<tr><td style="background-color: #d8f9d4; padding-left: 4px; line-height: 12px; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">[[File:ICON-FLAG-ES.png|20px]] Español</td><td style="background-color: #d8f9d4; padding-left: 4px; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">{{{es}}}</td><td td style="background-color: #d8f9d4; padding-left: 4px; border-bottom: 1px solid #31572c;">{{#if:{{{es-meaning|}}}|{{{es-meaning}}}}}</td></tr>}}
{{#if:{{{es|}}}|<tr><td style="background-color: #d8f9d4; padding-left: 4px; line-height: 12px; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">[[File:ICON-FLAG-ES.png|16px]] Español</td><td style="background-color: #d8f9d4; padding-left: 4px; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">{{{es}}}</td><td td style="background-color: #d8f9d4; padding-left: 4px; border-bottom: 1px solid #31572c;">{{#if:{{{es-meaning|}}}|{{{es-meaning}}}}}</td></tr>}}{{#if:{{{fr|}}}|<tr><td style="background-color: #d8f9d4; padding-left: 4px; line-height: 12px; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">[[File:ICON-FLAG-FR.png|16px]] Français</td><td style="background-color: #d8f9d4; padding-left: 4px; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">{{{fr}}}</td><td td style="background-color: #d8f9d4; padding-left: 4px; border-bottom: 1px solid #31572c;">{{#if:{{{fr-meaning|}}}|{{{fr-meaning}}}}}</td></tr>}}{{#if:{{{de|}}}|<tr><td style="background-color: #d8f9d4; padding-left: 4px; line-height: 12px; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">[[File:ICON-FLAG-DE.png]] Deutsch</td><td style="background-color: #d8f9d4; padding-left: 4px; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">{{{de}}}</td><td td style="background-color: #d8f9d4; padding-left: 4px; border-bottom: 1px solid #31572c;">{{#if:{{{de-meaning|}}}|{{{de-meaning}}}}}</td></tr>}}{{#if:{{{it|}}}|<tr><td style="background-color: #d8f9d4; padding-left: 4px; line-height: 12px; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">[[File:ICON-FLAG-IT.png]] Italiano</td><td style="background-color: #d8f9d4; padding-left: 4px; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">{{{it}}}</td><td td style="background-color: #d8f9d4; padding-left: 4px; border-bottom: 1px solid #31572c;">{{#if:{{{it-meaning|}}}|{{{it-meaning}}}}}</td></tr>}}{{#if:{{{nl|}}}|<tr><td style="background-color: #d8f9d4; padding-left: 4px; line-height: 12px; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">[[File:ICON-FLAG-NL.png]] Nederlands</td><td style="background-color: #d8f9d4; padding-left: 4px; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">{{{de}}}</td><td td style="background-color: #d8f9d4; padding-left: 4px; border-bottom: 1px solid #31572c;">{{#if:{{{nl-meaning|}}}|{{{nl-meaning}}}}}</td></tr>}}{{#if:{{{ru|}}}|<tr><td style="background-color: #d8f9d4; padding-left: 4px; line-height: 12px; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">[[File:ICON-FLAG-RU.png]] Русский</td><td style="background-color: #d8f9d4; padding-left: 4px; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">{{{ru}}}</td><td td style="background-color: #d8f9d4; padding-left: 4px; border-bottom: 1px solid #31572c;">{{#if:{{{ru-meaning|}}}|{{{ru-meaning}}}}}</td></tr>}}{{#if:{{{ko|}}}|<tr><td style="background-color: #d8f9d4; padding-left: 4px; line-height: 12px; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">[[File:ICON-FLAG-KO.png]] 한국어</td><td style="background-color: #d8f9d4; padding-left: 4px; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">{{{ko}}}</td><td td style="background-color: #d8f9d4; padding-left: 4px; border-bottom: 1px solid #31572c;">{{#if:{{{ko-meaning|}}}|{{{ko-meaning}}}}}</td></tr>}}{{#if:{{{zh-cn|}}}|<tr><td style="background-color: #d8f9d4; padding-left: 4px; line-height: 12px; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">[[File:ICON-FLAG-CN.png]] 中文</td><td style="background-color: #d8f9d4; padding-left: 4px; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">{{{zh-cn}}}</td><td td style="background-color: #d8f9d4; padding-left: 4px; border-bottom: 1px solid #31572c;">{{#if:{{{zh-cn-meaning|}}}|{{{zh-cn-meaning}}}}}</td></tr>}}{{#if:{{{zh-tw|}}}|<tr><td style="background-color: #d8f9d4; padding-left: 4px; line-height: 12px; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">[[File:ICON-FLAG-TW.png]] 中文 (繁體)</td><td style="background-color: #d8f9d4; padding-left: 4px; border-right: 1px solid #31572c; border-bottom: 1px solid #31572c;">{{{zh-tw}}}</td><td td style="background-color: #d8f9d4; padding-left: 4px; border-bottom: 1px solid #31572c;">{{#if:{{{zh-tw-meaning|}}}|{{{zh-tw-meaning}}}}}</td></tr>}}
{{#if:{{{fr|}}}|<tr><td style="background-color: #d8f9d4; padding-left: 4px; line-height: 12px; border-right: 1px solid #31572c;">[[File:ICON-FLAG-FR.png|20px]] Français</td><td style="background-color: #d8f9d4; padding-left: 4px; border-right: 1px solid #31572c;">{{{fr}}}</td><td td style="background-color: #d8f9d4; padding-left: 4px;">{{#if:{{{fr-meaning|}}}|{{{fr-meaning}}}}}</td></tr>}}
</table></div></includeonly><noinclude>
</table></div></includeonly><noinclude>
This is a template used to list names, places, and things as they appear in translations of ''Dragon Quest'' games into other languages. Currently only Spanish and French are supported, but other languages will be added soon.
{{/doc}}
 
==Example==
{{OtherLanguages
|es=Minicuración|es-meaning=From {{tt|''mini''|tiny or small}} and {{tt|''curación''|healing}}
|fr=bonjour|fr-meaning=From {{tt|''bonjour''|hello}}
}}
==Usage==
<pre>{{OtherLanguages
|es=|es-meaning=
|fr=|fr-meaning=
}}</pre>
</noinclude>
</noinclude>

Revision as of 05:59, 9 September 2021

This is a template used to list names, places, and things as they appear in translations of Dragon Quest games into other languages. Currently only Spanish, French, Italian, German, Netherlands, Russian, Korean, Simplified and Traditional Chinese are supported, but other languages will be added soon.

Example

Language Translation Meaning
ICON-FLAG-ES.png EspañolMinicuraciónFrom mini and curación
ICON-FLAG-FR.png FrançaisbonjourFrom bonjour
ICON-FLAG-TW.png 中文 (繁體)防人之心不可無"Careful with others is a must have."

Usage

{{OtherLanguages
|es=|es-meaning=
|fr=|fr-meaning=
|zh-tw=|zh-tw-meaning=
}}

See also