Template:Tfd/doc

From Wikisource
Jump to: navigation, search

This template is used to nominate other templates for deletion. Templates that transclude this template will be added to Category:Deletion requests.

Contents

Usage [edit]

Single [edit]

To nominate a single template, copy and paste the following code at the top of the template:

{{tfd|{{subst:PAGENAME}}}}

This code will work as is; there is no need to replace PAGENAME with the actual page name.


Multiple [edit]

To nominate multiple templates for deletion under the same heading, type the following at the top of each individual template:

{{tfd|{{subst:PAGENAME}}|NameHeader}}

where NameHeader is the name of the header under which you will list the templates for deletion, in here.


Inline [edit]

To nominate inline templates, set the type parameter to inline. This will help with formatting issues that are occurring when the large Tdf notification is displayed.

{{tfd|{{subst:PAGENAME}}|type=inline}}
‹The template Tfd/doc is being considered for deletion.› 


Tiny [edit]

To use even smaller notifications, for inline template nominations, set the type parameter to tiny.

{{tfd|{{subst:PAGENAME}}|type=tiny}}
‹See Tfd›


Sidebar [edit]

To nominate templates that are used as sidebars, set the type parameter to sidebar, infobox or box.

{{tfd|{{subst:PAGENAME}}|type=sidebar}}


When using the sidebar type, you can set the width of the notification, by using the width parameter.

{{tfd|{{subst:PAGENAME}}|type=sidebar|width=230}}

Disabled [edit]

This option completely disables transclusion of the discussion notification. Use it when everything else fails.

{{tfd|{{subst:PAGENAME}}|type=disabled}}

Which type should be used ? [edit]

For example, suppose that a template called {{Raisins}} outputs the link "dried grapes". Here's how it might appear in an article:


Among her favorite fruits were apples, avocados, bananas, dried grapes, oranges, peaches and pears.


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


Among her favorite fruits were apples, avocados, bananas, dried grapes, oranges, peaches and pears.


Obviously, it's impossible for the reader to identify the deletion candidate.

Using

{{tfd|Raisins|Fruit templates|type=inline}}

instead generates the following result:


Among her favorite fruits were apples, avocados, bananas, ‹The template Raisins is being considered for deletion dried grapes, oranges, peaches and pears.


As can be seen, 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 the rare case, where the insertion of any template is deemed too detrimental to a large number of articles, it might be advisable to completely disable the notifications.
http://en.wikisource.org/wiki/Template:Tfd/doc
en.wikisource.org
crawl=CC-MAIN-2013-20
31702
application/http; msgtype=response
sha1:ZOORMBVWLC74HNDKVVJ6UVKNMWEVYK5M
<urn:uuid:e09f2f43-3f43-423e-82d4-c4c65821ce87>
2013-05-22T07:42:13Z
208.80.154.229
sha1:LUITK3FGAGLK7TATYXEMWK2DR7H4D5HL
<urn:uuid:425595e4-e60d-4e34-908f-724d4955087e>
http://en.wikisource.org/wiki/Template:Tfd/doc
response
<urn:uuid:dacd1d72-658d-40af-920c-ab963a45beb5>
robots: classic
hostname: ip-10-60-113-184.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2013-20
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for Spring 2013
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf