Bản mẫu:TranslateTable

Từ Touhou Wiki - Việt Nam
Bước tới điều hướng Bước tới tìm kiếm
   
Hình tượng tài liệu Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm tươi]

This template served as a translation table template.

Usage

Please follow the code below in order to use it.

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

Parameters

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
}}
{{Footer}}
Output:
例テキスト Example text
blockquote

Adds a blockquote to the table.

Example:
{{TranslateTable/Header}}
{{TranslateTable|blockquote
| native =例テキスト
| trans  =Example text
}}
{{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.
}}
{{Footer}}
Output:
ここで下のコルスパン Colspan under here.
ここで上記のコルスパン Colspan above.
right

Aligns the text at the right.

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

To make the text bigger.

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