Templat:Infobox East Asian
Penampilan
Templat ini menggunakan ciri-ciri sintaks templat yang rumit.
Anda digalakkan untuk membiasakan diri dengan persediaan dan fungsi penghurai sebelum menyunting templat ini. Jika suntingan anda menyebabkan masalah yang tidak diduga, sila undurkannya dengan segera kerana templat ini mungkin digunakan di sebilangan besar halaman. Ingat bahawa anda boleh menjalankan uji kaji dan perlu menguji semua penambahbaikan, sama ada di kotak pasir umum atau laman pengguna anda sebelum melakukan sebarang perubahan. (lihat sejarah) |
{{{title}}} | |||||||||
Nama bahasa Cina | |||||||||
---|---|---|---|---|---|---|---|---|---|
Cina | {{{chinese}}} | ||||||||
Tulisan Cina Tradisional | {{{tradchi}}} | ||||||||
Tulisan Cina Ringkas | {{{simpchi}}} | ||||||||
| |||||||||
Nama bahasa Jepun | |||||||||
Kanji | {{{kanji}}} | ||||||||
Kana | {{{kana}}} | ||||||||
Hiragana | {{{hiragana}}} | ||||||||
Kyūjitai | {{{kyujitai}}} | ||||||||
Shinjitai | {{{shinjitai}}} | ||||||||
| |||||||||
Nama alternatif bahasa Jepun | |||||||||
Kanji | {{{kanji2}}} | ||||||||
Kana | {{{kana2}}} | ||||||||
Hiragana | {{{hiragana2}}} | ||||||||
Kyūjitai | {{{kyujitai2}}} | ||||||||
Shinjitai | {{{shinjitai2}}} | ||||||||
| |||||||||
Nama bahasa Korea | |||||||||
Hangul | {{{hangul}}} | ||||||||
Hanja | {{{hanja}}} | ||||||||
Perumian Semakan | {{{rr}}} | ||||||||
McCune–Reischauer | {{{mr}}} | ||||||||
Nama alternatif bahasa Korea | |||||||||
Hangul | {{{hangul2}}} | ||||||||
Hanja | {{{hanja2}}} | ||||||||
Perumian Semakan | {{{rr2}}} | ||||||||
McCune–Reischauer | {{{mr2}}} | ||||||||
Nama bahasa Rusia | |||||||||
Bahasa Rusia | {{{cyrillic}}} | ||||||||
Perumian | {{{romanization}}} | ||||||||
Nama {{{field1}}} | |||||||||
{{{field1}}} | {{{content1}}} | ||||||||
Nama {{{field2}}} | |||||||||
{{{field2}}} | {{{content2}}} | ||||||||
Nama {{{field3}}} | |||||||||
{{{field3}}} | {{{content3}}} |
This template is used to display an infobox of Korean, Japanese, Chinese and/or Russian name(s).
Usage
[sunting sumber]{{{title}}} | |||||||||
[[File:{{{img}}}|{{{imgwidth}}}]] | |||||||||
Nama bahasa Cina | |||||||||
---|---|---|---|---|---|---|---|---|---|
Cina | {{{chinese}}} | ||||||||
Tulisan Cina Tradisional | {{{tradchi}}} | ||||||||
Tulisan Cina Ringkas | {{{simpchi}}} | ||||||||
| |||||||||
Nama bahasa Jepun | |||||||||
Kanji | {{{kanji}}} | ||||||||
Kana | {{{kana}}} | ||||||||
Hiragana | {{{hiragana}}} | ||||||||
Kyūjitai | {{{kyujitai}}} | ||||||||
Shinjitai | {{{shinjitai}}} | ||||||||
| |||||||||
Nama alternatif bahasa Jepun | |||||||||
Kanji | {{{kanji2}}} | ||||||||
Kana | {{{kana2}}} | ||||||||
Hiragana | {{{hiragana2}}} | ||||||||
Kyūjitai | {{{kyujitai2}}} | ||||||||
Shinjitai | {{{shinjitai2}}} | ||||||||
| |||||||||
Nama bahasa Korea | |||||||||
Hangul | {{{hangul}}} | ||||||||
Hanja | {{{hanja}}} | ||||||||
Perumian Semakan | {{{rr}}} | ||||||||
McCune–Reischauer | {{{mr}}} | ||||||||
Nama alternatif bahasa Korea | |||||||||
Hangul | {{{hangul2}}} | ||||||||
Hanja | {{{hanja2}}} | ||||||||
Perumian Semakan | {{{rr2}}} | ||||||||
McCune–Reischauer | {{{mr2}}} | ||||||||
Nama bahasa Rusia | |||||||||
Bahasa Rusia | {{{cyrillic}}} | ||||||||
Perumian | {{{romanization}}} | ||||||||
Nama {{{field1}}} | |||||||||
{{{field1}}} | {{{content1}}} | ||||||||
Nama {{{field2}}} | |||||||||
{{{field2}}} | {{{content2}}} | ||||||||
Nama {{{field3}}} | |||||||||
{{{field3}}} | {{{content3}}} |
The infobox may be added by pasting the code shown below into an article and removing those fields not used . At least one Korean, Japanese, Chinese or Russian field is required to display the infobox, otherwise all parameters are optional.
{{Infobox East Asian name <!--| tablewidth = --> <!--| background = --> <!--| titlebackground = --> <!--| titlecolor = --> | title = <!--| logo = --> <!--| logowidth = --> | img = | imgwidth = | caption = <!--| sort = --> | | chinesename = | chinese = | tradchi = | simpchi = | pinyin = | wg = <!--| chinesenotes = --> | | koreanname = | koreancontext = | hangul = | chosongul = | hanja = | rr = | mr = <!--| koreannotes = --> | | koreanname2 = | koreancontext2 = | hangul2 = | hanja2 = | rr2 = | mr2 = <!--| koreannotes2 = --> | | japanesename = | kanji = | kana = | kanahist = | hiragana = | katakana = | shinjitai = | kyujitai = | romaji = | hepburn = <!--| japanesenotes = --> | | japanesename2 = | kanji2 = | kana2 = | kanahist2 = | hiragana2 = | katakana2 = | shinjitai2 = | kyujitai2 = | romaji2 = | hepburn2 = <!--| japanesenotes2 = --> | | russianname = | cyrillic = | romanization = <!--| russiannotes = --> | | othername = | field1 = | content1 = | field2 = | content2 = | field3 = | content3 = <!--| othernotes = --> }}
Description of fields
[sunting sumber]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 orthography. | |
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. |
Examples
[sunting sumber]
|
{{Infobox East Asian |title=Shin Kyuk-Ho |hangul=신격호 |hanja=辛格浩 |rr=Sin Gyeok-ho |mr=Sin Kyŏk-ho |kanji=重光 武雄 |hepburn=Shigemitsu Takeo |chinese=辛格浩 |pinyin=Xīn Géhào }} | ||||||||||||||||||||||||||||||||||||||
|
{{Infobox East Asian |title=Seven-Branched Sword |tablewidth=280 |img=Chiljido.jpg |caption=Replica of the Chiljido at the [[War Memorial of Korea|War Memorial]] in [[Seoul]], [[South Korea]]. |sort=japanese1 |kanji=七支刀 |hepburn=shichishitō ''or'' nanatsusaya no tachi |hangul=칠지도 |hanja=七支刀 |rr=chiljido |mr=ch'iljido }} | ||||||||||||||||||||||||||||||||||||||
|
{{Infobox East Asian |tablewidth=200 |color=#FFC0CB |hangul=쉬리 |rr=Swiri |mr=Sŭiri |kana=ヤガタムギツク |romaji=Yagatamugitsuku }} |