Template:Pruned editnotice/doc
This is a documentation subpage for Template:Pruned editnotice. It may contain usage information, categories and other content that is not part of the original template page. |
This template employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
This template should not be substituted. |
Usage
[edit]Normally, this template is used to prevent the so-called "list sprawl" (the list version of urban sprawl) and unnecessary maintenance that would result. Generally, this is used after an WP:Articles for Deletion discussion, though it may be added after a discussion on the article's talk as well. Additionally, this template is a maintenance template for itself (see § Appearance in article space). Editnotices using it appear in Category:Pages with pruned editnotice.
{{Pruned
|afd = AfD page name: Example (2nd nomination). Do not include "Wikipedia:Articles for deletion/". (Alternatively, set afd=noafd)
|oldid = if you want to provide a link to the version before the pruning
|list = treats all answers other than "no" as a list
|date = standard Month-name YYYY format
|talksection = to specify a particular talk section to discuss pruning
}}
The following is a blank template form (with an automatic date):
{{Pruned editnotice|afd=|oldid=|list=|talksection=|date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}}}
Attention: This list was pruned following its nomination for deletion.
Before adding, please consider citing a reliable source, or the item may be removed at a later date without warning. Otherwise, please consult the talk page for more information on what belongs here or to discuss whether an addition should be made. You may also check this article's history to see what has been removed previously.(December 2024) {{Pruned editnotice}} should be an editnotice. If seen outside of editing, please add the following to this article's editnotice page: {{pruned editnotice|afd=Example (2nd nomination)|date=December 2024|oldid=|talksection=|list=}} If you are not an administrator, then instead please add {{edit protected}} followed by the above to Template talk:Editnotices/Page/Template:Pruned editnotice/doc to request the editnotice. |
Optional parameters (non-lists, oldid, or no afd)
[edit]If the pruning did not happen during a WP:Articles for deletion discussion, then set afd=noafd
and it will instead refer to the appropriate style guideline. For example, {{Pruned editnotice|oldid=385922282|date=July 1234|afd=noafd}}
makes: (note: "oldid" parameter also demonstrated)
Attention: This list was pruned to comply with Wikipedia's guidelines on stand-alone lists.
Before adding, please consider citing a reliable source, or the item may be removed at a later date without warning. Otherwise, please consult the talk page for more information on what belongs here or to discuss whether an addition should be made. You may also check the old version of doc to see what has been removed previously.(July 1234) {{Pruned editnotice}} should be an editnotice. If seen outside of editing, please add the following to this article's editnotice page: {{pruned editnotice|afd=noafd|date=July 1234|oldid=385922282|talksection=|list=}} If you are not an administrator, then instead please add {{edit protected}} followed by the above to Template talk:Editnotices/Page/Template:Pruned editnotice/doc to request the editnotice. |
Additionally, if the page is a not a list, then you can set the optional parameter list=no
to change the message; for example, {{Pruned editnotice|list=no|oldid=385922282|date=July 1234}}
makes:
Attention: This article was pruned following its nomination for deletion.
Before adding, please consider citing a reliable source, or the item may be removed at a later date without warning. Otherwise, please consult the talk page for more information on what belongs here or to discuss whether an addition should be made. You may also check the old version of doc to see what has been removed previously.(July 1234) {{Pruned editnotice}} should be an editnotice. If seen outside of editing, please add the following to this article's editnotice page: {{pruned editnotice|afd=|date=July 1234|oldid=385922282|talksection=|list=no}} If you are not an administrator, then instead please add {{edit protected}} followed by the above to Template talk:Editnotices/Page/Template:Pruned editnotice/doc to request the editnotice. |
And list=no|afd=noafd|oldid=
:
Attention: This article was pruned to comply with Wikipedia's Manual of Style.
Before adding, please consider citing a reliable source, or the item may be removed at a later date without warning. Otherwise, please consult the talk page for more information on what belongs here or to discuss whether an addition should be made. You may also check this article's history to see what has been removed previously.(July 1234) {{Pruned editnotice}} should be an editnotice. If seen outside of editing, please add the following to this article's editnotice page: {{pruned editnotice|afd=noafd|date=July 1234|oldid=|talksection=|list=no}} If you are not an administrator, then instead please add {{edit protected}} followed by the above to Template talk:Editnotices/Page/Template:Pruned editnotice/doc to request the editnotice. |
You can also set {{Pruned editnotice|Category=}}
to make an example without category.
Appearance in article space
[edit]This template is designed to look different depending on whether it is placed in the correct wikispace. If it is not then it will automatically display as the following maintenance template, re-generating its own parameters automatically:
Attention: This list was pruned following its nomination for deletion.
{{Pruned editnotice}} should be an editnotice. Administrators, please add the following to this article's editnotice page: {{pruned editnotice|afd=Example|date=July 1234|oldid=385922282|talksection=|list=}} If you are not an administrator, then instead please add {{edit protected}} followed by the above to Template talk:Editnotices/Page/Template:Pruned editnotice/doc to request the editnotice. |
Former clean-up template
[edit]This template used to be a clean-up template before it was converted to an editnotice as discussed at Wikipedia:Templates_for_discussion/Log/2010_October_18. Articles were placed at Category:All articles that have been pruned.
See also
[edit]