User:Behtis/Template constructing/test:persian name

{{#if:{{{hangul|}}}{{{farsi|}}}{{{title|}}}| }}{{#if:{{{image|}}}{{{img|}}}  Hangul:  {{lang|ko|{{{hangul}}}}} {{#if:{{{farsi|}}}|{{#ifeq: {{{farsi}}}|!|| farsi:  {{#ifeq:{{{farsi}}}|none|{{{farsi}}}|{{lang|ko|{{{farsi}}}}}}}  }} }} {{#if:{{{rr|}}}| Revised Romanization:  {{{rr}}} |  }} {{#if:{{{mr|}}}| McCune-Reischauer: {{{mr}}} |  }}{{#if:{{{text|}}}| {{{text}}}  }} }}| }}
 * s
 * south
 * rok
 * sk
 * #default = {{#if:{{{logoimage|}}}| {{{title|{{PAGENAME}}}}} {{{logoimage}}} |   {{{title|{{PAGENAME}} }}}  }} {{#if:{{{image|}}}
 * {{{image}}}
 * {{#if:{{{img|}}}| [[Image:{{{img}}}{{!}}{{{width|200}}}px{{!}}{{{caption|{{{img}}} }}}]] {{{caption|}}}{{{image_caption|}}} }}
 * Korean name }}

Informational fields
The hangul field must always be filled out. If you define no parameters at all, but simply type, you will add the article to Category:Articles needing farsi script or text. This will notify other editors that a persian name is needed for the article.

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.
 * text, additional free text at the bottom of the template. Use sparingly.


 * Image fields:
 * img, the filename of the image (for an image called [[Image:XYZ]], specify "img=XYZ").
 * width, the display width of img, in pixels.
 * caption, displayed in small text beneath img.
 * image, a text field which generally contains an image in thumbnail format. (deprecated)
 * logoimage, a text field optionally displayed in the upper right of the box, which typically contains an organization logo.

If you set "hanja=!", you will add the article to Category:Wikipedia articles needing hanja. In that case, the hanja field will not display.

It is sometimes helpful to link the hangul or hanja to an entry or entries on Wiktionary. In these cases, the links will display without underlining, for easier readability. Template:Linktext is recommended for this purpose.

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.



de:Vorlage:Koreanischer Name fr:Modèle:Nom coréen id:Templat:Nama korea io:Template:Koreanname ja:Template:韓国の事物 pl:Szablon:Koreańskie imię infobox ru:Шаблон:Koreanname es:Plantilla:Nombre coreano zh:Template:Koreanname