قالب:Infobox Korean name/doc
This is a documentation subpage for قالب:Infobox Korean name It may contain usage information, categories and other content that is not part of the original قالب page. |
This قالب 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. |
{{{title}}} | |
Korean name | |
---|---|
Hangul | {{{hangul}}} |
Hanja | {{{hanja}}} |
Revised Romanization | {{{rr}}} |
McCune–Reischauer | {{{mr}}} |
Pen name | |
Hangul | {{{hangulho}}} |
Hanja | {{{hanjaho}}} |
Revised Romanization | {{{rrho}}} |
McCune–Reischauer | {{{mrho}}} |
Birth name | |
Hangul | {{{hangulborn}}} |
Hanja | {{{hanjaborn}}} |
Revised Romanization | {{{rrborn}}} |
McCune–Reischauer | {{{mrborn}}} |
Childhood name | |
Hangul | {{{hangula}}} |
Hanja | {{{hanjaa}}} |
Revised Romanization | {{{rra}}} |
McCune–Reischauer | {{{mra}}} |
Courtesy name | |
Hangul | {{{hangulja}}} |
Hanja | {{{hanjaja}}} |
Revised Romanization | {{{rrja}}} |
McCune–Reischauer | {{{mrja}}} |
Stage name | |
Hangul | {{{hangulstage}}} |
Hanja | {{{hanjastage}}} |
Revised Romanization | {{{rrstage}}} |
McCune–Reischauer | {{{mrstage}}} |
Dharma name | |
Hangul | {{{hangulgye}}} |
Hanja | {{{hanjagye}}} |
Revised Romanization | {{{rrgye}}} |
McCune–Reischauer | {{{mrgye}}} |
Posthumous name | |
Hangul | {{{hangulph}}} |
Hanja | {{{hanjaph}}} |
Revised Romanization | {{{rrph}}} |
McCune–Reischauer | {{{mrph}}} |
{{{othername1}}} | |
Hangul | {{{hangul1}}} |
Hanja | {{{hanja1}}} |
Revised Romanization | {{{rr1}}} |
McCune–Reischauer | {{{mr1}}} |
{{{othername2}}} | |
Hangul | {{{hangul2}}} |
Hanja | {{{hanja2}}} |
Revised Romanization | {{{rr2}}} |
McCune–Reischauer | {{{mr2}}} |
{{{text}}} |
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.
Usage
تعديلAll fields are optional; however, at least one of hangul
, hanja
, rr
, and mr
is required to display the infobox.
Most commonly used fields
تعديل{{Infobox Korean name | hangul = | hanja = | rr = | mr = | context = | image = | caption = }}
Full version
تعديل{{Infobox Korean name | hangul = | hanja = | rr = | mr = | context = | title = | tablewidth = | color = | fontcolor = | logo = | logowidth = | image = | image_size = | caption = | hangulho = | hanjaho = | rrho = | mrho = | hangulborn = | hanjaborn = | rrborn = | mrborn = | hangula = | hanjaa = | rra = | mra = | hangulja = | hanjaja = | rrja = | mrja = | hangulstage = | hanjastage = | rrstage = | mrstage = | hangulgye = | hanjagye = | rrgye = | mrgye = | hangulph = | hanjaph = | rrph = | mrph = | othername1 = | hangul1 = | hanja1 = | rr1 = | mr1 = | othername2 = | hangul2 = | hanja2 = | rr2 = | mr2 = | text = }}
Description of fields
تعديلField | Description | Default |
---|---|---|
hangul
|
Korean name in Hangul. Leaving this field empty will add the page to Category:Articles needing Korean script or text. |
|
hanja
|
The Hanja for a given Korean name. Leave this field empty or set to none if there is no corresponding hanja name.Set this field to ! to add the page to Category:Wikipedia articles needing hanja.
|
|
rr
|
The Revised Romanization of the name. Leaving this field empty will add the page to Category:Wikipedia articles needing romanized Korean. |
|
mr
|
The McCune–Reischauer of the name. Leaving this field empty will add the page to Category:Wikipedia articles needing romanized Korean. |
|
context
|
Context specification. Set this to "north " for North Korean articles; this will cause the box to use North Korean terms and spellings (chosŏn'gul, hancha instead of hangul, hanja).
|
|
title
|
A text field at the top of the table. | {{PAGENAME}}
|
tablewidth
|
The width of the infobox in px or em (raw numbers will be interpreted as px ). Do not use unless necessary.
|
22em
|
color
|
A background color for title . Do not use unless necessary.
|
#CCCCFF
|
fontcolor
|
A font color for title . Do not use unless necessary.
|
#000000 (black)
|
logo
|
The filename of the logo (for File:Koreageostub.svg, set "logo=Koreageostub.svg ".)
|
|
logowidth
|
The width of the logo in px . Do not use unless necessary.
|
80px
|
img
|
The filename of the image (for File:Koreageostub.svg, set "img=Koreageostub.svg ".)
|
|
imgwidth
|
The width of the img in px (i.e. 220px ). Do not use unless necessary.
|
frameless
|
caption
|
A caption for the img ; appears beneath the img .
|
|
*ho
|
Courtesy name | replace * withhangul , hanja , rr , or mr
|
*born
|
Birth name | |
*a
|
Childhood name | |
*ja
|
Courtesy name | |
*stage
|
Stage name | |
*gye
|
Dharma name | |
*ph
|
Posthumous name | |
*1
|
Other names that do not fall under the above headings. | |
*2
| ||
othername1
|
Text fields to create headings for *1 and *2. | Other name |
othername2
| ||
child
|
Set child=yes to use this template inside another infobox.
|
Examples
تعديل
|
| hangul = 조선글 | rr = Joseon(-)geul | mr = Chosŏn'gŭl | context = north | ||||||||||||||||||||
|
| hangul = 이순신 | hanja = 李舜臣 | rr = I Sunsin | mr = I Sun-sin | color = lightgrey | logo = Flag of Korea 1882.svg | logowidth = 40px | tablewidth = 200 | img = Statue of Yi Sunsin - Cropped.JPG | caption = The statue of Admiral Yi overlooking central [[Seoul]] | hangulho = 여해 | hanjaho = 汝諧 | rrho = Yeohae | mrho = Yŏhae | ||||||||||||||||||||
|
| title = Example | hangul = 이름 | hanja = none | color = #F2E0CE | othername1 = Alternate name | hanja1 = 號 | rr1 = amyeong |
TemplateData
تعديلThis template is used to display an infobox of Korean name(s).
وسيط | وصف | نوع | حالة | |
---|---|---|---|---|
Hangul name | hangul | Korean name in Hangul | سطر | اختياري |
Hanja | hanja | The Hanja for a given Korean name | سطر | اختياري |
Revised Romanization | rr | The Revised Romanization of the name | سطر | اختياري |
McCune–Reischauer | mr | The McCune–Reischauer of the name | سطر | اختياري |
Context | context | Context specification. Set this to "north" for North Korean articles; this will cause the box to use North Korean terms and spellings (chosŏn'gul, hancha instead of hangul, hanja) | نص | اختياري |
Title | title | A text field at the top of the table | نص | اختياري |
Table width | tablewidth | The width of the infobox in px or em (raw numbers will be interpreted as px). Do not use unless necessary | رقم | اختياري |
Title background | color | A background color for title. Do not use unless necessary | نص | اختياري |
Title foreground | fontcolor | A font color for title. Do not use unless necessary | نص | اختياري |
Logo | logo | The filename of the logo (for File:Koreageostub.svg, set "Koreageostub.svg") | اسم الصفحة | اختياري |
Logo width | logowidth | The width of the logo in px. Do not use unless necessary | رقم | اختياري |
Image | image | The filename of the image (for File:Koreageostub.svg, set "Koreageostub.svg") | اسم الصفحة | اختياري |
Image size | image_size | The width of the img in px (i.e. 220px). Do not use unless necessary | رقم | اختياري |
Caption | caption | A caption for the image; appears beneath it | نص | اختياري |
Hangul ho | hangulho | Hangul courtesy name | سطر | اختياري |
Hanja ho | hanjaho | The Hanja for the courtesy name | سطر | اختياري |
RR ho | rrho | The Revised Romanization of the courtesy | سطر | اختياري |
MR ho | mrho | The McCune–Reischauer of the courtesy name | سطر | اختياري |
Hangul born | hangulborn | Hangul born name | سطر | اختياري |
Hanja born | hanjaborn | The Hanja for the born name | سطر | اختياري |
RR born | rrborn | The Revised Romanization of the born name | سطر | اختياري |
MR born | mrborn | The McCune–Reischauer of the born name | سطر | اختياري |
Hangul a | hangula | Hangul childhood name | سطر | اختياري |
Hanja a | hanjaa | The Hanja for the childhood name | سطر | اختياري |
RR a | rra | The Revised Romanization of the childhood name | سطر | اختياري |
MR a | mra | The McCune–Reischauer of the childhood name | سطر | اختياري |
Hangul ja | hangulja | Hangul courtesy name | سطر | اختياري |
Hanja ja | hanjaja | The Hanja for the courtesy name | سطر | اختياري |
RR ja | rrja | The Revised Romanization of the courtesy | سطر | اختياري |
MR ja | mrja | The McCune–Reischauer of the courtesy name | سطر | اختياري |
Hangul stage | hangulstage | Hangul stage name | سطر | اختياري |
Hanja stage | hanjastage | The Hanja for the stage name | سطر | اختياري |
RR stage | rrstage | The Revised Romanization of the stage name | سطر | اختياري |
MR stage | mrstage | The McCune–Reischauer of the stage name | سطر | اختياري |
Hangul gye | hangulgye | Hangul dharma name | سطر | اختياري |
Hanja gye | hanjagye | The Hanja for the dharma name | سطر | اختياري |
RR gye | rrgye | The Revised Romanization of the dharma name | سطر | اختياري |
MR gye | mrgye | The McCune–Reischauer of the dharma name | سطر | اختياري |
Hangul ph | hangulph | Hangul posthumous name | سطر | اختياري |
Hanja ph | hanjaph | The Hanja for the posthumous name | سطر | اختياري |
RR ph | rrph | The Revised Romanization of the posthumous name | سطر | اختياري |
MR ph | mrph | The McCune–Reischauer of the posthumous name | سطر | اختياري |
Other name 1 heading | othername1 | Heading for the other name 1 | سطر | اختياري |
Hangul other name 1 | hangul1 | Hangul other name 1 | نص | اختياري |
Hanja other name 1 | hanja1 | The Hanja for the other name 1 | سطر | اختياري |
RR other name 1 | rr1 | The Revised Romanization of the other name 1 | سطر | اختياري |
MR other name 1 | mr1 | The McCune–Reischauer of the other name 1 | سطر | اختياري |
Other name 2 heading | othername2 | Heading for the other name 2 | نص | اختياري |
Hangul other name 2 | hangul2 | Hangul other name 2 | سطر | اختياري |
Hanja other name 2 | hanja2 | The Hanja for the other name 2 | سطر | اختياري |
RR other name 2 | rr2 | The Revised Romanization of the other name 2 | سطر | اختياري |
MR other name 2 | mr2 | The McCune–Reischauer of the other name 2 | سطر | اختياري |
Text | text | نص | اختياري |
Subtemplates
تعديل- {{Infobox Korean name/Hangul label}}
- {{Infobox Korean name/Hanja label}}
- {{Infobox Korean name/RR label}}
- {{Infobox Korean name/MR label}}
- {{Infobox Korean name/Hangul data}}
- {{Infobox Korean name/Hanja data}}
- {{Infobox Korean name/RR data}}
- {{Infobox Korean name/MR data}}
- {{Infobox Korean name/categories}}
Tracking categories
تعديل- Category:Use of the tablewidth parameter in Infobox Korean name
- Category:Use of the logo parameter in Infobox Korean name
- Category:Use of the text parameter in Infobox Korean name
- Category:Use of the fontcolor parameter in Infobox Korean name
See also
تعديل