Difference between revisions of "Template:Infobox East Asian name/doc"
Jump to navigation
Jump to search
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
imported>Bsherr m (as found, replacing Template:Tld with Template:Tlc or adding/updating category placement comments, plus general and typo fixes) |
||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- | + | <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> |
{{Intricate template}} | {{Intricate template}} | ||
| Line 111: | Line 111: | ||
| <s><code>titlecolor</code></s> | <code>#000</code> (i.e. black) | A font color for <code>title</code>. | | <s><code>titlecolor</code></s> | <code>#000</code> (i.e. black) | A font color for <code>title</code>. | ||
| − | | <code>title</code> | {{ | + | | <code>title</code> | {{tlc|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. |
| <s><code>logo</code></s> | | The filename of the logo (e.g. for [[:File:Placeholder.png]], set "<code>logo{{=}}Placeholder.png</code>"). | | <s><code>logo</code></s> | | The filename of the logo (e.g. for [[:File:Placeholder.png]], set "<code>logo{{=}}Placeholder.png</code>"). | ||
| <s><code>logowidth</code></s> | <code>80px</code> | The width of the <code>logo</code> in pixels. | | <s><code>logowidth</code></s> | <code>80px</code> | The width of the <code>logo</code> in pixels. | ||
| Line 251: | Line 251: | ||
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| | ||
| − | <!--Categories below this line | + | <!-- Categories below this line; interwikis at Wikidata --> |
[[Category:Language infobox templates|East Asian name]] | [[Category:Language infobox templates|East Asian name]] | ||
[[Category:Wikipedia Korean name tables|Name]] | [[Category:Wikipedia Korean name tables|Name]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 01:42, 10 August 2020
| 40px | This is a documentation subpage for Template:Infobox East Asian name. It contains usage information, categories and other content that is not part of the original template page. |
| 40x40px | 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. You can conduct experiments, and should test all major changes, in either this template's sandbox, 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
- redirect Template:Parameter names example
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
| title =
| img =
| imgwidth =
| caption =
|
| chinesename =
| chinese =
| tradchi =
| simpchi =
| pinyin =
| wg =
| jyutping =
|
| chinesename2 =
| chinese2 =
| tradchi2 =
| simpchi2 =
| pinyin2 =
| wg2 =
| jyutping2 =
|
| koreanname =
| koreancontext =
| hangul =
| chosongul =
| hanja =
| rr =
| mr =
|
| koreanname2 =
| koreancontext2 =
| hangul2 =
| hanja2 =
| rr2 =
| mr2 =
|
| japanesename =
| kanji =
| kana =
| kanahist =
| hiragana =
| katakana =
| shinjitai =
| kyujitai =
| romaji =
| hepburn =
|
| japanesename2 =
| kanji2 =
| kana2 =
| kanahist2 =
| hiragana2 =
| katakana2 =
| shinjitai2 =
| kyujitai2 =
| romaji2 =
| hepburn2 =
|
| russianname =
| cyrillic =
| romanization =
|
| othername =
| field1 =
| content1 =
| field2 =
| content2 =
| field3 =
| content3 =
}}
Parameters
Script error: No such module "aligned table".
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 |jyutping=san1 gaak3 hou6
}}
}}
| ||||||||||||||||||||||||||||||||||||||
|
{{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