Difference between revisions of "Template:Do Not Delete"

From Nookipedia, the Animal Crossing wiki
m (Text replacement - "Not-unused" to "Do Not Delete")
m (& the recursive linking component to this is not working as intended, so I am moving where it is performed to see if that fixes the issue.)
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Notice Box
+
{{Content Notice
|primarycolor=#3bb0de
+
| message        = {{#if:{{{1|}}}|{{{1}}} and|This {{#switch:{{NAMESPACE}}
|secondarycolor=#bee5f4
+
|Category=category
|textcolor=#e9f6fb
+
|Template=template
|shadowcolor=#2084ac
+
|File=file
|leftimage=[[File:Lloid NH.png|32px|link=Category:Do Not Delete]]
+
|Module=module
|rightimage=
+
|#default=page
|header=Do not delete this {{#switch:{{NAMESPACE}}|Category=category|Template=template|File=file|#default=page}}.
+
}} {{#switch: {{NAMESPACE}}|#default = |File = is kept for archival purposes or for use in templates and|Category = is expected to be empty at times and|Module|Template = is intentionally not considered deprecated and}}}} '''should not be deleted''' even if it appears unused.
|message=Even if it appears unused, this {{#switch:{{NAMESPACE}}|Category=category|Template=template|File=file|#default=page}} '''should not be deleted''', as it is either used in the site skin, used seasonally, or kept for archival purposes. {{#if:{{{note|}}}|<small><br>''Further Details:''&nbsp;{{{note|}}}</small>}}
+
| primarycolor    = 355 36
}}<span style="display:none;">[[{{NAMESPACE}}:{{PAGENAME}}]]</span>
+
| overridetext    = 20%
 
+
}}{{#switch:{{NAMESPACE}}|Category=__EXPECTUNUSEDCATEGORY__|Template=<span style="display:none;">[[Template:{{PAGENAME}}]]</span>|File=<span style="display:none;">[[Media:{{PAGENAME}}]]</span>|Module=<span style="display:none;">[[Template:{{PAGENAME}}]]</span>|#default=&#8203;}}<includeonly>[[Category:Pages not to be deleted]]</includeonly><noinclude>{{Documentation}}[[Category:Notice templates]]</noinclude>
<includeonly>[[Category:Pages not to be deleted]]</includeonly><noinclude>{{Documentation}}[[Category:Notice Templates]]</noinclude>
 

Latest revision as of 07:57, March 28, 2024

This template is intentionally not considered deprecated and should not be deleted even if it appears unused.

Template:Do Not Delete

Template documentation (view)


Usage

{{Do Not Delete}}

This template is to be used for files (or possibly templates) that do not initially appear as used, but are. Examples of images for this template would be site images that are only used seasonally, reference images used only through URL linking, or a template that only may be used on occasion (like {{Delete}}).

All pages containing this template will be added to Category:Pages not to be deleted.

Example

{{Do Not Delete|This file is used only during the winter}}
This file is used only during the winter and should not be deleted even if it appears unused.
Template:Do Not Delete