Sjabloon:Tfm
This template is being considered for merging with [[Template:]]. Please discuss this matter at this template's entry at templates for discussion to help reach a consensus.
Maintenance use only: 1. Edit the TfD log to create the discussion entry. 2. Please consider notifying the author(s) by placing {{subst:Tfdnotice|Tfm}} ~~~~ on their talk page(s). |
Please note: The usage of this template has recently changed. |
This template should always be substituted – use {{subst:Tfm}}. |
This template is used to nominate other templates for merging.
Usage
To nominate a single template, copy and paste the following code at the top of the template:
{{subst:tfm|OtherTemplate}}
- Note: OtherTemplate should be replaced by the name of the other template to be merged, excluding the prefix
Template:
.
To nominate multiple templates for merging under the same header, type the following at the top of each individual template:
{{subst:tfm|OtherTemplate|heading=NameHeader}}
where NameHeader is the name of the header under which you will list the templates for merging.
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 |type=inline
. This will help with formatting issues that occur when the large notification is displayed. Type the following:
{{subst:tfm|OtherTemplate|type=inline}}
The notification on articles looks like this: ‹The template Tfm is being considered for merging.›
Tiny
To use even smaller notifications, for inline template nominations, set |type=tiny
. Type the following
{{subst:tfm|OtherTemplate|type=tiny}}
which will produce the following notification: ‹See Tfd›
Sidebar
To nominate templates that are used as sidebars, such as infoboxes, specify |type=sidebar
, i.e.
{{subst:tfm|OtherTemplate|type=sidebar}}
which produces:
Disabled
Finally it is possible to disable the notification completely by typing |type=disabled
. You can use this when everything else fails.
{{subst:tfm|OtherTemplate|type=disabled}}
which outputs nothing at all on article pages.
See also
The above documentation is transcluded from Sjabloon:Tfm/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |