Templat:Infobox Korean name/auto/doc
| This is a documentation subpage for Templat:Infobox Korean name/auto. It may contain usage information, categories and other content that is not part of the original templat page. |
| This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template is used to display an infobox of Korean name(s). Where used alongside another infobox it should be configured as a child module as in this edit, with no title parameter.
This template is a modified version of its parent and predecessor template, {{Infobox Korean name}}. It is designed and intended to completely replace its predecessor.
Changes from parent
[simbanai toud]- Semi-automatic romanization (both RR and MR) using Module:Ko-translit
- Ability to add references to Hangul, Hanja, IPA, and literal translations
- Some parameters have been renamed (e.g.
|koreanipa=Templat:Arrow|ipa=) for concision. |context=has been disabled. We always display "Hangul" and "Hanja", regardless of politics (explanation).- The language labels "Revised Romanization" and "McCune–Reischauer" have been abbreviated to "RR" and "MR" in order to make the infobox less bulky.
Quick examples
[simbanai toud]| Infobox Korean name/auto/doc | |
| Hangul | 홍길동 |
|---|---|
| Hanja | 洪吉同 [1] |
| RR | Hong Gildong |
| MR | Hong Kiltong |
| Infobox Korean name/auto/doc | |
| Hangul | %홍길동 |
|---|---|
{{Infobox Korean name/auto
| hangul = %홍길동 <!-- Put a % before typical people names (one-character surnames) if the name is the only thing in the input. -->
| hanja = 洪吉同
| hanjaref = <ref>Reference for Hanja</ref>
}}
- References
- ↑ Reference for Hanja
| Infobox Korean name/auto/doc | |
| Hangul | 대한민국 |
|---|---|
| Lit. | Republic of Korea |
| RR | Daehanminguk |
| MR | Taehanmin'guk |
| Infobox Korean name/auto/doc | |
| Hangul | ^대한민국 |
|---|---|
{{Infobox Korean name/auto
| hangul = ^대한민국 <!-- Put a ^ before any letters you wish to capitalize in romanization. Only do this for proper nouns that aren't people names; do not capitalize generic words like "yangban" -->
| lk = Republic of Korea
}}
| Infobox Korean name/auto/doc | |
| Hangul | 남궁유와 백범 |
|---|---|
| RR | Namgung Yuwa Baekbeom |
| MR | Namgung Yuwa Paekpŏm |
| Infobox Korean name/auto/doc | |
| Hangul | %남궁_유%와 %_백범 |
|---|---|
{{Infobox Korean name/auto
| hangul = %남궁_유%와 %_백범 <!--This string contains two people names. The first name, 남궁유, has a two character surname, so we put an underscore (_) after the surname. There's a second % to indicate the end of the name. The second name, 백범, is a mononym and needs a %_ instead of a plain %. Also, it does not need an ending % as it's at the end of the string.-->
}}
Usage
[simbanai toud]A detailed list of parameters can be found on the bottom of the page.
All parameters are optional, but we recommend you add at least one of the Hangul parameters.
Main parameters
[simbanai toud]|hangul=- Optional, but recommended and required if you wish for romanization to be generated. Hangul text, possibly with symbols to modify automatic romanization. Symbols won't appear when the Hangul is displayed. Do not wrap the text in a template like {{lang}}; this template already wraps it for you. For modern people, generally reserve this parameter for legal names; do not put a pseudonym (such as a stage name) here for them (unless their real name is not known).
|hangulref=- Optional. Reference or footnote for Hangul.
|hanja=- Optional. Hanja text. Do not wrap the text in a template like {{lang}}.
|hanjaref=- Optional. Reference or footnote for Hanja.
|lk=- Optional. English translation of term. Avoid using for people names.
|lkref=- Optional. Reference for translation.
|ipa=- Optional. IPA pronunciation for Korean term. Wrap it using {{IPA}} like
{{IPA|ko|this|}}; the final|disables the label. |iparef=- Optional. Ref for Korean IPA.
|namemode=- Optional, default
no. Set it toyesto romanizehangulas if it's a person's name. Equivalent to adding%to the beginning ofhangul.
This parameter is mostly appropriate for whenhangulonly contains a typical person's name (1 surname character). If the name is atypical orhangulcontains other text besides a name, consider not using this parameter and instead inserting symbols manually intohangul. |capitalize=- Optional, default
no. Set it toyesto capitalize romanizations ofhangul. Equivalent to adding^to beginning ofhangul. |hiderom=- Optional, default
no. Set it toyesto hide semi-automatic Revised Romanization and McCune–Reischauer based on Hangul. There is generally no need to hide romanizations in this infobox. This setting affects all name parameters. The romanization can/may need to be altered using symbols that you should place in the Hangul. |title=- Optional, default
{{PAGENAME}}. Title of the infobox, displayed at top. |image=- Optional. The filename of the image (for File:Koreageostub.svg, set "
image=Koreageostub.svg".) |image_size=- Optional, default
frameless. The width of theimageinpx(e.g.220px). Do not use unless necessary. |caption=- Optional. A caption for the
image; appears beneath theimage. |headercolor=- Optional, default
#CCCCFF. A background color fortitle. Do not use unless necessary, e.g. to match an infobox in which this is embedded as amodule. |text=- Optional. Extra information to put in the bottom of the infobox.
Additional parameters
[simbanai toud]Most of the above parameters have copies that can be used to display multiple different names for the topic.
The following suffixes can be added to most of the above parameters. For example, |hangulho= or |hanjaref1=.
ho- Art name.
born- Birth name. For modern people, this is for the legal name at birth (when different from the current legal name).
ja- Courtesy name.
stage- Stage name.
ph- Posthumous name.
1,2,3- Other names that do not fall under other headings. For example,
|hangul1=.
To set headers for each of these names, use |othername1=, |othername2=, or |othername3=.
Context parameter
[simbanai toud]See here for an explanation of why we chose to completely disable |context= in this infobox and in {{Korean/auto}}.
Detailed examples
[simbanai toud]{{Infobox Korean name/auto
| title = Title
| image = image.jpg
| image_size = 100
| caption = Image caption
| hangul = 라면
| hangulref = <ref>hangulref</ref>
| hanja = 拉麵
| hanjaref = {{efn|hanjaref; explanatory footnote about hanja}}
| ipa = ɾa̠mjʌ̹n
| iparef = <ref>iparef</ref>
| lk = Instant noodles
| lkref = <ref>lkref</ref>
| hangulho = 호
| hanjaho = 號
}}
|
| ||||||||||||||||||||||||||||||||||||
Notes
[simbanai toud]- ↑ hanjaref; explanatory footnote about hanja
References
[simbanai toud]{{Infobox Korean name/auto
| title = Example 2
| hangul = %홍길동
| hanja = 洪吉童
| othername1 = Alter ego
| hangul1 = %이순신
| hanja1 = 李舜臣
}}
|
| ||||||||||||||||||||||||||||
TemplateData
[simbanai toud]TemplateData for Infobox Korean name/auto
This template is used to display an infobox of Korean name(s).
| Parameter | Keterangan | Jenis | Status | |
|---|---|---|---|---|
| Hangul name | hangul | Hangul text. Possibly need to put symbols here to modify automatic romanization. | Baris | disarankan |
| Hangul reference | hangulref | Reference or footnote for Hangul. | Baris | pilihan |
| Hanja | hanja | Hanja text. | Baris | disarankan |
| Hanja reference | hanjaref | Reference or footnote for Hanja. | Baris | disarankan |
| Translation | lk | English translation of term. | Baris | disarankan |
| English translation reference | lkref | Reference or footnote for English translation. | Baris | pilihan |
| IPA for Korean term | ipa | Pronunciation of Korean term. | Baris | pilihan |
| IPA reference | iparef | Reference or footnote for IPA. | Baris | pilihan |
| Hide romanizations | hiderom | Hide Revised Romanization and McCune–Reischauer.
| Boolean | pilihan |
| Title | title | Title of the infobox, displayed at top. | Rentetan | pilihan |
| Image | image | The filename of the image (for File:Koreageostub.svg, set "Koreageostub.svg") | Nama laman | pilihan |
| Image size | image_size | The width of the image in px (i.e. 220px). Do not use unless necessary. | Angka | pilihan |
| Caption | caption | A caption for the image; appears beneath it. | Rentetan | pilihan |
| Ho Hangul | hangulho | Hangul art name. | Baris | pilihan |
| Ho Hangul reference | hangulrefho | Reference or footnote for the Hangul art name. | Baris | pilihan |
| Ho Hanja | hanjaho | Hanja for the Hangul art name. | Baris | pilihan |
| Ho Hanja reference | hanjarefho | Reference or footnote for the Hanja art name. | Baris | pilihan |
| Ho IPA | ipaho | Pronunciation of art name. | Baris | pilihan |
| Ho IPA reference | iparefho | Reference or footnote for art name IPA. | Baris | pilihan |
| Born Hangul | hangulborn | Hangul birth name. | Baris | pilihan |
| Born Hangul reference | hangulrefborn | Reference or footnote for the Hangul birth name. | Baris | pilihan |
| Born Hanja | hanjaborn | Hanja for the birth name. | Baris | pilihan |
| Born Hangul reference | hanjarefborn | Reference or footnote for the Hanja birth name. | Baris | pilihan |
| Born IPA | ipaborn | Pronunciation of birth name. | Baris | pilihan |
| Born IPA reference | iparefborn | Reference or footnote for birth name IPA. | Baris | pilihan |
| Ja Hangul | hangulja | Hangul courtesy name. | Baris | pilihan |
| Ja Hangul reference | hangulrefja | Reference or footnote for the Hangul courtesy name. | Baris | pilihan |
| Ja Hanja | hanjaja | Hanja for the courtesy name. | Baris | pilihan |
| Ja Hanja reference | hanjarefja | Reference or footnote for the Hanja courtesy name. | Baris | pilihan |
| Ja IPA | ipaja | Pronunciation of courtesy name. | Baris | pilihan |
| Ja IPA reference | iparefja | Reference or footnote for courtesy name IPA. | Baris | pilihan |
| Stage Hangul | hangulstage | Hangul stage name. | Baris | pilihan |
| Stage Hangul reference | hangulrefstage | Reference or footnote for the Hangul stage name. | Baris | pilihan |
| Stage Hanja | hanjastage | Hanja for the stage name. | Baris | pilihan |
| Stage Hanja reference | hanjarefstage | Reference or footnote for the Hanja stage name. | Baris | pilihan |
| Stage IPA | ipastage | Pronunciation of stage name. | Baris | pilihan |
| Stage IPA reference | iparefstage | Reference or footnote for stage name IPA. | Baris | pilihan |
| Ph Hangul | hangulph | Hangul posthumous name. | Baris | pilihan |
| Ph Hangul reference | hangulrefph | Reference or footnote for the Hangul posthumous name. | Baris | pilihan |
| Ph Hanja | hanjaph | Hanja for the posthumous name. | Baris | pilihan |
| Ph Hanja reference | hanjarefph | Reference or footnote for the Hanja posthumous name. | Baris | pilihan |
| Ph IPA | ipaph | Pronunciation of posthumous name. | Baris | pilihan |
| Ph IPA reference | iparefph | Reference or footnote for posthumous name IPA. | Baris | pilihan |
| Other name 1 heading | othername1 | Heading for the other name 1. | Baris | pilihan |
| 1 Hangul | hangul1 | Hangul other name 1. | Rentetan | pilihan |
| 1 Hangul reference | hangulref1 | Reference or footnote for the Hangul other name 1. | Baris | pilihan |
| 1 Hanja | hanja1 | Hanja for the other name 1. | Baris | pilihan |
| 1 Hanja reference | hanjaref1 | Reference or footnote for the Hanja other name 1. | Baris | pilihan |
| 1 translation | lk1 | English translation of other name 1. | Baris | pilihan |
| 1 translation reference | lkref1 | Reference or footnote for other name 1. | Baris | pilihan |
| 1 IPA | ipa1 | Pronunciation of other name 1. | Baris | pilihan |
| 1 IPA reference | iparef1 | Reference or footnote for other name 1 IPA. | Baris | pilihan |
| Other name 2 heading | othername2 | Heading for the other name 2. | Rentetan | pilihan |
| 2 Hangul | hangul2 | Hangul other name 2. | Baris | pilihan |
| 2 Hangul reference | hangulref2 | Reference or footnote for the Hangul other name 2. | Baris | pilihan |
| 2 Hanja | hanja2 | Hanja for the other name 2. | Baris | pilihan |
| 2 Hanja reference | hanjaref2 | Reference or footnote for the Hanja other name 2. | Baris | pilihan |
| 2 translation | lk2 | English translation of other name 2. | Baris | pilihan |
| 2 translation reference | lkref2 | Reference or footnote for other name 2. | Baris | pilihan |
| 2 IPA | ipa2 | Pronunciation of other name 2. | Baris | pilihan |
| 2 IPA reference | iparef2 | Reference or footnote for other name 2 IPA. | Baris | pilihan |
| Other name 3 heading | othername3 | Heading for other name 3. | Rentetan | pilihan |
| 3 Hangul | hangul3 | Hangul other name 3. | Baris | pilihan |
| 3 Hangul reference | hangulref3 | Reference or footnote for the Hangul other name 3. | Baris | pilihan |
| 3 Hanja | hanja3 | Hanja for the other name 3. | Baris | pilihan |
| 3 Hanja reference | hanjaref3 | Reference or footnote for the Hanja other name 3. | Baris | pilihan |
| 3 translation | lk3 | English translation of other name 3. | Baris | pilihan |
| 3 translation reference | lkref3 | Reference or footnote for other name 3. | Baris | pilihan |
| 3 IPA | ipa3 | Pronunciation of other name 3. | Baris | pilihan |
| 3 IPA reference | iparef3 | Reference or footnote for other name 3 IPA. | Baris | pilihan |
| Text | text | Text displayed at bottom of infobox. | Rentetan | pilihan |
See also
[simbanai toud]Templates currently used by Infobox Korean name/auto
[simbanai toud]- {{Infobox Chinese/Header}}
- {{Infobox Chinese/Korean}}
- {{Infobox Chinese/Footer}}
- {{Infobox Korean name/auto/categories}}
Tracking categories
[simbanai toud]- Category:Use of the tablewidth parameter in Infobox Korean name (0)
- Category:Use of the logo parameter in Infobox Korean name (0)
- Category:Use of the text parameter in Infobox Korean name (0)
- Category:Use of the fontcolor parameter in Infobox Korean name (0)
Other
[simbanai toud]