Template:Template for discussion/doc

This template is used to nominate a template for discussion.

Basic usage
Substitute this template onto the template you wish to nominate, i.e. add the following code and press save.

Nominating a group of templates
To nominate multiple templates for deletion under the same heading, use the heading parameter to specify the heading under which the discussion is taking place. Type the following at the top of each individual template: where HEADING is the name of the section heading under which you will list the templates for deletion.

Display on articles
Unless you do something unusual such as enclosing in noinclude tags, articles that use the nominated template will provide a notification and link to the discussion. By default the article will show the following just above the display of the nominated template:

There are various other options, specified by the type parameter.

Inline
To nominate inline templates, set inline. This will help with formatting issues that occur when the large notification is displayed. Type the following: The notification on articles looks like this:

Tiny
To use even smaller notifications, for inline template nominations, set tiny. Type the following which will produce the following notification:

Sidebar
To nominate templates that are used as sidebars, such as infoboxes, specify sidebar, i.e. which produces:

Disabled
Finally it is possible to disable the notification completely by typing disabled. You can use this when everything else fails.

Which type should be used?
For example, suppose that a template called Raisins outputs the link "dried grapes". Here's how it might appear in an article:

If the default type were to be inserted into the  template, the following would result:

And it is impossible for the reader to identify the template which is under discussion.

Using inline instead generates the following result:

The downside is a greater degree of interference with the article's text, so the decision of which type to use should be made on a case-by-case basis. In rare cases, where the insertion of any template is deemed too detrimental to a large number of articles, it might be advisable to disable the notifications completely.

Categorisation
Templates that transclude this template will be added to Category:Templates for deletion.