Module talk:Lang-zh: Difference between revisions

Content deleted Content added
m Archiving 1 discussion(s) to Module talk:Lang-zh/Archive 5) (bot
The unnamed parameter: well, i'm never really *happy* to hear i'm dumb, but nor am i surprised
Tags: Mobile edit Mobile web edit Advanced mobile edit New topic
Line 137:
::::::::Will have this looked at ASAP. Huge apologies for letting it slip through the cracks for months. <span style="border-radius:2px;padding:3px;background:#1E816F">[[User:Remsense|<span style="color:#fff">'''Remsense'''</span>]]<span style="color:#fff">&nbsp;‥&nbsp;</span>[[User talk:Remsense|<span lang="zh" style="color:#fff">'''论'''</span>]]</span> 23:39, 16 November 2024 (UTC)
:::::::::{{done}}{{snd}}so sorry for the delay, again. <span style="border-radius:2px;padding:3px;background:#1E816F">[[User:Remsense|<span style="color:#fff">'''Remsense'''</span>]]<span style="color:#fff">&nbsp;‥&nbsp;</span>[[User talk:Remsense|<span lang="zh" style="color:#fff">'''论'''</span>]]</span> 23:37, 18 November 2024 (UTC)
 
== The unnamed parameter ==
 
Hiya! I've just only now noticed that if you pass {{tl|lang-zh}} and pals an unnamed parameter in addition to any other parameter (like {{para|p}}, fr.ex.), the unnamed parameter does not display, rather than being aliased to {{para|c}}.{{pb}}This '''is''' in the documentation, but what's the reason for this behaviour? I'm struggling to imagine any case where an editor calls {{tl|lang-zh}} with an unnamed parameter alongside any other parameter, and puts anything in the {{para|1}} spot other than the Chinese text to display (the basic purpose of the template).{{pb}}Happy to hear I'm just dumb and have overlooked an obvious use case, but if no one knows of any can we just map {{para|1}} to {{para|c}} excepting where one or more of {{mset|{{para|c}}, {{para|t}}, {{para|s}}}} is passed to the template? [[User:Folly Mox|Folly Mox]] ([[User talk:Folly Mox|talk]]) 18:08, 25 January 2025 (UTC)