Template talk:zh-der

Hello, you have come here looking for the meaning of the word Template talk:zh-der. In DICTIOUS you will not only get to know all the dictionary meanings for the word Template talk:zh-der, but we will also tell you about its etymology, its characteristics and you will know how to say Template talk:zh-der in singular and plural. Everything you need to know about the word Template talk:zh-der you have here. The definition of the word Template talk:zh-der will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofTemplate talk:zh-der, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

Converting to trad/simp with {{zh-l}}

@Wyang Hi, Frank. Is it possible to do the trick with {{zh-l}} as well, as with (zài), where the forms are mostly simplified? I get results like 在劫難逃#Chinese在劫難逃在劫难逃#Chinese (在劫难逃). --Anatoli T. (обсудить/вклад) 23:18, 13 January 2015 (UTC)Reply

I tried but couldn't get it to work... so I manually converted the one at . I guess it's probably an uncommon example. Wyang (talk) 07:20, 14 January 2015 (UTC)Reply

Categorization

@Wyang: hello. I'm not sure this template belongs in the Category:Foreign derivation templates, which IMO should only consist of etymology templates using two language codes: the target language and the source language. ({{zh-psm}} does belong here however, although I'd prefer to make it a cross-language template: {{psm|zh|en|xxx}}). --Barytonesis (talk) 10:56, 3 November 2017 (UTC)Reply

@Barytonesis Sure, I think those suggestions are reasonable. Actually it wasn't me who added the category: diff. Wyang (talk) 10:59, 3 November 2017 (UTC)Reply
Oh, indeed, sorry about that. --Barytonesis (talk) 11:11, 3 November 2017 (UTC)Reply

Organized by...radical? (Is the equivalent of alphabetizing needed?)

I want to add 齐膝 (see this Yabla entry for definitions, &c.) to a compounds list that uses this template, but I hesitate to just throw the term at the end of the list.

I think that the template's documentation should state:

  1. if compounds need to be manually organized when using this template or if the template does that itself in the rendered page,
  2. if manual organization is needed, the method to use in doing so (e.g., by radical, by pronunciation), and
  3. for those editors who add compounds in a language with which they only have a passing familiarity, how to find information on using that organization method accurately.

It also would be good to link to instructions on setting up a Chinese-language entry.

Sorry that I can only post this, but my real-life limitations don't always allow me to revisit an edit I want to make, so I have to do a data dump at the time. I hope this is helpful. Please feel free to follow through on adding the compound to the applicable entries.

For the curious, I ran into this term when https://lnmtl.com/chapter/release-that-witch-chapter-1051 failed to MTL it correctly. Thanks! Geekdiva (talk) 14:40, 26 March 2018 (UTC)Reply

Mark important words for learners

Single-character entries often have huge lists of compounds. I wonder if it is possible to mark the important words for learners, for example using the HSK word list, so that learners can pick them up after learning a character. --Nyarukoseijin (talk) 04:18, 14 March 2020 (UTC) @Justinrleung, Suzukaze-c --Nyarukoseijin (talk) 06:49, 15 March 2020 (UTC)Reply

@Nyarukoseijin: I like the idea. I worry about Lua usage memory though. Maybe it could be a JavaScript gadget. —Suzukaze-c 17:33, 16 March 2020 (UTC)Reply
@Suzukaze-c: HSK words are marked with {{zh-cat|Beginning}} etc., so we can fetch that information along with pinyin. Little memory overhead if getContent() is memoized.
On the other hand, we don't use homonym numbers in page titles, so 小說小说 (xiǎoyuè) may be erroneously marked as "Elementary" which really belongs to 小說小说 (xiǎoshuō). Fetching from lemma entries probably isn't a good idea. --Nyarukoseijin (talk) 02:36, 17 March 2020 (UTC)Reply

Template:zh-der#Features: colons versus semi-colons

Discussion moved from Wiktionary talk:About Chinese.

Hey friends, I was adding one-word English definitions to the zh-der of (jiǎ), and I noticed that colons and semi-colons have different effects. I used a colon in one case and a semi-colon in another case- see 甲仙 and 學甲 in the zh-der box. My questions: (1) which should I use, semi-colon or colon? (2) can some guidance be added to Template:zh-der#Features on the varying uses of semi-colon and colon? Thanks for any guidance, feel free to ping me. --Geographyinitiative (talk) 17:27, 15 February 2022 (UTC)Reply

Also, the example *: 垃圾:lājī, lèsè:rubbish.
provided on the Template:zh-der#Features doesn't work when implemented on the 垃 page- try it yourself. --Geographyinitiative (talk) 18:10, 15 February 2022 (UTC)Reply

Sorting

Discussion moved from User talk:Fish bowl#Module Errors.

There are now 35 Chinese character entries in CAT:E with time and/or memory errors that weren't there yesterday, and your edit to Module:zh/templates is the prime candidate for the cause. Is there any way to do the same thing using fewer resources? Adding to {{redlink category}} was not enough to fix the page, so it has to be a fairly substantial increase in memory usage. Chuck Entz (talk) 14:39, 27 April 2022 (UTC)Reply

@Surjection, TheknightwhoFish bowl (talk) 19:59, 27 April 2022 (UTC)Reply
Does Unicode codepoint ordering make sense for Chinese? If not, the alphabetization should just be disabled. — SURJECTION / T / C / L / 20:01, 27 April 2022 (UTC)Reply
I think disabling alphabetisation makes most sense, given it will default to the Unicode sort order won't it? It would be good to avoid the current situation where SMP and TMP characters are arbitrarily ordered before any BMP characters, as that means the top of derivation lists are more likely to get cluttered with extremely obscure terms. Theknightwho (talk) 20:21, 27 April 2022 (UTC)Reply
@Fish bowl Could you see how it is if you change line 90 back to nil and also change line 83 to false? Theknightwho (talk) 20:26, 27 April 2022 (UTC)Reply
Something must have worked- I did a handful of null edits, and the only thing left in CAT:E is Module:zh-dial-syn/check-presence/documentation, which will probably still be there when the Sun collapses into a singularity a few billion years from now... Chuck Entz (talk) 04:02, 28 April 2022 (UTC)Reply
@Theknightwho: Alphabetization just means sorting here, so with it turned off, if the words aren't sorted in the template parameters, they won't be sorted in the output of the template. Module:columns/old had a bug though. It used broken comparison of non-BMP characters in the sorting function if you omitted a language object. I fixed it so it always sorts non-BMP characters correctly. So now, with sorting turned on, with a zh language object there will be radical-stroke sortkeys and without a language object there will be code point sorting. I'm going to change the sorting argument back to true because it sounds like the latter is what you wanted. Hopefully it won't cause memory errors. — Eru·tuon 18:54, 29 April 2022 (UTC)Reply