Commons:Deletion requests/Template:Ybyclb

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
This deletion discussion is now closed. Please do not make any edits to this archive. You can read the deletion policy or ask a question at the Village pump. If the circumstances surrounding this file have changed in a notable manner, you may re-nominate this file or ask for it to be undeleted.

Unused category. Waldir talk 17:51, 15 January 2018 (UTC)[reply]

 Question: How did it come to be unused? Was it recent? --Closeapple (talk) 19:20, 15 January 2018 (UTC)[reply]
@Waldir: @Closeapple: it comes to be unused because it's not meant to be used as an active template, it's meant to be substed into categories to populate a different template. -mattbuck (Talk) 13:56, 16 January 2018 (UTC)[reply]
Thanks for the clarification. In that case, perhaps it should provide documentation stating how it's meant to be used. --Waldir talk 14:02, 16 January 2018 (UTC)[reply]
Waldir, it already has documentation, and it's transcluded onto the template page. -mattbuck (Talk) 14:14, 16 January 2018 (UTC)[reply]
You're right — I should have made myself clearer: I had indeed read the documentation, but was unable to find categories where this template had been used. I suppose the documentation could link to one or two, as an example, as well as provide an example of a concrete set of parameters, such as {{subst:ybyc|2|0|1|4|Westminster}}, which produces: {{year by category |m=2 |c=0 |d=1 |y=4 |cat=in Westminster |sortkey=Westminster |subcat=2014 in {{{6}}} }} [[Category:History of Westminster|2014]].
If you point me to one or two such categories, I'd gladly complete the documentation myself. --Waldir talk 14:28, 16 January 2018 (UTC)[reply]
What the... where'd the {{{6}}} come from? Anyway, there are a lot of categories created by it, but I'm afraid I can't definitely point to any (it is after all substed), but I'd imagine the following:
Category:2014 in the London Borough of Barking and Dagenham
Category:2014 in the London Borough of Barnet
Category:2014 in the London Borough of Bromley
Category:2014 in the London Borough of Haringey
Category:1985 in the City of Westminster
-mattbuck (Talk) 08:06, 20 January 2018 (UTC)[reply]
I don't know where the {{{6}}} comes from. If you add {{subst:ybyc|1|9|8|5|the City of Westminster}} to a page and preview the result, it does show up. (I just tried it here to confirm, and in Category:1985 in the City of Westminster as well, just to be sure.) --Waldir talk 11:08, 31 January 2018 (UTC)[reply]

 Deleted, still unused. Taivo (talk) 16:57, 23 February 2018 (UTC)[reply]