Template:Ja
Jump to navigation
Jump to search
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
This template uses Module:Lang, a script written in Lua.
This template is a shorthand for formatting Japanese text by using {{Lang|selective = 1|mini = 1}} as a base.
Syntax
All fields are optional except the Japanese text.
{{Ja|Japanese text|rm = Romanisation of the Japanese text|tl = Translation of the Japanese text|lit = Literal Translation of the Japanese Text}}
Examples
{{Ja|こんにちは、旅人さん|rm = Konnichiwa, Tabibito-san|tl = Hello, Traveler|lit = Good Day, Traveler}} yields:
こんにちは、旅人さん Konnichiwa, Tabibito-san, "Hello, Traveler," lit. "Good Day, Traveler"
Template Data
Template for formatting japanese
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Japanese text | tx 1 | Japanese text to be formatted | String | required |
| Romanization | rm 2 | Romanization of the Japanese text | String | optional |
| Translation | tl 3 | Translation of the Japanese text | String | optional |
| Literal Translation | lit 4 | Literal translation of the Japanese text | String | optional |