Kingdom Hearts Wiki
Kingdom Hearts Wiki

Invalid template use

Template documentation[view · edit · purge · links]

Template:J is f used to display Japanese characters and pronunciation.

For a generalized documentation of the template, see dev:Japanese.

This template depends on Module:Japanese
This template uses Lua. To make adjustments to this template, edit the module page.


{{Jap|<Japanese> |<Rōmaji> |<Literary meaning>}}

Results in: (Japanese, Rōmaji?, lit. Literary meaning)

This is used in two typical ways:

In infoboxes

This template is included within infoboxes to format Japanese characters. In these cases, the template should be used to format the parameters passed through the infobox itself. For example:


Will allow an infobox to take the parameters japanese, romaji, and lit, and format them using the tmeplate.

In articles

For pages without infoboxes, place the template following next to the bolded name of the article. For example:

'''Necron''' {{Jap|永遠の闇|Eien no Yami|Darkness of Eternity}}


Necron (永遠の闇, Eien no Yami?, lit. Darkness of Eternity)


The unnamed parameters can be used in any order as necessary.


<unnamed 1>

The Japanese characters to be used.


<unnamed 2>

The romanization of the Japanese name, or rōmaji.


<unnamed 3>

A literary translation of the Japanese name.


(default: "(j,r)" )

The format of the Japanese output. Instances of j are replaced with the input Japanese, r with the rōmaji, and l with the lit. translation. If l is not used and there is a literary translation given, it always goes after either the Japanese or rōmaji, whichever is used second (although both would be required).

Spacing is ignored and handled automatically. To preserve spacing and to print "j", "r", or "l" characters, square brackets can be used and their contents remain. Square brackets can be printed literally inside of square brackets, however the "j", "r", and "l" values cannot appear inside them.

Examples of this can be seen below.


Type {{Jap|リヴァイアサン|Rivaiasan|fmt=j(r)}}
Result リヴァイアサン (Rivaiasan?)
Type {{Jap|リヴァイアサン|Rivaiasan|fmt=r(j)}}
Result Rivaiasan (リヴァイアサン?)
Type {{Jap|リヴァイアサン|fmt=j}}
Result リヴァイアサン?
Type {{Jap|リヴァイアサン|Rivaiasan|fmt=j,r}}
Result リヴァイアサン, Rivaiasan?
Type {{Jap|リヴァイアサン|Rivaiasan|Leviathan|fmt=[Japanese [katakana]: ]j[, Rōmaji: ]r[, Lit. translation: ]l}}
Result Japanese [katakana]: リヴァイアサン, Rōmaji: Rivaiasan?, Lit. translation: Leviathan