Template:Ja/doc

From Honkai: Nexus Anima Wiki
Jump to navigation Jump to search
This is the documentation page for Ja.
It contains usage information, categories, and other content not part of the original template page.
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