Jump to content

Template talk:TemplateData header/Archive 1

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by DePiep (talk | contribs) at 15:36, 26 March 2020 (OneClickArchiver creating Miscategorization). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Archive 1

Miscategorization

This is miscategorizing things like {{Use American English}} into Category:TemplateData documentation. I'm not sure if that category is meant to be limited to this template itself, or template documentation that transcludes it, but it definitely shouldn't be on templates themselves.  — SMcCandlish ¢ 😼  05:17, 24 January 2018 (UTC)

Good point. We can probably use something like
{{#ifeq:{{ROOTPAGENAME}}|{{PAGENAME}}||[[Category:TemplateData documentation]]}}
To prevent categorisation of {{Use American English}} but allow categorisation of {{Use American English/doc}}. There are some templates like {{Article link}} which include the template data on the main template page, ideally we would want such templates included. Really we just want the category to apply to pages which transclude the template and not double transclusion.--Salix alba (talk): 09:26, 24 January 2018 (UTC)