Difference between revisions of "Template:Spam"

From Trinity Desktop Project Wiki
Jump to navigation Jump to search
m (Use the actual template code for the example to prevent page from being categorized)
(Updated template to use WarningBox)
 
Line 12: Line 12:
 
</syntaxhighlight>
 
</syntaxhighlight>
   
  +
{{WarningBox
{{Box
 
 
|caption=SPAM
 
|caption=SPAM
 
|text=This page contained spam and was marked by a user for deletion. The Wiki administrator will probably delete this page soon.
 
|text=This page contained spam and was marked by a user for deletion. The Wiki administrator will probably delete this page soon.
 
|icon=Trashcan_full.png
 
|icon=Trashcan_full.png
|background=#F6FF4C
 
|highlight=#FF8C21
 
 
}}
 
}}
</noinclude><includeonly>{{Box
+
</noinclude><includeonly>{{WarningBox
 
|caption=SPAM
 
|caption=SPAM
 
|text=This page contained spam and was marked by a user for deletion. The Wiki administrator will probably delete this page soon.
 
|text=This page contained spam and was marked by a user for deletion. The Wiki administrator will probably delete this page soon.
 
|icon=Trashcan_full.png
 
|icon=Trashcan_full.png
|background=#F6FF4C
 
|highlight=#FF8C21
 
 
}}
 
}}
 
[[Category:Pages for deletion]]
 
[[Category:Pages for deletion]]

Latest revision as of 15:05, 6 January 2022

Template:Spam is a template meant to mark the contents of a page as spam.

It adds a special box to the page and adds the page itself into a special category: Category:Pages for deletion.

To use this template, use {{Spam}} on the target page. It is recommended that the contents of the page be deleted, replaced with this template.

Example

{{Spam}}
Trashcan full.png
SPAM
This page contained spam and was marked by a user for deletion. The Wiki administrator will probably delete this page soon.