Шаблон:Infobox East Asian name/doc
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. |
This template may be used to display an infobox of Korean, Japanese, Chinese and/or Russian names.
Usage
вироиш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 = --> }}
Parameters
вироишField | Default | Description |
tablewidth | 20em | The width of the infobox in pixels. Do not include px and omit this field if not used.
|
background | #fafafa | Can be used to change the default background color of the table. |
titlebackground | #ccf #ddf
| A background color for title .
|
titlecolor | #000 (i.e. black) | A font color for title .
|
title | {{PAGENAME}} | 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. |
logo | The filename of the logo (e.g. for File:Placeholder.png, set "logo=Placeholder.png ").
| |
logowidth | 80px | The width of the logo in pixels.
|
img | The filename of the image (e.g. for File:Placeholder.png, set "img=Placeholder.png ").
| |
imgwidth | The width of the img in pixels.
| |
caption | A caption which appears beneath the img .
| |
sort | korean1
| A parameter to switch the order of the languages. Acceptable values are:
Note: If Chinese language is required at the top of the table, use {{Infobox Chinese}} instead; if |
chinesename | Chinese name | Heading for the 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. | |
chinesenotes | A text field for any additional notes. | |
koreanname | Korean name | Heading for the Korean name. |
koreancontext | Context specification. Set this to "north " for North Korean articles.
| |
hangul | Korean name in Hangul. | |
chosongul | Korean name in Choson'gul. | |
hanja | Korean name in Hanja. | |
rr | The Revised Romanization of the name. | |
mr | The McCune–Reischauer romanization of the name. | |
koreannotes | A text field for any additional notes. | |
koreanname2 | Alternate Korean name | all as above |
koreancontext2 | ||
hangul2 | ||
hanja2 | ||
rr2 | ||
mr2 | ||
koreannotes2 | ||
japanesename | Japanese name | Heading for the 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. | |
japanesenotes | A text field for any additional notes. | |
japanesename2 | Alternate Japanese name | all as above |
kanji2 | ||
kana2 | ||
kanahist2 | ||
hiragana2 | ||
shinjitai2 | ||
kyujitai2 | ||
romaji2 | ||
hepburn2 | ||
japanesenotes2 | ||
russianname | Russian name | Heading for the Russian name. |
cyrillic | Russian name in the Russian alphabet. | |
romanization | The romanization of the name. | |
russiannotes | A text field for any additional notes. | |
othername | Other names | Heading for the "Other names" section. |
field1 | Use field1 to field3 to specify additional languages.
| |
field2 | ||
field3 | ||
content1 | Use content1 to content3 for the other names in the languages specified.
| |
content2 | ||
content3 | ||
othernotes | A text field for any additional notes. |
Examples
вироиш{{Infobox East Asian name | 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 name |tablewidth=280 | title = Seven-Branched Sword | img = Chiljido.jpg | caption = Replica of the Chiljido at the 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 name |tablewidth=200 |background=#FFC0CB | hangul = 쉬리 | rr = Swiri | mr = Sŭiri | kana = ヤガタムギツク | romaji = Yagatamugitsuku }}
Templates used by Infobox East Asian name
вироиш- {{Infobox Chinese/Header}}
- {{Infobox Chinese/Chinese}}
- {{Infobox Chinese/Japanese}}
- {{Infobox Chinese/Korean}}
- {{Infobox Chinese/Russian}}
- {{Infobox Chinese/Blank}}
- {{Infobox Chinese/Footer}}
See also
вироиш