- Welcome to Touhou Wiki!
- Registering is temporarily disabled. Check in our Discord server to request an account and for assistance of any kind.
User:PassingStrike/sandbox/TranslateTable/Header
Jump to navigation
Jump to search
This template served as a translation table template.
Usage
Please follow the code below in order to use it.
{{TranslateTable/Header}} {{TranslateTable|{{{1}}} | nativelang =Original native language code (ie: ja, zh-cn) (Optional, default as ja) | native =Original native language text | trans =Translated text }} {{TranslateTable/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 }} {{TranslateTable/Footer}}
- Output:
例テキスト | Example text |
---|
h2
If the TranslateTable serves as a second-level heading, you can insert this to mark the translation as a subtitle.
- Example:
{{TranslateTable/Header}} {{TranslateTable|h2 | native =例テキスト | trans =Example text }} {{TranslateTable/Footer}}
- Output:
例テキスト | Example text |
blockquote
Adds a blockquote to the table.
- Example:
{{TranslateTable/Header}} {{TranslateTable|blockquote | native =例テキスト | trans =Example text }} {{TranslateTable/Footer}}
- Output:
|
|
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. }} {{TranslateTable/Footer}}
- Output:
ここで下のコルスパン | Colspan under here. | |
ここで上記のコルスパン | Colspan above. |
right
Aligns the text at the right.
- Example:
{{TranslateTable/Header}} {{TranslateTable|right | native =例テキスト | trans =Example text }} {{TranslateTable/Footer}}
- Output:
例テキスト | Example text |
big
To make the text bigger.
- Example:
{{TranslateTable/Header}} {{TranslateTable|big | native =例テキスト | trans =Example text }} {{TranslateTable/Footer}}
- Output:
例テキスト | Example text |