Jump to content

Help talk:Template

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
(Redirected from Help talk:Templates)

Inappropriate use of templates?

[edit]

Is there anywhere on Wikipedia that details inappropriate use of templates? I have the feeling that {{rut}} and {{rus}} only exist to replace simple links, but I can't find a policy that outright forbids this. If I were to send those templates to WP:TfD, would they likely survive deletion? – PeeJay 13:14, 22 July 2024 (UTC)[reply]

Yes, they will absolutely survive deletion. There is no policy which forbids templates which create links, let alone one that also finds flags and team icons. Did you even check the transclusion count? Because these are both heavily used, with one of them protected because it is used thousands of times. Of course, the talk page history shows that {{rut}} is actually merged from several "rut" templates for individual teams. I would highly advise leaving it alone unless you really, absolutely need one of the template shortcuts, in which case you might be able to get a bot to expand all the calls before getting the redirect removed. But you'd have to make a pretty significant argument why you can't use anything else. VanIsaac, GHTV contWpWS 04:40, 23 July 2024 (UTC)[reply]

The redirect H:t has been listed at redirects for discussion to determine whether its use and function meets the redirect guidelines. Readers of this page are welcome to comment on this redirect at Wikipedia:Redirects for discussion/Log/2024 September 3 § H:t until a consensus is reached. — Godsy (TALKCONT) 04:29, 3 September 2024 (UTC)[reply]

How many browsers are there in Template

[edit]

How many available browser are there in Template:Babel Depotadore (talk) 14:50, 12 October 2024 (UTC)[reply]

Since this question is about a particular template, a better place to ask would be the Template:Babel talk page.
The Help:Template page is for help using templates in general. Bryan Henderson (giraffedata) (talk) 17:10, 12 October 2024 (UTC)[reply]
Ok Depotadore (talk) 05:31, 13 October 2024 (UTC)[reply]

Search for uses of a specific parameter of a template

[edit]

Is there a way to search for uses of a specific parameter of a template? I want to find all examples of {{infobox goat breed}} that have a value in the |wool parameter, and don't specially want to search 140 articles manually. Background: this is entirely my fault – I activated that parameter some time ago without thinking carefully enough what I was doing. Only one breed of goat actually grows wool, all others grow hair. I want to see how bad the problem is, and decide on a solution (either use the |coat parameter or create a new one for |hair). Thanks, Justlettersandnumbers (talk) 19:43, 10 November 2024 (UTC)[reply]

{{Template parameter usage}} exists, but only works for templates that have TemplateData and is only updated monthly. Assuming the parameters you mean are woolcolor/woolcolour (I see no reference to just a wool parameter in the template anywhere), an insource search brings up this list of pages actively using the parameter and this list of pages at least containing it. Does that help? Aidan9382 (talk) 21:08, 10 November 2024 (UTC)[reply]
There are no such articles, because 'wool' is not a parameter of that template. But here are all the ones that have |country= as a parameter. This search is limited to results in mainspace. Mathglot (talk) 08:11, 11 November 2024 (UTC)[reply]
Thank you so much, Mathglot, Aidan9382 – that gives me what I need to fix my mistake. Is there documentation anywhere of the kind of search you did? – I'd like to read it at least, even if I'm unlikely to understand it. Thanks again, Justlettersandnumbers (talk) 20:26, 11 November 2024 (UTC)[reply]
Justlettersandnumbers, I would start with Help:Searching, and supplement with mw:Help:CirrusSearch as needed. It's not hard to understand, but I find it tedious and idiosyncratic, which means you have to read long, and carefully, and don't make assumptions based on other kinds of search you are familiar with. Mathglot (talk) 01:40, 12 November 2024 (UTC)[reply]