Template:DialogTable

From Touhou Wiki
Jump to navigation Jump to search

{{{ja}}}

{{{en}}}

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.

{{DialogTable/Header}}
{{DialogTable
| char =Reimu
| ja   =こんにちは
| en   =Good Afternoon
}}
{{DialogTable/Footer}}

Output:

Reimu

こんにちは

Good Afternoon

If the DialogTable serves as a title, you can insert |h1 just behind {{DialogTable to mark the translation as a title or header of the translation.

Example:

{{DialogTable/Header}}
{{DialogTable|h1
| char =Character's name (if available)
| ja   =Original Japanese words
| en   =Translated words
}}
{{DialogTable/Footer}}

Another type is {{DialogTable|st-title}} which is used to display the stage title aligned center and {{DialogTable|st-desc}} for non-center-aligned, both without the char parameter.

Optionally, you can use {{DialogTable|status}} to mark certain situation. For example:

{{DialogTable/Header}}
{{DialogTable|status
| status =[[Reimu Hakurei|Reimu]] HAS DEFEATED
}}
{{DialogTable/Footer}}

Output:

Reimu HAS DEFEATED

Alternately, you can use {{DialogTable|statusnr}} for non-bold status sentences.

Meanwhile, you may use other language coding by following the example code below:

{{DialogTable/Header}}
{{DialogTable
| lang =zh
| char =Reimu
| zh   =午安
| en   =Good Afternoon
}}
{{DialogTable/Footer}}

NOTE: the origin lang code must follow what the lang parameter is.