Welcome to Square Enix Wiki! Be sure to check out our To-Do List to see what work we need done!

Difference between revisions of "Template:Nihongo"

From Square Enix Wiki, the Fan-wiki for all things Square Enix
Jump to navigationJump to search
(Created page with "{{{1}}}<span style="font-weight: normal"> (<span class="t_nihongo_kanji" lang="ja">{{{2}}}</span>{{#if:{{{3|}}} |<span class="t_nihongo_comma" style="display:none">,</span> <...")
 
(No difference)

Latest revision as of 04:32, 19 February 2012

{{{1}}} ({{{2}}}?)

Usage

Code {{Nihongo|English|Kanji|Romaji|extra|extra2}}
Gives English (Kanji Romaji?, extra) extra2

This template marks the Kanji segment as being in Japanese Kanji, which helps web browsers display it correctly. It also applies it the t_nihongo_kanji CSS style class.

Parameters 1 and 2 are required. Parameters 4 and 5 can also be directly invoked with extra= and extra2=. Parameter extra2 is useful only in ";" definitions (extra2 will be displayed without bold, whereas text following the template will get the bold).

Examples

Code {{Nihongo|'''Motojirō Kajii'''|梶井 基次郎|Kajii Motojirō|1901–1932}}
Gives Motojirō Kajii (梶井 基次郎 Kajii Motojirō?, 1901–1932)

With extra2:

Code

; {{Nihongo|komusō|虚無僧|extra2="Priest of nothingness"}}
: Mendicant priest of the Fuke sect of Zen Buddhism.

Gives
komusō (虚無僧?) "Priest of nothingness"
Mendicant priest of the Fuke sect of Zen Buddhism.

Without extra2:

Code

; {{Nihongo|komusō|虚無僧}} "Priest of nothingness"
: Mendicant priest of the Fuke sect of Zen Buddhism.

Gives
komusō (虚無僧?) "Priest of nothingness"
Mendicant priest of the Fuke sect of Zen Buddhism.