Template:Infobox East Asian/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Infobox East Asian (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages.
Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here.
Placeholder.png
{{{title}}}
{{{caption}}}
{{{caption}}}
Korean name
Hangul {{{hangul}}}
Hanja {{{hanja}}}
Revised Romanization {{{rr}}}
McCune-Reischauer {{{mr}}}
{{{koreantext}}}
Alternate Korean name
Hangul {{{hangul2}}}
Hanja {{{hanja2}}}
Revised Romanization {{{rr2}}}
McCune-Reischauer {{{mr2}}}
{{{koreantext2}}}
Japanese name
Kanji {{{kanji}}}
Kana {{{kana}}}
Kana (historical usage) {{{kanahist}}}
Hiragana {{{hiragana}}}
Katakana {{{katakana}}}
Shinjitai {{{shinjitai}}}
Kyūjitai {{{kyujitai}}}
Rōmaji {{{romaji}}}
Hepburn {{{hepburn}}}
{{{japanesetext}}}
Alternate Japanese name
Kanji {{{kanji2}}}
Kana {{{kana2}}}
Kana (historical usage) {{{kanahist2}}}
Hiragana {{{hiragana2}}}
Katakana {{{katakana2}}}
Shinjitai {{{shinjitai2}}}
Kyūjitai {{{kyujitai2}}}
Rōmaji {{{romaji2}}}
Hepburn {{{hepburn2}}}
{{{japanesetext2}}}
Chinese name
Chinese {{{chinese}}}
Traditional Chinese {{{tradchi}}}
Simplified Chinese {{{simpchi}}}
Hanyu Pinyin {{{pinyin}}}
Wade-Giles {{{wg}}}
{{{chinesetext}}}
Russian name
Cyrillic {{{cyrillic}}}
Romanization {{{romanization}}}
{{{russiantext}}}
Other name(s)
{{{field1}}} {{{content1}}}
{{{field2}}} {{{content2}}}
{{{field3}}} {{{content3}}}
{{{othertext}}}

This template is used to display an infobox of Korean, Japanese, Chinese and/or Russian name(s).

Contents

[edit] Usage

The infobox may be added by pasting the template as shown below into an article. All fields are optional; however, at least one language field of Korean, Japanese or Russian is required to display the infobox.

{{Infobox East Asian
| title         = 
| tablewidth    = 
| color         = 
| fontcolor     = 
| background    = 
| logo          = 
| logowidth     = 
| img           = 
| imgwidth      = 
| caption       = 
| sort          = 

| koreanname    = 
| context       = 
| hangul        = 
| hanja         = 
| rr            = 
| mr            = 
| koreantext    = 

| koreanname2   = 
| context2      = 
| hangul2       = 
| hanja2        = 
| rr2           = 
| mr2           = 
| koreantext2   = 

| japanesename  = 
| kanji         = 
| kana          = 
| kanahist      = 
| hiragana      = 
| katakana      = 
| shinjitai     = 
| kyujitai      = 
| romaji        = 
| hepburn       = 
| japanesetext  = 

| japanesename2 = 
| kanji2        = 
| kana2         = 
| kanahist2     = 
| hiragana2     = 
| katakana2     = 
| shinjitai2    = 
| kyujitai2     = 
| romaji2       = 
| hepburn2      = 
| japanesetext2 = 

| chinesename   = 
| chinese       = 
| tradchi       = 
| simpchi       = 
| pinyin        = 
| wg            = 
| chinesetext   = 

| russianname   = 
| cyrillic      = 
| romanization  = 
| russian text  = 

| othername     = 
| field1        = 
| content1      = 
| field2        = 
| content2      = 
| field3        = 
| content3      = 
| othertext     = 
}}


[edit] Description of fields

Field Description Default
title A text field at the top of the table. This is required to display the title, logo and/or image, but can be omitted if these fields are not needed.
tablewidth The width of the infobox in pixels. Do not include px, and omit this field if not used. 20em
color A background color for title #CCCCFF
#DDDDFF
fontcolor A font color for title #000000 (black)
background Can be used to change the default background color of the table. #FAFAFA
logo The filename of the logo (for Image:Placeholder.png, set "logo=Placeholder.png".)
logowidth The width of the logo in pixels. 80px
img The filename of the image (for Image:Placeholder.png, set "img=Placeholder.png".)
imgwidth The width of the img in pixels. tablewidth - 20
caption A caption which appears beneath the img.
sort A parameter to switch the order of the languages. Acceptable values are:

korean1 (Korean → Japanese → Chinese → Russian)
korean2 (Korean → Japanese → Russian → Chinese)
korean3 (Korean → Chinese → Japanese → Russian)
korean4 (Korean → Chinese → Russian → Japanese)
korean5 (Korean → Russian → Japanese → Chinese)
korean6 (Korean → Russian → Chinese → Japanese)
japanese1 (Japanese → Korean → Chinese → Russian)
japanese2 (Japanese → Korean → Russian → Chinese)
japanese3 (Japanese → Chinese → Korean → Russian)
japanese4 (Japanese → Chinese → Russian → Korean)
japanese5 (Japanese → Russian → Korean → Chinese)
japanese6 (Japanese → Russian → Chinese → Korean)
russian1 (Russian → Korean → Japanese → Chinese)
russian2 (Russian → Korean → Chinese → Japanese)
russian3 (Russian → Japanese → Chinese → Korean)
russian4 (Russian → Japanese → Korean → Chinese)
russian5 (Russian → Chinese → Korean → Japanese)
russian6 (Russian → Chinese → Japanese → Korean)

Note: If Chinese language is required at the top of the table, use {{Chinese}} instead. If used, othername will always be placed at the bottom of the table.
korean1
koreanname Creates a customized heading for the Korean name. Korean name
context Context specification. Set this to "north" for North Korean articles.
hangul Korean name in Hangul.
hanja Korean name in Hanja.
rr The Revised Romanization of the name.
mr The McCune-Reischauer romanization of the name.
koreantext A text field for any additional notes.
koreanname2 Extra fields for an alternate Korean name. Usage as above. Alternate Korean name
context2
hangul2
hanja2
rr2
mr2
koreantext2
japanesename Creates a customized heading for the Japanese name. Japanese name
kanji Japanese name in Kanji.
kana Japanese name in Kana.
kanahist Japanese name in Historical kana usage.
hiragana Japanese name in Hiragana.
shinjitai Japanese name in Shinjitai.
kyujitai Japanese name in Kyūjitai.
romaji The Romanization of the name. Use a more specific field if possible.
hepburn The Hepburn romanization of the name.
japanesetext A text field for any additional notes.
japanesename2 Extra fields for an alternate Japanese name. Usage as above. Alternate Japanese name
kanji2
kana2
kanahist2
hiragana2
shinjitai2
kyujitai2
romaji2
hepburn2
japanesetext2
chinesename Creates a customized heading for the Chinese name. Chinese name
chinese Chinese name in Chinese characters. Use only if there is no distinction between Traditional and Simplified.
tradchi Chinese name in Traditional Chinese characters.
simpchi Chinese name in Simplified Chinese characters.
pinyin The Pinyin romanization of the name.
wg The Wade-Giles romanization of the name.
chinesetext A text field for any additional notes.
russianname Creates a customized heading for the Russian name. Russian name
cyrillic Russian name in the Russian alphabet.
romanization The romanization of the name.
russiantext A text field for any additional notes.
othername Creates a customized heading for the "Other name" section. Other name(s)
field1 Specifies the additional languages to be used.
field2
field3
content1 Other names in the specified languages.
content2
content3
othertext A text field for any additional notes.

[edit] Examples

[edit] See also