Wikipedia talk:WikiProject Templates
This is the talk page for discussing WikiProject Templates and anything related to its purposes and tasks. |
|
Archives: 1, 2, 3, 4, 5, 6, 7, 8Auto-archiving period: 120 days ![]() |
![]() | This project page does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | |||||||
|
Discussion at Template talk:Col-2 § Using with multi-level bulleted lists
[edit] You are invited to join the discussion at Template talk:Col-2 § Using with multi-level bulleted lists.-- Marchjuly (talk) 00:47, 7 May 2024 (UTC)
You are invited to join the discussion at MediaWiki talk:Scribunto-doc-page-header § Category:Module documentation pages. —andrybak (talk) 14:23, 14 May 2024 (UTC)
I was looking at this template and noticed that the bottom row (Events) isn't displayed. Does it also look like this for you guys or is it just me? Why might something like this happen? BaduFerreira (talk) 18:12, 18 May 2024 (UTC)
- The
list9
parameter didn't have an equals so it was behaving like a positional parameter which the template just ignored. I fixed it here. Aidan9382 (talk) 18:14, 18 May 2024 (UTC)- Oh, I see. I completely missed that. Thank you for the fix and the quick response! BaduFerreira (talk) 18:19, 18 May 2024 (UTC)
CNone and CEmpty differences
[edit]Hi, I just wanted to report the following talk because I want to help but I am a little bit confused on which I have to use :/
Template talk:Table cell templates#Cempty and Cnone Redjedi23 (talk) 16:42, 20 May 2024 (UTC)
US state during World War II manual infobox
[edit]Is there an existing infobox template that covers the usage of the manual template used in Arizona during World War II, California during World War II, Nevada during World War II, and New Mexico during World War II? Gonnym (talk) 14:51, 8 June 2024 (UTC)
- I'll keep looking, but based on how these infoboxes are being used I would say {{Infobox military operation}} isn't unreasonable, even if not really the best option. Primefac (talk) 15:21, 8 June 2024 (UTC)
- On the other hand, these infoboxes contain almost no information, so I wouldn't cry over outright removal. Primefac (talk) 15:26, 8 June 2024 (UTC)
- I mean hell, {{Infobox event}} would work. Primefac (talk) 15:28, 8 June 2024 (UTC)
- On the other hand, these infoboxes contain almost no information, so I wouldn't cry over outright removal. Primefac (talk) 15:26, 8 June 2024 (UTC)
- Someone working on manual infoboxes 😭
- Anyway, kinda agree with Primefac, I'd be inclined to nix them personally. Izno (talk) 17:15, 8 June 2024 (UTC)
- I've replaced one with {{Infobox event}} - Arizona during World War II. But yeah, using it seems a bit off as this isn't really an event. Gonnym (talk) 17:20, 8 June 2024 (UTC)
- Much of the information in the infobox is in the "free" fields, which is a hint that the infobox doesn't fit well. I would advocate for deleting the infoboxes on these articles. — hike395 (talk) 22:41, 8 June 2024 (UTC)
- I've replaced one with {{Infobox event}} - Arizona during World War II. But yeah, using it seems a bit off as this isn't really an event. Gonnym (talk) 17:20, 8 June 2024 (UTC)
Template:N/A interfering with data-sort-value
?
[edit]At the moment, Template:N/A seems to interact poorly with table cells that specify their own data-sort-value
, as the template sets data-sort-value=""
. This is a problem on List of most commonly challenged books in the United States, where the extensive use of the template means that the unlisted books sort to the top, rather than the bottom. Is the template being misused on that page, or should the user be able to define the sort value in the template? EnronEvolvedMy Talk Page 12:26, 13 June 2024 (UTC)
- Not necessarily misused, just not used ideally. {{n/a}} has a
|sort=
parameter, which I suspect could be set to something like|sort=101
to get it to sort under everything else. Primefac (talk) 22:07, 13 June 2024 (UTC)- I didn't know about that parameter. Is it documented anywhere? I couldn't find it in that template's documentation. EnronEvolvedMy Talk Page 12:24, 14 June 2024 (UTC)
- Unfortunately that entire template family uses the same documentation, and if any of the templates don't have that parameter it might mean that we give bad advice. Honestly I'm not overly thrilled with said /doc (I think it's too complex and wordy) so I might see about editing it and possibly adding some #switch statements that will trigger to show parameters for the templates that use them... Primefac (talk) 13:27, 14 June 2024 (UTC)
- Bumping, mainly for my own notes (and to keep it from being archived). Primefac (talk) 13:35, 18 August 2024 (UTC)
- Unfortunately that entire template family uses the same documentation, and if any of the templates don't have that parameter it might mean that we give bad advice. Honestly I'm not overly thrilled with said /doc (I think it's too complex and wordy) so I might see about editing it and possibly adding some #switch statements that will trigger to show parameters for the templates that use them... Primefac (talk) 13:27, 14 June 2024 (UTC)
- I didn't know about that parameter. Is it documented anywhere? I couldn't find it in that template's documentation. EnronEvolvedMy Talk Page 12:24, 14 June 2024 (UTC)
Templates that populate categories
[edit]At Wikipedia talk:Criteria for speedy deletion#C4 – unused maintenance categories there is a discussion of a potential mostly-new speedy deletion criterion that would include "maintenance categories no longer used by a template.", although it is not a formal proposal yet it looks to be headed that way. You are invited to the discussion.
As part of this discussion it has been suggested that it should be encouraged to include a link to template(s) that populate a category from that category's description (i.e. if Template:Foo adds pages to Category:Foos then the description page at Category:Foos should note that it is populated by {{Foo}}). This seems to me to be a good idea independent of the CSD. Thryduulf (talk) 14:21, 24 July 2024 (UTC)
Dynamic templates for contextualizing numbers
[edit]Browsing gwern.net (e.g. this site), I noticed some interesting annotations contextualizing numbers. For example, amounts of money are inflation-adjusted, with the original amount and year shown next to them. Years are annotated with how long ago they were.
When I'm browsing biographies on Wikipedia, I often find myself calculating the person's age whenever a dated life event or work is mentioned, to get a better idea of where it fits in their life. And yes, sometimes also out of a slightly unhealthy urge for comparison.
I started thinking about whether this sort of annotation might make sense in some cases on wikipedia, and where to begin talking about this — are templates the right place? How should I bring this up for discussion or start tinkering on an implementation to demo/suggest? Would be grateful for any pointers/thoughts! Benjaminschneider (talk) 08:47, 4 August 2024 (UTC)
- I assume you're referring to content such as
...as was the fashion at the time (c. 196559ya)...
where the "59ya" is the "contexualised" bit? Yes, we could do that, but it would require changing the WP:MOS to allow for it, because right now I'm not sure that sort of text is acceptable at the moment. Primefac (talk) 12:06, 4 August 2024 (UTC) - @Benjaminschneider I don't think that the extra clutter on the page is needed. We show birth (and death) date in the lead sentence and we have templates for infoboxes which tell the reader the subject's age today, or at death, and I think we can leave the rest to the reader's arithmetic. PamD 13:10, 4 August 2024 (UTC)
Template:W
[edit]Am I missing something or is Template:W a template that creates a regular wikilink? Gonnym (talk) 09:29, 5 August 2024 (UTC)
- No idea but perhaps its main purpose is per the doc image File:Template W for welcome.png which apparently shows bad results when {{w}} redirected to {{welcome}}. Johnuniq (talk) 10:01, 5 August 2024 (UTC)
- From what I gather from the /doc, it's a convenience template for when other projects use {{w}} and then the code is copied here directly (much like we have infoboxes written in German for their train templates to be copied directly). I would be okay with making it subst-only here like we do with those other language templates. Primefac (talk) 15:49, 5 August 2024 (UTC)
- Yeah that sounds like a good solution. I wonder if it really is being copied over here as the commons template looks completely different, but subst is still better than how it is now. Gonnym (talk) 19:24, 5 August 2024 (UTC)
- From what I gather from the /doc, it's a convenience template for when other projects use {{w}} and then the code is copied here directly (much like we have infoboxes written in German for their train templates to be copied directly). I would be okay with making it subst-only here like we do with those other language templates. Primefac (talk) 15:49, 5 August 2024 (UTC)
Category:Wikipedia utility templates is nominated for merging
[edit] You are invited to join the discussion at Wikipedia:Categories for discussion/Log/2024 August 10 § Category:Wikipedia utility templates. —andrybak (talk) 13:49, 10 August 2024 (UTC)
Linking to Help:Template from documentation of templates
[edit] You are invited to join the discussion at Template talk:Documentation § Linking to Help:Template from documentation of templates. —andrybak (talk) 01:20, 17 August 2024 (UTC)