Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a24ed44f2a9a2407

Jump to content

Template talk:Auto short description

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 5 years ago by GhostInTheMachine in topic Sub-cat?

Sub-cat?

[edit]

When an infobox is a wrapper for another infobox, and the inner one sets the short description, then the inner template should be listed in Category:Templates that generate short descriptions. Sadly, all of the wrapper templates get listed instead. In the case of the element templates (Category:Infobox element per element (0)), this adds more than all of the other "real" templates and we see way too many templates listed there.

Could we add a parameter to {{Auto short description}} so that {{Infobox element}}/doc can use {{Auto short description|Element}} to file each of the element templates in Category:Templates that generate short descriptions (Elements) instead? — GhostInTheMachine talk to me 17:42, 30 August 2020 (UTC)Reply

Adding a hardcoded category for a specific group is not something I'd like see. A |cat= parameter can be added which will add the value in |cat= instead of the default category. --Gonnym (talk) 19:11, 30 August 2020 (UTC)Reply
To keep the category names consistent, I had intended that the new parameter string would be appended to the current category name. So yes - I suspect that {{Auto short description|category=Element}} would be clearer. This would lead to adding Category:Templates that generate short descriptions (Elements) or maybe Category:Templates that generate short descriptions - Elements. (Having |category= as the full category name instead might be the more normal way.) — GhostInTheMachine talk to me 21:37, 30 August 2020 (UTC)Reply
Both of the above could work. Let me know which one you'd like. --Gonnym (talk) 23:41, 30 August 2020 (UTC)Reply

Green tick The 125 chemical element infobox templates have now moved from Category:Templates that generate short descriptions into Category:Templates that generate short descriptions for chemical elementsGhostInTheMachine talk to me 17:50, 7 September 2020 (UTC)Reply