Template talk:Koreanname
From Wikipedia, the free encyclopedia
See Wikipedia talk:Naming conventions (Korean) regarding the use of this template. --Jiang 07:55, 18 Sep 2004 (UTC)
Contents |
[edit] North Korean version
Per the discussion referenced by Jiang above, an alternate template has been created for North Korean topics in which the order of RR and MR is reversed. It is located at Template:Koreanname north image. -- Visviva 02:01, 16 Jan 2005 (UTC)
[edit] List of Korean name table templates
moved to Wikipedia:Naming conventions (Korean)
[edit] new templates needed
could someone make a template for koreanruler (with only one name, no birthname)? some ruler articles use the generic koreanname infobox, & hanja should be restored for those with a more specialized template. i feel strongly that hanja should only be included where relevant & helpful to the general english-speaking audience, & hangul should be enough as a local name reference in the vast majority of korea-related articles. it might be a good idea to make a hangul+hanja template to use when necessary, but hanja can always be discussed in the article body in those minority of cases.
i will replace the generic with the ruler template where necessary, though it is a lot of work. since i'm a relative newbie, i'd appreciate someone here quickly making the template, but i will do it myself otherwise. Appleby 05:43, 17 November 2005 (UTC)
please see Wikipedia:Naming conventions (Korean) for a list of Korea-related templates, and use its talk pages for discussion. Appleby 18:32, 22 November 2005 (UTC)
[edit] Added explicit width to first column
By specifying a width for the first column as well, the second column is able to expand when there is a wider image, so that it's now a minimum of 135 pixels instead of exactly 135 pixels. Also, this modification allows longer captions to wrap at the width of the image. In the previous setup, the whole infobox expanded in width so the caption appeared on one line.
I'm fairly certain that this doesn't have any undesireable side effects. Feel free to revert if it causes problems and then I'll need to make some kind of modifications to Japanese General Government Building, Seoul. Canadiana 04:45, 27 August 2006 (UTC)
- That worked for Netscape 7.2, but MSIE 6.0 can't handle a cell width and an align=right in the same cell, so I changed some more things, including getting rid of the explicit width in both places and now it works in both Netscape and IE. That's it. I'm not touching in anymore. Canadiana 02:14, 28 August 2006 (UTC)
-
- Thanks for your hard work. -- Visviva 04:27, 28 August 2006 (UTC)
[edit] Context attribute
Having long been annoyed with the need to maintain two separate name tables, {{koreanname}} and {{koreanname north}}, I have added a "context" attribute to this template. If the context is set to "north" (or "n" or "nk" or "dprk"), this template will display in the manner of {{koreanname north}} . Otherwise, it will display in the usual way. That means that any implementations of Template:Koreanname north can now be replaced with {{koreanname|context=north|...}}.
This will also allow for flexible implementations in the event that Wikipedia:Naming conventions (Korean) is ever changed to provide for additional contexts. It might in fact be wise to add "context=south" to name tables for South Korean topics, in the event that we ever depart from using SK as the default context. -- Visviva 08:58, 13 October 2006 (UTC)
[edit] New image syntax
Hi all,
The image/text field specified by {{{image}}} can still be used, but should be considered deprecated in favor of a new syntax, {{{img}}} / {{{caption}}} / {{{width}}}. This will eliminate many of the idiosyncrasies in formatting that have occurred with the old syntax, while still allowing a reasonable degree of customization.
In detail:
- img specifies the image name, i.e. the ABC in [[Image:ABC]]
- caption (optional) specifies the caption and alt text.
- width (optional) specifies the image width in pixels, i.e. the DEF in DEFpx. Default is 250.
Old syntax (most common approach):
|image=[[Image:Foo.jpg|thumb|width|caption]]
New syntax:
|img=Foo.jpg
|width=width
|caption=caption
I think this is an improvement, although I'm not likely to rush out and change the hundreds of existing implementations to the new way. Comments welcome. -- Visviva 08:44, 19 October 2006 (UTC)
[edit] Autotagging
I've added some code so that now:
- If the hangul, hanja and title fields are blank, the template does not display but just adds the article to Category:Lacking Korean text.
- If the hanja field is set to "!", the template adds the article to Category:Wikipedia articles needing hanja.
- If the rr or mr fields are left blank, the template adds the article to Category:Wikipedia articles needing romanized Korean.
This should streamline things a bit, since making a request just requires leaving a field blank, and the request is removed automatically as soon as it is filled. I am puzzled by one thing, though; I feel sure that there are some templates out there with blank "rr" and "mr" fields, but there's nothing in Category:Wikipedia articles needing romanized Korean. Are we really so fortunate, or did I mis-code something? -- Visviva 05:14, 11 November 2006 (UTC)
- There's a couple there now; maybe the DB is just running a little slow today. -- Visviva 05:23, 11 November 2006 (UTC)
[edit] Name tag
I noticed how there is Template:Chinese name and Template:Japanese name, both used at the tops of articles where the last name comes first. Is there one for Korean names? Should there be one? SKS2K6 05:59, 3 December 2006 (UTC)
- Probably. But if we want to use the same title, we need to fix all of these first. -- Visviva 08:01, 3 December 2006 (UTC)
- Well, that's done. Say hi to Template:Korean name. -- Visviva 13:34, 8 December 2006 (UTC)
[edit] Italics & color
Couple of thoughts:
- On Template talk:Koreanname north, which is now superseded by this template, it was suggested that a red title bar would be more suited to the North Korean context. Does this seem reasonable? It might be nice to have a bit more of a distinction between the two contexts.
- Should the romanizations be in italics by default? Most transliterations elsewhere on Wikipedia are, and after all they are non-English words.
Responses? -- Visviva 05:17, 12 December 2006 (UTC)
- In the article text, using italics to display foreign words helps readers to identify them as such. In the box, they appear isolated and are (sort of) explicitly marked as transcriptions, so the typeface doesn't matter. If you prefer italics, go ahead. Wikipeditor 23:39, 19 December 2006 (UTC)
- I remember having used italics for English words that appear in the box like so:
- Hangul: 한글
- Hanja: none (see article)
- RR: Hangul or Han-geul
- Wikipeditor 23:45, 19 December 2006 (UTC)