Bản mẫu:TranslateTable/Header

Từ Touhou Wiki - Việt Nam
< Bản mẫu:TranslateTable
Phiên bản vào lúc 16:34, ngày 5 tháng 6 năm 2018 của KyoriAsh (thảo luận | đóng góp) (Tạo trang mới với nội dung “<includeonly><table style="border-collapse: collapse;" class="wikitable"></includeonly><noinclude> {{Documentation|Template:TranslateTable/doc}} </noinclude>”)
(khác) ← Phiên bản cũ | Phiên bản mới nhất (khác) | Phiên bản mới → (khác)
Bước tới điều hướng Bước tới tìm kiếm
Bản để in ra không còn được hỗ trợ và có thể có lỗi kết xuất. Xin hãy cập nhật các dấu trang của bạn và sử dụng chức năng in bình thường của trình duyệt thay thế.
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