Difference between revisions of "Template:Delete"

From RimWorld Wiki
Jump to navigation Jump to search
m (Harakoni moved page Template:Modal mark for deletion to Template:Delete: Unnecessarily complicated name, keeps style consistent with other wikis and other templates. Other template should have just been updated)
m
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
+
<includeonly>{{Rwbox
{{rwbox
+
| nocat = true
|nocat=true
+
| type = delete
|type=delete
+
| image = [[File:BerserkTrance.png|40px|link=Category:Marked for deletion]]
|text=This page has been marked as a candidate for deletion'''. {{#if:{{{reason|}}}|<br/>'''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.
+
| text = '''This page has been marked as a candidate for [[:Category:Marked for deletion|deletion]]. Reason:''' {{{reason|{{Error|Please add a reason.}} }}}<br/>If you disagree with its deletion, please explain why in the [{{fullurl:{{TALKPAGENAME}}}} Discussion] page. Remember to check '''[[Special:Whatlinkshere/{{FULLPAGENAME}}|What Links Here]]''' and the '''[{{fullurl:{{FULLPAGENAME}}|action=history}} Page History]''' before deleting.
}}
+
}}{{#if: {{{no category|}}}||[[Category:Marked for deletion]]}}</includeonly><noinclude>
[[Category:Marked for deletion]]
+
{{Documentation}}
</includeonly>
 
<noinclude>
 
{{documentation}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 10:04, 1 October 2023

Documentation icon Template documentation[view] [edit] [history] [purge]

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]