Template:DialogTable/doc

From DereSute Wiki
Revision as of 09:02, 13 May 2016 by Arcorann (talk | contribs) (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT --> This temp...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Template:Documentation subpage This template was imported from Touhou Wiki to serve as a translation table template. Documentation will be updated shortly.

Usage

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.