Template:Infobox animanga character
Infobox animanga character | |
---|---|
{{{series}}} character | |
{{{image}}} {{{caption}}} | |
First appearance | {{{first}}} |
Last appearance | {{{last}}} |
Created by | {{{creator}}} |
Voiced by | {{{voiced by}}} |
{{{oaux1 name}}} | {{{oaux1}}} |
{{{oaux2 name}}} | {{{oaux2}}} |
{{{oaux3 name}}} | {{{oaux3}}} |
Profile | |
Nicknames | {{{nickname}}} |
Aliases | {{{alias}}} |
Age | {{{age}}} |
Gender | {{{gender}}} |
Species | {{{species}}} |
Date of birth | {{{born}}} |
Date of death | {{{death}}} |
Nationality | {{{nationality}}} |
Class | {{{class}}} |
Occupation | {{{occupation}}} |
Title | {{{title}}} |
Known relatives | {{{relatives}}} |
{{{paux1 name}}} | {{{paux1}}} |
{{{paux2 name}}} | {{{paux2}}} |
{{{paux3 name}}} | {{{paux3}}} |
{{{paux4 name}}} | {{{paux4}}} |
{{{paux5 name}}} | {{{paux5}}} |
Information | |
{{{aux1 name}}} | {{{aux1}}} |
{{{aux2 name}}} | {{{aux2}}} |
{{{aux3 name}}} | {{{aux3}}} |
{{{aux4 name}}} | {{{aux4}}} |
{{{aux5 name}}} | {{{aux5}}} |
Template:Esoteric Template:Template doc page transcluded
UsageEdit
- Syntax
Code | {{Nihongo|English|Kanji|Rōmaji|extra|extra2}}
|
Gives | English (Kanji Rōmaji, 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).
ExamplesEdit
Code | {{Nihongo|'''Motojirō Kajii'''|梶井 基次郎|Kajii Motojirō|1901–1932}}
|
Gives | Motojirō Kajii (梶井 基次郎 Kajii Motojirō, 1901–1932) |
With extra2
:
Code |
|
Gives |
|
Without extra2
:
Code |
|
Gives |
|
User styleEdit
User style can be set by adding code similar to
- *[lang=ja] { color: green; font-family: Arial; }
or
- .t_nihongo_kanji { color: green; font-family: Arial; }
to common.css.
See alsoEdit
- {{Nihongo3}}, essentially the same as this template, but gives Romaji first and English inside the parentheses
- {{Nihongo2}}, also displays the kanji properly, but without adding anything in parentheses, without Romaji and without the extra parameters
eo:Ŝablono:Nihongo
es:Plantilla:Nihongo
fr:Modèle:Japonais
it:Template:Nihongo
ru:Шаблон:Нихонго
sr:Шаблон:Nihongo
vi:Tiêu bản:Nihongo
zh:Template:Nihongo