Template:Infobox Korean name
{{#if:|
{{#switch: |n |north |dprk |nk={{#if:|<th style="background:#ccf; border-bottom:1px solid; color:" width="{{#if:|Expression error: Unrecognized punctuation character "{".">Infobox Korean name<th style="border-top:1px solid" width="
Infobox Korean name | |
---|---|
Chosŏn'gŭl: | {{{hangul}}} |
|s |south |rok |sk | #default =
Informational fields
The hangul field must always be filled out.
This template also includes numerous optional fields:
- title, displayed at the top of the table; defaults to the page name.
- hanja, the hanja for a given Korean name.
- mr, the McCune-Reischauer romanization of the name.
- rr, the Revised Romanization of the name.
- Image fields:
- logoimage, a text field optionally displayed in the upper right of the box, which typically contains an organization logo.
- text, additional free text at the bottom of the template. Use sparingly.
If you set "hanja=!", you will add the article to Category:Wikipedia articles needing hanja. In that case, the hanja field will not display.
If you define no parameters at all, but simply type {{koreanname}}, you will add the article to Category:Lacking Korean text. This will notify other editors that a Korean name is needed for the article.
Context specification
North or South Korean contexts can be specified using the "context" attribute. For a North Korean article, set "context=north".
Display
Various display attributes can also be adjusted, but that is not recommended in most cases. All of these attributes are optional.
This flexibility is intended to allow this template to fit neatly above and below other infoboxes, or to meet the special needs of certain article series.
Adjustable display attributes include:
- tablewidth, in pixels.
- color of the title bar.
- fontcolor, the color of the text within the title bar.
This template employs complicated 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. |