Difference between revisions of "Template:Delete/doc"

From RimWorld Wiki
Jump to navigation Jump to search
(Undo revision 76132 by Harakoni (talk))
Tag: Undo
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Description==
+
== Description ==
You can use the Mark For Deletion template to mark a page for future deletion. This will help admins to have a high level overview of what templates, pages, and the like are to be deleted.
+
This template is used to recommend a page for deletion and categorizes it in [[:Category:Marked for deletion]].
  
==Usage==
+
== Usage ==
 
Place the following code snippet at the top of the page that you wish to mark for deletion, before any other text on the page. Be sure to add the "noinclude" tags.
 
Place the following code snippet at the top of the page that you wish to mark for deletion, before any other text on the page. Be sure to add the "noinclude" tags.
  
 
<pre>
 
<pre>
 
  <noinclude>
 
  <noinclude>
  {{Modal mark for deletion|reason = }}
+
  {{Delete|reason = INSERT GOOD REASON HERE}}
 
  </noinclude>
 
  </noinclude>
 
</pre>
 
</pre>
  
==Sample Output==
+
== Sample output ==
{{rwbox
+
{{Delete|reason = INSERT GOOD REASON HERE|no category=1}}
|nocat=true
 
|type=delete
 
|text=This page has been marked for deletion. {{#if:{{{reason|}}}|Reason: {{{reason|}}}|}}<br/>If you disagree with its deletion, please explain why in the [[{{TALKPAGENAME}}|Discussion]] page. <br/>Remember to check '''[[Special:Whatlinkshere/{{FULLPAGENAME}}|What Links Here]]''' and the '''[{{fullurl:{{FULLPAGENAME}}|action=history}} Page History]''' before deleting.
 
}}
 
  
 
<includeonly>[[Category:Notice templates]]</includeonly>
 
<includeonly>[[Category:Notice templates]]</includeonly>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 23:39, 22 October 2022

Description[edit]

This template is used to recommend a page for deletion and categorizes it in Category:Marked for deletion.

Usage[edit]

Place the following code snippet at the top of the page that you wish to mark for deletion, before any other text on the page. Be sure to add the "noinclude" tags.

 <noinclude>
   {{Delete|reason = INSERT GOOD REASON HERE}}
 </noinclude>

Sample output[edit]