This is the talk page for discussing improvements to the Template documentation page.
Put new text under old text. Click here to start a new topic. Sign your posts by typing four tildes (`~~~~`). New to Wikipedia? Welcome! Learn to edit; get help. Assume good faith Be polite and avoid personal attacks Be welcoming to newcomers Seek dispute resolution if needed
Archives: 1, 2 Auto-archiving period: 90 days

Wikipedia Help Project | (Rated NA-class, High-importance)
| This page is within the scope of the Wikipedia Help Project, a collaborative effort to improve Wikipedia's help documentation for readers and contributors. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks. To browse help related resources see the Help Menu or Help Directory. Or ask for help on your talk page and a volunteer will visit you there.Help Wikipedia:Help Project Template:Wikipedia Help Project Help articles |
NA | This page does not require a rating on the project's quality scale.
High | This page has been rated as High-importance on the project's importance scale.

## Wikipedia:TemplateData

Nowadays, TemplateData is included in all the templates and it is a good procedure filling its parameters in the documentation, so it would be good including a link to Wikipedia:TemplateData/Tutorial in the lead section. --BoldLuis (talk) 10:09, 3 May 2020 (UTC)

## documentation automatically included in all templates

{{documentation}} would be included by default in all the templates, excepting when {{noincdoc}} (or similar code) is used (I think there is no reason to exclude documentation in templates anyway).

The same for the TemplateData content, including its template detected parameters, when the documentation page is automatically created (just after template creation). --BoldLuis (talk) 11:08, 3 May 2020 (UTC)

## Notice of new template {{Param value}} for assistance in template doc pages

I had a need for a way to highlight param values on template doc pages, which could not easily be achieved by use of the <code> tag, which I had been using previously. The use case was the documentation for {{Lorem ipsum}}, which has some parameters whose values may contain leading and trailing blanks; needless to say, it's particularly hard to see those. An example is: `* "` . The new template {{param value}} was my attempted solution for this problem. You can see some examples of it in use at Template:Lorem ipsum#Prefix and suffix whitespace. Mathglot (talk) 10:32, 8 August 2021 (UTC)

## Including TemplateData

This page doesn't say where or how to put the TemplateData, even though many many templates use a standard format (seen below). I suggest this page include it in the #Manual creation section, and in the prefilled creation link provided by {{documentation}}, and putting it at the very bottom of the documentation subpage. There was also a discussion nearly 8 years ago on what a standard should be, for those curious. Adding the templatedata section can remind and encourage editors to add it for use in the VisualEditor. Agree? Disagree? Thoughts?

    == TemplateData ==
    {{TemplateData header}}

    <templatedata>
        ...
    </templatedata>

SWinxy (talk) 06:02, 23 November 2021 (UTC)

Notified: Template talk:Documentation. SWinxy (talk) 06:13, 23 November 2021 (UTC)