This template is within the scope of WikiProject Infoboxes, a collaborative effort to improve the coverage of Infoboxes on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.InfoboxesWikipedia:WikiProject InfoboxesTemplate:WikiProject InfoboxesInfoboxes
This template is within the scope of WikiProject China, a collaborative effort to improve the coverage of China related articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.ChinaWikipedia:WikiProject ChinaTemplate:WikiProject ChinaChina-related
This template is within the scope of WikiProject Japan, a collaborative effort to improve the coverage of Japan-related articles on Wikipedia. If you would like to participate, please visit the project page, where you can join the project, participate in relevant discussions, and see lists of open tasks. Current time in Japan: 11:16, January 1, 2025 (JST, Reiwa 7) (Refresh)JapanWikipedia:WikiProject JapanTemplate:WikiProject JapanJapan-related
This template is within the scope of WikiProject Korea, a collaborative effort to build and improve articles related to Korea. All interested editors are invited to join the project and contribute to the discussion. For instructions on how use this banner, please refer to the documentation.KoreaWikipedia:WikiProject KoreaTemplate:WikiProject KoreaKorea-related
This template is within the scope of WikiProject Taiwan, a collaborative effort to improve the coverage of Taiwan on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.TaiwanWikipedia:WikiProject TaiwanTemplate:WikiProject TaiwanTaiwan
This template is part of WikiProject Vietnam, an attempt to create a comprehensive, neutral, and accurate representation of Vietnam on Wikipedia. If you would like to participate, please visit the project page.VietnamWikipedia:WikiProject VietnamTemplate:WikiProject VietnamVietnam
This template is within the scope of WikiProject Hong Kong, a project to coordinate efforts in improving all Hong Kong-related articles. If you would like to help improve this and other Hong Kong-related articles, you are invited to join this project.Hong KongWikipedia:WikiProject Hong KongTemplate:WikiProject Hong KongHong Kong
This template is within the scope of WikiProject Macau, an attempt to better organize and improve articles related to Macau.MacauWikipedia:WikiProject MacauTemplate:WikiProject MacauMacau
This template is within the scope of WikiProject East Asia, a project which is currently considered to be defunct.East AsiaWikipedia:WikiProject East AsiaTemplate:WikiProject East AsiaEast Asia
This template is within the scope of WikiProject Southeast Asia, a collaborative effort to improve the coverage of Southeast Asia-related subjects on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.Southeast AsiaWikipedia:WikiProject Southeast AsiaTemplate:WikiProject Southeast AsiaSoutheast Asia
This template is within the scope of WikiProject Martial arts. Please use these guidelines and suggestions to help improve this article. If you think something is missing, please help us improve them!Martial artsWikipedia:WikiProject Martial artsTemplate:WikiProject Martial artsMartial arts
This template falls within the scope of WikiProject Writing systems, a WikiProject interested in improving the encyclopaedic coverage and content of articles relating to writing systems on Wikipedia. If you would like to help out, you are welcome to drop by the project page and/or leave a query at the project’s talk page.Writing systemsWikipedia:WikiProject Writing systemsTemplate:WikiProject Writing systemsWriting system
This template is within the scope of WikiProject Languages, a collaborative effort to improve the coverage of languages on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.LanguagesWikipedia:WikiProject LanguagesTemplate:WikiProject Languageslanguage
Following the example for Korean where there is a field lk for a literal meaning from Korean, a field such as lj would be useful and pertinent for literal meanings for the Japanese section. Waerloeg (talk) 08:26, 23 February 2022 (UTC)[reply]
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
Add a "lang(x)_translit" field to compliment the lang(x)_content and lang(x) fields. Viewable via dropdown menu, like the languages already included in the template. Otherwise, add Kazakh and Kyrgyz fields to the template; I do not know why Tetum, a language spoken only on the island of Timor which has no significant Chinese community, is included in this infobox's fields, but not Kazakh or Kyrgyz which have their own autonomous areas in China. Yue🌙07:06, 30 April 2023 (UTC)[reply]
This template is not just for China nowadays and really should be named something like Infobox transcription but that RM failed. I agree with adding Kazakh and Kyrgyz since they are (usually at least) not written in the Latin script. I'm not quite sure what exactly a translit field would do though. Usually edit requests are only for implementing edits in the sandbox rather than suggesting features but I won't close it quite yet since a few more qualified eyes may come here if it's open. --Trialpears (talk) 12:11, 30 April 2023 (UTC)[reply]
I'm not sure where exactly it is implemented, but the value of the bpmf parameter ends up incorrectly marked up as zh-Latn instead of zh-Bopo. – MwGamera (talk) 12:03, 28 June 2023 (UTC)[reply]
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request.
ENGVAR support: all I need is for labels to say "Romanisation" instead of "Romanization" (et al.) when an |engvar=b parameter is supplied, but I couldn't quite figure out how to do it in the corresponding module code. Remsense诉08:07, 7 June 2024 (UTC)[reply]
Yeah, I tried to implement it, and then I realized that more work than just my sandboxed edit would need to be done and lost the will to do it. I don't remember why I reacted to that realization by self-rollbacking, though. At this point I no longer care and anyone who wants to make another attempt at it is welcome to. * Pppery *it has begun...01:27, 2 August 2024 (UTC)[reply]
Looks like the infobox description should be clarified to describe if photos are permitted and if so, be altered to support both use cases (only applying the invert when SVG text is given)
Thanks in advance for your help working on how to fix this! I am not sure how?
The invert doesn't appear to always work as in Hong_Kong. You forgot to make the inversion apply to pic2 in addition to pic in Special:Diff/1227937682. I imagine introducing a separate parameter to InfoboxImage to explicitly allow inverting would be a safe way to handle it. – MwGamera (talk) 20:06, 11 July 2024 (UTC)[reply]
Not all SVGs are monochrome, so inversion won't fix them. Night mode is going to be a problem with any image with a transparent background (SVG or PNG), whether in an infobox or not.
It has long been common practice for the |pic= parameter of this template to contain an image of the object or person named if it can be depicted. Personally I think an image of characters is redundant. Kanguole21:51, 11 July 2024 (UTC)[reply]
I see that this change, intended to make images of characters work with night mode, broke other images in night mode. It should be reverted, or at least enabled only if some extra flag is set. Kanguole21:58, 11 July 2024 (UTC)[reply]
I know SVGs are cached as a raster render for display on pages, but surely there must be a sensible way to have currentColor (or unset) fills and strokes in SVGs render as a light tone in dark mode. Remsense诉23:56, 11 July 2024 (UTC)[reply]
I guess the proper fix is to add a |picclass= parameter that can be set to skin-invert for black-on-transparent images of characters. Until this is fixed, a workaround is to use |pic2= for ordinary images and |pic= for the character images. Kanguole14:45, 20 July 2024 (UTC)[reply]
10% have a png (I'd guess these are mostly transparent).
And I'd guess the remainder of the 2k uses of |pic= have no image.
Probably what should be done is not actually a picclass but instead the suggested workaround, or even to embed that workaround in the template-proper as |character_image= and |other_image= or some such. Izno (talk) 22:34, 1 August 2024 (UTC)[reply]
| header20 = {{#if:{{{wuu|}}}{{{lmz|}}}{{{suz<includeonly>|</includeonly>}}}|{{#ifeq:{{{hide|}}}| no ||[[Wu Chinese|Wu]]}}}}
Because of that poor choice made so long ago, when I converted the mess of wikitext templates that supported {{Infobox Chinese}} to Module:Infobox multi-lingual name I left a comment in the Lua code:
localshow='no'~=args.hideornil;-- make boolean-ish for controlling display of headers; |hide=no means show transcriptions without collapsed header
If we are to believe these search results there are about 1000 articles that have |hide=no so, were we to change to support both |hide=no and |hide-header=yes (or some such), I imagine that an ambitious editor(s) could make the necessary replacements in a reasonably short period of time after which |hide=no goes away forever.
But, because life is never simple, there are several subtemplates of {{Infobox Chinese}} that also support |hide=. To be consistent with {{Infobox Chinese}}, those, and the articles that call them, would also need to be updated.
In many iterations of {{Infobox Chinese}}, people are including an image of the Chinese characters for the word, as well as the word itself in the infobox. I feel like this is redundant and takes up space; you're seeing the same word printed twice. Should this practice be discouraged? seefooddiet (talk) 07:03, 28 November 2024 (UTC)[reply]
Example: Chopsticks. I know the image has a caption and a footnote; that info could possibly be moved to appear in a footnote after the text in the alternate Chinese name parameter or just be explained in the article body somewhere. seefooddiet (talk) 07:04, 28 November 2024 (UTC)[reply]
According to User:White whirlwind, from WT:ZH#Provincial infoboxes: The SVGs had dual rationales: One, I thought them aesthetically pleasing; two, they fix the problem of the huge discrepancies in how Chinese fonts are displayed across different browsers, operating systems, and devices. In all likelihood, they are best used only on articles whose titles are Chinese names or words. Kanguole is correct that he objected to them (here, I think) back when I first added them, but nobody joined him.
I still feel as if we should probably not have them in most of the places we do, but I don't want to rock the boat in case there's aspects I'm not considering. Remsense ‥ 论07:30, 28 November 2024 (UTC)[reply]
Thanks for looking into this. No opinion on aesthetically pleasing; purely interested in practical value to readers. I could see some merits to the points about discrepancies in device displaying, but I'm still not thoroughly convinced.
To your suggestion about not having them, I think we should spell out when to use these images in one or more highly visible places (template docs, maybe in the visual editor when populating the template). Otherwise I can envision well-meaning users trying to put these images in in basically every article by default out of desire for consistency. seefooddiet (talk) 07:40, 28 November 2024 (UTC)[reply]
I suspect that this practice arose from a common technical issue that existed in the early 2000s; displaying Chinese characters on English-language OSes at the time required manual installation of a Chinese font.
I wouldn't go quite that far. Most people are browsing on their phones etc. I can easily see that if one cannot read the characters, they also cannot identify them at body-text size. If we care about the visual forms of the names in certain articles (which, to a degree we do, even though Wikipedia is not a dictionary) this makes a certain amount of sense even if the ordinary text renders just fine. Remsense ‥ 论07:32, 28 November 2024 (UTC)[reply]
I think there's possibly value to prominently displaying the characters. However, I'd prefer alternatives where we don't display the characters twice. Maybe we could adjust the infobox body text larger? Readability for Chinese characters especially suffers from small font size. seefooddiet (talk) 07:44, 28 November 2024 (UTC)[reply]
I think there's value in the "traditional" regular script presentation, since many of the articles where we'd want to do this existed before the late 20th century, and as such it would feel a little silly seeing 荀子 emblazoned at the top of a page in 48pt Gothic. Remsense ‥ 论07:56, 28 November 2024 (UTC)[reply]
Enclosing Chinese characters inside {{serif}} produces the more old-school 宋體 style, which is very slightly less legible at small type sizes. I don't think we should employ this in infoboxes on grounds of anachronism, because more anachronisms lie just beyond. Folly Mox (talk) 10:29, 6 December 2024 (UTC)[reply]
This was part of the "aesthetic" motivation I mentioned. There aren't many other places to, for example, include a seal script image and have it still look encyclopedic and orderly. White Whirlwind 15:59, 28 November 2024 (UTC)[reply]
Seal script I see potential value for, although I could see arguments that they better fit in the body instead. For cases where the image is close in appearance to standard Wikipedia fonts I'd be skeptical. seefooddiet (talk) 16:40, 28 November 2024 (UTC)[reply]
Characters might be fine, what isn't fine is an image of a character. That can't be read by screen readers or copied by selecting them. If a specific font and size is wanted, just wrap the text in a span and use define them. Gonnym (talk) 07:38, 28 November 2024 (UTC)[reply]
I wish Wikipedia actually displayed SVGs as SVGs, because this wouldn't be a problem. There's a way we can do that, but it's some sort of hack and people would start screaming. Remsense ‥ 论07:57, 28 November 2024 (UTC)[reply]
Conversation hit a lull. My interpretation of things so far is that there's no strong consensus on what to do with the infobox images. They probably shouldn't be universal; some scenarios they're probably unhelpful and add to bloat. Showing calligraphy or seal script in the infobox may be useful, although it's not straightforward. Is this a fair assessment of our discussion? seefooddiet (talk) 05:53, 1 December 2024 (UTC)[reply]
Having just turned up after somehow missing all posts to Wikipedia talk:WikiProject China for like a month? Even though I have it watchlisted? I think that images of calligraphy and pre-楷書 scripts have value in infoboxes given the subject is an appropriate fit.Chopsticks is a fine example of where these are not necessary.I think body text is generally a worse placement for any early script or calligraphic script images we may want to retain, with some exceptions, like articles about particular script forms or styles. Keeping the most relevant Chinese characters consolidated within the infobox makes more sense than scattering superficially related glyph images in arbitrary body subheadings.Chinese text display has indeed progressed a great deal in the past twelve or fourteen years: no need to teach your device how to decode both Big5 and GBwhateveritwas; Unicode is ubiquitous and everything supports it.As a mobile-only editor / reader, I can confirm that modern screens (anything since maybe 2012?) display Chinese characters legibly at standard type sizes, including "small". Confirming also that mobile users understand how to pinch zoom for display elements requiring magnification.I think it would be appropriate to do a broad sweep of articles transcluding this infobox template, with the goal of removing images where they add no value over standard unicode character display, but I don't think sunsetting support for the image parameter is called for.(Unless it's actually less work to add a new "alternate script image" parameter for articles where early or calligraphic scripts are appropriate, migrate those manually, and deprecate the current parameter name. It would be helpful here to have some data on the scope.) Folly Mox (talk) 10:52, 6 December 2024 (UTC)dumb idea struck 11:39, 6 December 2024 (UTC)[reply]
A search for hastemplate:"Infobox Chinese" insource:pic returns 2461 articles; a search for hastemplate:"Infobox Chinese" insource:piccap (to avoid matching pic in other templates / prose) returns 1950 articles.Special characters like = and | are treated as "greyspace" characters, and the standard search will not differentiate them from each other or from whitespace, which makes searching for particular parameters difficult. More precise results could be obtained by composing the hastemplate filter with an applicable regex, but it might time out due to regex processing overhead.No idea how many of these cases are images of characters set in forms not duplicative of unicode supported glyphs. Folly Mox (talk) 11:13, 6 December 2024 (UTC)[reply]
Foiled again by Minerva not autoexpanding existing subheadings! Ok, the scope seems less than my naive search predicted; advancing out to later results does in fact show many articles with empty |pic= params, and also plenty where |pic= holds an image that isn't even Chinese characters (so deprecating the parameter would be a bad idea; struck). Folly Mox (talk) 11:39, 6 December 2024 (UTC)[reply]
This template must be followed by a complete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately.
Edit requests to template-protected pages should only be used for edits that are either uncontroversial or supported by consensus. If the proposed edit might be controversial, discuss it on the protected page's talk page before using this template. Consider making changes first to the template's sandbox and test them thoroughly here before submitting an edit request. To request that a page be protected or unprotected, make a protection request. When the request has been completed or denied, please add the |answered=yes parameter to deactivate the template.
Description of suggested change:
Take out "lmz" Shanghainese long-short romanization, which seems to only be used on WP + associated article was deleted six years ago. (Alternatively, we could put in another tag for a generalized "Shanghainese romanization" tag, perhaps we should change the code as lmz is used for a completely different language by ISO.) Replace with "wgn" Wugniu, the most commonly used romanization for Wu (meant to be used across varieties) and the one used on Wiktionary. MSG17 (talk) 20:23, 29 December 2024 (UTC)[reply]
Also added a param for Wu IPA, which may not be as helpful, but I've heard that in the absence of a standard romanization IPA is pretty common. MSG17 (talk) 20:27, 29 December 2024 (UTC)[reply]
Wugniu is meant to be used by many varieties of Wu. You can see here for various lects that Wugniu can be used to represent. wikt:User:ND381/Wugniu contains an incomplete chart comparing the marking of tones and orthographic differences of Wugniu across each Wu language (though I think Wiktionary mainly focuses on Taihu/Northern Wu). MSG17 (talk) 16:19, 30 December 2024 (UTC)[reply]
Well, I would think it might be possible to just add a label with the variety and maybe use newline/unbulleted lists for multiple ones. MSG17 (talk) 20:38, 30 December 2024 (UTC)[reply]