Template:TranslateTable

From Touhou Wiki
Jump to navigation Jump to search
   
Documentation icon Template documentation[view] [edit] [history] [purge]

This template served as a translation table template.

Usage[edit]

Please follow the code below in order to use it.

{{TranslateTable/Header}}
{{TranslateTable|{{{1}}}
| nativelang =Original native language code (ie: ja, zh-cn) (Optional, default as ja)
| native     =Original native language text
| trans      =Translated text
}}
{{TranslateTable/Footer}}

Parameters[edit]

Uses for {{{1}}} are:

h1

If the TranslateTable serves as a title, you can insert this to mark the translation as a title or header of the translation.

Example:
{{TranslateTable/Header}}
{{TranslateTable|h1
| native =例テキスト
| trans  =Example text
}}
{{TranslateTable/Footer}}
Output:
例テキスト Example text
blockquote

Adds a blockquote to the table.

Example:
{{TranslateTable/Header}}
{{TranslateTable|blockquote
| native =例テキスト
| trans  =Example text
}}
{{TranslateTable/Footer}}
Output:

例テキスト

Example text

colspan

It is not possible to add any text with this one. It should be put between two paragraphs.

Example:
{{TranslateTable/Header}}
{{TranslateTable
| native =ここで下のコルスパン
| trans  =Colspan under here.
}}
{{TranslateTable|colspan}}
{{TranslateTable
| native =ここで上記のコルスパン
| trans  =Colspan above.
}}
{{TranslateTable/Footer}}
Output:
ここで下のコルスパン Colspan under here.
ここで上記のコルスパン Colspan above.
right

Aligns the text at the right.

Example:
{{TranslateTable/Header}}
{{TranslateTable|right
| native =例テキスト
| trans  =Example text
}}
{{TranslateTable/Footer}}
Output:
例テキスト Example text
big

To make the text bigger.

Example:
{{TranslateTable/Header}}
{{TranslateTable|big
| native =例テキスト
| trans  =Example text
}}
{{TranslateTable/Footer}}
Output:
例テキスト Example text