Template talk:TemplateData header

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).
 * ✅, as no objections. User:GKFXtalk 17:08, 18 February 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;


 * TemplateData for Example"

is poor for several reasons.


 * 1) 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 an optional addition (beta feature with 60,000 users).
 * 2) 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.
 * 3) Template error report should be placed back on its new line, as it's completely separate from TemplateData.
 * 4) The heading level of "TemplateData for Example" is disorienting, because it's not in line with the surrounding heading levels, and the very next heading (that of the TemplateData table) is of the same size and appearance. It should be of a level 2 heading size (though not such that it enters the table of contents).

I've added a new version to the sandbox, which you can view in the testcases page. It adds a few clarifications and enables a few optional parameters for additional information.

Please let me know what you think.

· • SUM1 • ·   (talk) 03:07, 8 March 2020 (UTC)
 * I am working on basic internal improvements, like adding . After that, other improvements can be discussed. -DePiep (talk) 15:40, 26 March 2020 (UTC)

Propose technical improvements
I propose to make technical changes. Actual behaviour shall not change. The changes are:
 * Check parameter usage, using Module:Check for unknown parameters.
 * Known parameters: 1, nolink, noheader (per current documentation)
 * Tracking category, new:
 * When in, an warning message is shown (test here)


 * Use Sandbox other. This also eliminates the /doc pages from (was 26-03-2020: ca. 10.300, expected remaining: ~8300)


 * rm extaneous space (todo, keep for now = testcase checking green ;-) ).


 * See testcases.

Comments? inviting. -DePiep (talk) 16:10, 26 March 2020 (UTC)
 * Note: using 1 (as in: ) currently does not affect the Template error report (monthly report) link. This bug is kept for now, to maintain same behaviour. Cleanup later. -DePiep (talk) 11:14, 27 March 2020 (UTC)

Template-protected edit request on 27 March 2020
Please copy all /sandbox code into the live template.
 * Changes: see above (technical only, behaviour not changed)
 * Consensus & test: no objections made; tested in /testcases.

-DePiep (talk) 11:23, 27 March 2020 (UTC)
 * ✅  P.I. Ellsworth   ed.  put'r there 16:34, 27 March 2020 (UTC)

Todo (2020-03-27)
Notes, todo after 2020-03-27
 * 1) Template error report -- redo text, links & labels. Ongoing. See talk.
 * 2) 1 template name should propagate into Template error report
 * 3) Situation subpage-with-/doc: categorise in ? Opt-in/out? Example AFC status/original.
 * Incidentally, ends up being about the ROOTPAGENAME when default, not subpage. So cat and TPU be consistent, better.

4. Option needed: "No 'error report'". When not in mainspace, the report is empty Example in case: TemplateData header ;-)


 * -DePiep (talk) 18:59, 27 March 2020 (UTC)

5. Example Template:Methamphetamine pharmacokinetics: has DEFAULTSORT|τ (tau) -> effects in this categorisation too. Better: here, sort by plain t:name. -DePiep (talk) 20:28, 27 March 2020 (UTC)

6. coordinate with crude TemplateData -DePiep (talk) 11:53, 28 March 2020 (UTC)

7. Invite User:Salix alba to help&check. -DePiep (talk) 18:35, 28 March 2020 (UTC) 8. Created:. -DePiep (talk) 18:57, 28 March 2020 (UTC)

Template-protected edit request on 2 April 2020
Please copy all /sandbox code into the live template.

Changes: this reflects a recent Move of Template:Template error report &rarr; Template:Template parameter usage (used in this template). This edit skips ~8k Redirects, & removes unclarity (old name is misleadingly saying "error"). -DePiep (talk) 10:27, 2 April 2020 (UTC) DePiep (talk) 10:27, 2 April 2020 (UTC)
 * For now, set pause to WAIT for the Move. At this moment, this request is a preparation only. -DePiep (talk) 10:29, 2 April 2020 (UTC)
 * Pre-required Move has been done ✅. Request active now. -DePiep (talk) 11:01, 2 April 2020 (UTC)
 * Oops, pause again, wait till it is settled. -DePiep (talk) 11:03, 2 April 2020 (UTC)
 * OK. -DePiep (talk) 14:56, 2 April 2020 (UTC)


 * Move completed, please perform requested edit (/sandbox into live tempalte). -DePiep (talk) 14:56, 2 April 2020 (UTC)
 * ✅ - Evad37 &#91;talk] 01:30, 4 April 2020 (UTC)