Template talk:TemplateData header
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)
Could the first two lines be combined into one?
Currently this template produces two whole lines above the templatedata table, which is kind of a waste of vertical space and a bit distracting. Would anyone have any objections to the two being merged into one line, like this? Many thanks, User:GKFXtalk 00:03, 16 February 2018 (UTC).
Done, as no objections. User:GKFXtalk 17:08, 18 February 2018 (UTC).
Category:TemplateData documentation has been nominated for discussion

Category:TemplateData documentation, which is populated by this template, has been nominated for possible deletion, merging, or renaming. A discussion is taking place to see if it abides with the categorization guidelines. If you would like to participate in the discussion, you are invited to add your comments at the category's entry on the categories for discussion page. Thank you. Salix alba (talk): 07:31, 9 October 2018 (UTC)
Needs addition of TemplateWizard and other clarifications
The current text
- "This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template."
is poor for several reasons.
- It needs addition of TemplateWizard, because the default source editor has had TemplateData capability through it since April 2019. The 2017 wikitext editor could also do with being added (beta feature with 60,000 users).
- TemplateData documentation isn't used by those tools; the TemplateData itself is. The purpose of TemplateData could do with being stated too, as well as the fact that the template has TemplateData at all.
- "see the monthly error report" is not very helpful language for users, nor is it accurate. (DePiep happened to concur on Template talk:Template error report.) It should also probably be placed back on its new line, as it's separate from TemplateData.
It should be something like this:
- "This template has TemplateData, and this is its documentation. TemplateData is metadata about a template and its parameters. It is used and displayed by the default source editor (through TemplateWizard), VisualEditor and the 2017 wikitext editor to improve the template-adding experience.
- TemplateParametersTool: Click here to see all-time and per-month usage data for this template (including transclusions, parameter uses, invalid parameter uses and missing required/suggested parameters). The parameter data is based on the parameters listed in the TemplateData." · • SUM1 • · (talk) 03:07, 8 March 2020 (UTC)