Template talk:Commons category multi

Annotated style
22-Feb-2007: As a new template, Template:Commonscat_show2, is not just a multi-category extension of Template:Commonscat, but is also exploring an annotated style showing examples and listing related templates. There are many templates related to categories, but information comparing or describing the various templates is not easily seen elsewhere. Showing a few examples and related templates should improve productivity. -Wikid77 17:37, 22 February 2007 (UTC)

Comments are fast
22-Feb-2007: It is certainly worth the extra code to describe a few related templates within each particular template: compared to the size of a typical PNG image, comments added to a template are probably processed over 1,000 times faster than displaying a single PNG image. Speed depends largely on file-size during transfer, just as an HTML browser can scan 5,000 lines of HTML comments per second due to the file-size of those comments. Keep the amount of comments and examples below a thousand lines, and then the comment processing would be a fraction of a second for the template, when included. -Wikid77 17:37, 22 February 2007 (UTC)

Restored showing word: category
13-May-2009: I have fixed the template to, again, show the word "(category)" because some templates look identical that link directly to WM Commons pages as "commons:Xxx" (not commons:Category:Xxx). As happens every few months (or so) on Wikimedia websites, the template had been hacked (to become "standard useless") and someone, somewhere, somehow, thought it would be an "improvement" to no longer say "category" when it is a category (duh). Well, whatever, I just fixed it, and wait for the next what-the-huh change to fix. -Wikid77 09:17, 13 May 2009

Restored functionality listed in documentation
13-May-2009: I have fixed the template to, again, allow parameters "align=left" and "width=22em". As happens every few months (or so) on Wikimedia websites, the template had been mangled to become "standard useless" in an effort to reduce font-size to 92% (or other reasons), while thereby losing support for full parameters. I have re-implemented the template, closer to the original form, while adding style="font-size:92%" to match the current reduced-font presentation format. Everybody focuses on different aspects of each template, and they're all volunteers, so few have time to say, "Hey, don't change that or you'll break it, when trying to force a standardized implementation." In general, just be prepared to redo, or rework, anything, to cope with the latest changes somewhere, by someone. Typically, the fanatical push for standardization tends to slow down, as people get thwarted by their own standards, so the results become more stable, after a while, and functionality becomes more predictable at that time. -Wikid77 09:17, 13 May 2009

Redirections here
13-May-2009: The template was originally named "Template:Commonscat_show2" (3 years ago), and that is a redirection title used by about 70 pages (as of May 2009). New name {Commons_cat_multi} should be used, whenever possible, to phase out the prior name (and reduce confusion somewhat). There's no hurry to rename, because there are 1,000 other confusions at any given time, so no improvement really matters much. -Wikid77 (talk) 09:18, 13 May 2009 (UTC)

Semi-protected edit request on 1 August 2014
Please add a note explaining that this template does not support vertical syntax, e.g:


 * Vertical syntax ...
 * ... Results in →


 * Horizontal syntax ...
 * ... Results in →

71.20.250.51 (talk) 10:00, 1 August 2014 (UTC)
 * Padlock-silver-slash2.svg Not done: is usually not required for edits to the documentation, categories, or interlanguage links of templates using a documentation subpage. Use the 'edit' link at the top of the green "Template documentation" box to edit the documentation subpage.
 * Instead, I fixed up the template to allow whitespace (such as newlines). -- Red rose64 (talk) 13:25, 1 August 2014 (UTC)
 * Ok, thanks for tweaking the code!  71.20.250.51 (talk) 18:20, 1 August 2014 (UTC)

Changes of 6 Feb 2016
Hi.

I made the following changes today:


 * 1) White space removal implemented to fix the white space bug.  had previously implemented it for link destination only.
 * 2) Sister project template is used for layout consistency with other sister project templates.
 * 3) Line break opportunity implemented.

Here is a screenshot of the testcase to let you know what bug I am talking about: https://drive.google.com/file/d/0B8tNkKG_EzjZd3NqbG8xdFRBRG8/view?pref=2&pli=1

Best regards, Codename Lisa (talk) 17:34, 6 February 2016 (UTC)

Use the pagelist template
It seems to me this template implements logic that could be delegated to the pagelist template, whose documentation actually says: This template is mostly useful from within other templates that accept a variable number of page names as arguments. For example, the page arguments –  can be passed to this template using. Any parameters not specified to the original template will be passed as empty parameters and not listed by the pagelist template. Besides simplifying the code, we would have the "and" before the last item, which I think would be an improvement. Thoughts? --Waldir talk 19:38, 5 March 2016 (UTC)
 * Hello,
 * Color me intrigued. If you have experience with that template, you can implement your proposal in the sandbox. Of course, if you are busy right now, I can try and learn on my own at my first opportunity.
 * Best regards,
 * Codename Lisa (talk) 20:23, 5 March 2016 (UTC)
 * Hi ! I don't have experience with the template, but it doesn't seem very complicated. However, I am indeed very limited in my time at the moment, so if you wouldn't mind, it would probably be better if you gave it a shot yourself (also because you're a more experienced template editor). Cheers! Waldir talk 10:31, 6 March 2016 (UTC)
 * . -- Red rose64 (talk) 20:52, 6 March 2016 (UTC)
 * Are you sure? I did get a notification due to the message above mentioning me. In any case, I did that mostly for completeness, since the speed of the first answer gave me confidence that the reply would be seen shortly. --Waldir talk 23:17, 6 March 2016 (UTC)
 * Yes, I'm sure. For a user to be notified, you need to add a user link and fresh signature in the same edit, moreover it has to be a new post, not a modification to an exiting post. It's described at WP:Echo. So will not have sent a notification to . -- Red rose64 (talk) 13:38, 7 March 2016 (UTC)
 * But will have sent a notification to both  and . -- Red rose64 (talk) 13:41, 7 March 2016 (UTC)
 * Huh, interesting, TIL :) --Waldir talk 16:11, 7 March 2016 (UTC)

Propose rename
Are there any objections to renaming this template Template:Commons categories? -- PBS (talk) 14:03, 27 April 2017 (UTC)


 * How many articles already use "Commons category multi"? Are there plans to automate a rename cleanup across all articles?  •  Sbmeirow  •  Talk  • 05:53, 28 April 2017 (UTC)
 * To question 2, No - that would be both unnecessary and against WP:NOTBROKEN. -- Red rose64 &#x1f339; (talk) 19:21, 29 April 2017 (UTC)

Italics
Template:Commons and Template:Commons category (and probably other similar templates) italicize the Wikimedia link; is there a reason this template doesn't do that? If not, it should be fixed to be consistent with the others. V2Blast (talk) 04:59, 1 July 2017 (UTC)


 * Since the template's only semi-protected, I decided to be bold and make the change myself. Hopefully there are no problems with this. V2Blast (talk) 05:09, 1 July 2017 (UTC)

Broken links
There seem to be broken links on some of the articles where this is used, such as Woodhaven and Cross Bay Boulevards buses where the link display looks like  with two colons. Replacing  with    seems to fix the problem in preview, at least on the article I mentioned, but would it work for other articles? I don't want to make that drastic a change without seeing the effects, so I ask if links still work on other articles. epicgenius (talk) 19:38, 19 July 2017 (UTC) PAGE''' ]]) 22:17, 20 July 2017 (UTC)
 * Seems to be a general change, see Village pump (technical) -- Red rose64 &#x1f339; (talk) 08:25, 20 July 2017 (UTC)
 * I fixed the underlying Module:Pagelist as well to not double up on colons. --Ahecht ([[User_talk:Ahecht|'''TALK

Redirects section
What Links Here shows these redirects:


 * Commonscat-N
 * Commoncats
 * Commonscat show2
 * Commonscats
 * Common cats
 * Commons cats
 * Commons cat show2
 * Commonscat multi
 * Commons cat multi
 * Ccatm
 * Commons category multiple
 * Commonscat-multi
 * Commons category-multi
 * Commons multiple
 * Commons multi
 * Commonscatmulti

--Timeshifter (talk) 09:16, 7 April 2023 (UTC)
 * Full-protection-shackle-no-text.svg Not done: is usually not required for edits to the documentation or categories of templates using a documentation subpage. Use the 'edit' link at the top of the green "Template documentation" box to edit the documentation subpage.  P.I. Ellsworth &thinsp;,  ed.  put'er there 12:43, 9 April 2023 (UTC)
 * . Oops. Thanks! The doc sections do not have edit buttons. I must have missed the edit button at the top of the green doc. --Timeshifter (talk) 15:10, 9 April 2023 (UTC)
 * my pleasure!  Paine  18:28, 9 April 2023 (UTC)