Template:Ja

Revision as of 16:44, 29 August 2025 by ReinDevildom (talk | contribs) (Created page with "<includeonly>{{#invoke:Lang|main|selective=1|mini=1|vertical={{{vertical|}}}|ja={{{tx|{{{1|}}}}}}|ja_rm={{{rm|{{{2|}}}}}}|ja_tl={{{tl|{{{3|}}}}}}|ja_lit={{{lit|{{{4|}}}}}}}}</includeonly><noinclude>{{Documentation|type=Data;Lang Shorthand}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.
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

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Japanese texttx 1

Japanese text to be formatted

Stringrequired
Romanizationrm 2

Romanization of the Japanese text

Stringoptional
Translationtl 3

Translation of the Japanese text

Stringoptional
Literal Translationlit 4

Literal translation of the Japanese text

Stringoptional