1, 2, 3, 4, 5, 6, 7, 8, 9, 10 11, 12, 13, 14, 15, 16, 17 |
for a new template or updates to existing templates to the bottom of this page. Please be clear about what the template is used for, roughly what it should look like, and which articles it should link to, if any.
For requests regarding stub templates, go to Wikipedia:WikiProject Stub sorting/Proposals.
A general description and guideline for userboxes can be found at Wikipedia:Userboxes. A detailed instruction to use the userbox template can be found at Template:Userbox. For requests regarding userboxes, go to Wikipedia talk:Userboxes/Ideas.
Template for currency copyright information on talk pages
I have seen a lot of people spending time requesting, discussing, sourcing, uploading, etc. images of currency and would like to request a template for currency related talk pages to make sure sure that people are aware of the copyright issues. The template would be added to the talk pages of banknote and currency pages that looks similar to the {{Image requested}} template but without the upload button. It would then take the copyright information for the country from Commons:Currency and display it on the talk page.
For example {{copyright currency|in=Australia}} would be added to Talk:Banknotes_of_the_Australian_dollar and then display the Commons message from {{COM:CUR Australia}} with a note that this is the Wikimedia Commons information.
I am not sure if there should be some note about the possibility of images that may be acceptable for Wikipedia but not for Wikimedia Commons, that would be something for someone with a better understanding of the issues involved to decide. Gusfriend (talk) 00:18, 20 February 2022 (UTC)
On all the Category:Lists of albums by release date since List of 2020 albums, there are boxes on top of each table (divided by month) to enable jumping between sections easily. We've been adding those manually to each table as a new one is made, but it seems like there should be an easier, more automated way to accomplish this task, and perhaps it would also be useful for other lists/articles around the site (e.g. Category:Lists of films by country by year). QuietHere (talk) 12:40, 28 March 2022 (UTC)
- Created a simple Template:Monthbar to handle this and applied it to List of 2020 albums as an example. Note that this leaves the currently displayed month as a link rather than converting it to text. I thought this might be acceptable given that the selected month name is still listed on the line immediately above. To display the selected month as a non-link would require adding a 'month' parameter to the template and then including that month name in each template call. --CBD 19:44, 28 April 2022 (UTC)
- If you think that extra parameter is necessary then feel free to add it, but I think it's fine as is, works just the same otherwise and saves a lot of space + implementation work. Thanks a bunch! QuietHere (talk) 23:46, 28 April 2022 (UTC)
- Actually, now that I'm looking at it again, I realise it would help if it were more dynamic. For example, List of 2022 albums currently does not have sections for October or November (no albums have been announced yet with release dates in those months) but it does have Unscheduled and TBA for albums announced for this year but without a specific date yet. If there were a way to detect section subheadings specifically and autogenerate links based on them that would be perfect, or at least some way to manually customise them for these instances. QuietHere (talk) 00:17, 29 April 2022 (UTC)
- Unfortunately, there is no way for a template to 'scan' the page it is transcluded to for specific links. What I can do is add the 'Unscheduled and TBA' option and a way to suppress specific links. I'll give that a try and then apply it to the 2022 lists. --CBD 21:06, 29 April 2022 (UTC)
- Actually, now that I'm looking at it again, I realise it would help if it were more dynamic. For example, List of 2022 albums currently does not have sections for October or November (no albums have been announced yet with release dates in those months) but it does have Unscheduled and TBA for albums announced for this year but without a specific date yet. If there were a way to detect section subheadings specifically and autogenerate links based on them that would be perfect, or at least some way to manually customise them for these instances. QuietHere (talk) 00:17, 29 April 2022 (UTC)
- If you think that extra parameter is necessary then feel free to add it, but I think it's fine as is, works just the same otherwise and saves a lot of space + implementation work. Thanks a bunch! QuietHere (talk) 23:46, 28 April 2022 (UTC)
Base 64 encoder/decoder
If {{{1}}}
= e or encode
, then do {{#INVOKE:Base64|encode|{{{2}}}}}
Else if {{{1}}}
= d or decode
, then do {{#INVOKE:Base64|decode|{{{2}}}}}
Else do {{error|Invalid option}}
Thanks, --QuickQuokka [talk • contribs] 03:28, 29 March 2022 (UTC)
function base62()
decoder exists in Module:Webarchive in case anyone wants to include it in a base-x library. -- GreenC 03:37, 29 March 2022 (UTC)- Doing... Looks fairly trivial. Only thing I'm slightly concerned about is license compatibility, but that can be easily resolved later if need be. 🐶 EpicPupper (he/him | talk) 03:40, 29 March 2022 (UTC)
- Done but the Lua module seems to be erroring. {{Base64 encode}} 🐶 EpicPupper (he/him | talk) 03:55, 29 March 2022 (UTC)
- Fixed the template. 0xDEADBEEF (T C) 06:01, 4 May 2022 (UTC)
- Done but the Lua module seems to be erroring. {{Base64 encode}} 🐶 EpicPupper (he/him | talk) 03:55, 29 March 2022 (UTC)
US-centric inline template
Hi! I'd like to request a template similar to {{Globalize-inline}} specific to American content. I often edit financial articles where statements (and not the whole article) are very focused on information that is only accurate or applicable to the US. Thanks! A. C. Santacruz ⁂ Please ping me! 16:05, 30 March 2022 (UTC)
- Your situation is exactly what
{{Globalize-inline}}
was created for. It indicates the lack of perspective outside of a narrow locale - normally the US, but sometimes also the UK, Australia, Canada, India, or other culturally dominant English speaking locale. VanIsaac, MPLL contWpWS 19:11, 30 March 2022 (UTC)- The only issue is that it doesn't specify which country, Vanisaac. A. C. Santacruz ⁂ Please ping me! 19:40, 30 March 2022 (UTC)
- @A. C. Santacruz: I mean if you think it's necessary to specifically call out exactly where the unbalanced narrative is biased towards, I would just bring it up at the template talk page as a feature request for a parameter to indicate the geography of the bias. VanIsaac, MPLL contWpWS 21:59, 30 March 2022 (UTC)
{{Globalize-inline|US}}
does this currently. --CBD 10:52, 30 April 2022 (UTC)
- @A. C. Santacruz: I mean if you think it's necessary to specifically call out exactly where the unbalanced narrative is biased towards, I would just bring it up at the template talk page as a feature request for a parameter to indicate the geography of the bias. VanIsaac, MPLL contWpWS 21:59, 30 March 2022 (UTC)
- The only issue is that it doesn't specify which country, Vanisaac. A. C. Santacruz ⁂ Please ping me! 19:40, 30 March 2022 (UTC)
Template:Infobox NFL player
Trying to recode Template:Infobox NFL player so that in cases in which the player's number and team header is not being displayed, the position information gets moved as the first line under "Career information". This is based on the request here. The tricky part here is that, recently, the infobox was hardcoded to prevent "Free agent" from appearing as the player's current team even if populated for |current_team=
(diff). Here is an example of an infobox with the number and team header being shown, followed by the position. Here is an example of an infobox without the number and team header being shown, but the position is hanging without an header. Here is an example of an infobox without the team, but with the number and position. You can view all of my attempts to recode at the sandbox history and the relevant testcases section is at Template:Infobox NFL biography/testcases#Current team parameter changes March 2022. This test seemed like my best attempt to get this to work, but did not, so it could easily be the case of my missing something in that one.
Eagles 24/7 (C) 23:49, 12 April 2022 (UTC)
Template: Infobox Art Exhibition
Requesting a template for art exhibitions -- the fields for Template:Infobox_event and Template:Infobox_recurring_event don't accurately capture the breadth of needs for art exhibition pages. Art exhibitions feel like they have a distinct need for a template, as they can be a one-off event, a touring event, a recurring event, or a recurring and touring event. Fields should include venues, dates, locations, etc. for the original and touring iterations as well as date fields to allow for recurring events. It's a tricky one in my opinion, just seeing if anyone wants to set it up! 19h00s (talk) 19:48, 29 April 2022 (UTC)
19h00s (talk) 19:48, 29 April 2022 (UTC)
Logarithm definition template
I would like to request a template that declares the definition of certain mathematical notations at the top of an article, especially the meaning of log(). On articles such as Prime number theorem, log is used to mean natural log, which could confuse readers.
There seems to be consensus at this article talk page and this MOS talk page to retain the original notation per the MOS, but this is academic formatting that many readers will not understand without reading the clarification sentence at the top of the article.
Therefore, I would like a template that makes this definition of log() more visible to readers, to be shown at the top of an article or the relevant section. If someone finds a policy against this request or finds this absolutely ludicrous, please let me know.
Toadspike (talk) 23:49, 7 May 2022 (UTC)
- Hi @Toadspike! This is definitely doable. Do you have some draft text for the hatnote? Cheers! 🐶 EpicPupper (he/him | talk) 00:07, 8 May 2022 (UTC)
- Sure, thank you for helping out. My suggestion would be something along the lines of "This article uses to represent the natural log, or ".
- An alternative is "This article contains uncommon mathematical notation: ", and then a bullet point for each notation definition. Toadspike (talk) 17:30, 9 May 2022 (UTC)