Template:OtherLanguages: Difference between revisions

From Dragon Quest Wiki
(created template to list translation of names, places, and things in other languages)
 
No edit summary
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;">[[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>}}
{{#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:{{{zh-tw|}}}|<tr><td style="background-color: #d8f9d4; padding-left: 4px; line-height: 12px; border-right: 1px solid #31572c;">[[File:ICON-FLAG-TW.png]] 中文 (繁體)</td><td style="background-color: #d8f9d4; padding-left: 4px;  border-right: 1px solid #31572c;">{{{zh-tw}}}</td><td td style="background-color: #d8f9d4; padding-left: 4px;">{{#if:{{{zh-tw-meaning|}}}|{{{zh-tw-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.
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, and Traditional Chinese are supported, but other languages will be added soon.


==Example==
==Example==
Line 12: Line 13:
|es=Minicuración|es-meaning=From {{tt|''mini''|tiny or small}} and {{tt|''curación''|healing}}
|es=Minicuración|es-meaning=From {{tt|''mini''|tiny or small}} and {{tt|''curación''|healing}}
|fr=bonjour|fr-meaning=From {{tt|''bonjour''|hello}}
|fr=bonjour|fr-meaning=From {{tt|''bonjour''|hello}}
}}
|zh-tw=防人之心不可無|zh-tw-meaning="Careful with others is a must have."}}
==Usage==
==Usage==
<pre>{{OtherLanguages
<pre>{{OtherLanguages
|es=|es-meaning=
|es=|es-meaning=
|fr=|fr-meaning=
|fr=|fr-meaning=
|zh-tw=|zh-tw-meaning=
}}</pre>
}}</pre>
</noinclude>
</noinclude>

Revision as of 15:15, 2 February 2020

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, 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=
}}