Template:DialogTable/Header

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

{{DialogTable}} serves as a translation table template for character dialogue.

Usage

Please follow the code below in order to use it.

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

Output:

Yabusame

こんにちは

Good Afternoon

If the {{DialogTable}} serves as a title, you can insert |h1 just after {{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 centre and {{DialogTable|st-desc}} for non-centre-aligned, both without the |char= parameter.

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

{{DialogTable/Header}}
{{DialogTable|status
| status =[[Yabusame Houlen]] DEFEATED
}}
{{DialogTable/Footer}}

Output:

Yabusame Houlen 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.