From Grand Theft Wiki
Jump to: navigation, search
This documentation is imported from Template:Cleanuptemplate/doc

This is the master template for all Grand Theft Wiki:Cleanup Templates.

See {{cleanup}} as an example of this in use.

To make a new cleanup template, you need to use the following:

Basic Syntax
{{cleanuptemplate|Introduction sentence|Reason|Image Link|Picture.jpg|#Border colour}}
{{cleanuptemplate|Introduction sentence}}
{{cleanuptemplate|Introduction sentence|{{#if:{{{1|}}}|{{{1}}}}}}}
{{cleanuptemplate|This needs cleaning up|{{#if:{{{1|}}}|{{{1}}}}}|Grand Theft Wiki:Cleanup|LSD-GTA4-logo.png}}

Also needed

On each template, you also must add the following.

Change "Category:Cleanup" for the category you want this template to put on each page

<includeonly>[[Category:Cleanup]]</includeonly><noinclude>[[Category:Cleanup Templates]]{{doc}}</noinclude>


You can copy and paste this as the usual syntax required to make a cleanup template:

{{cleanuptemplate|Introduction sentence|{{#if:{{{1|}}}|{{{1}}}}}}}
<includeonly>[[Category:Cleanup]]</includeonly><noinclude>[[Category:Cleanup Templates|{{PAGENAME}}]][[Category:Templates|{{PAGENAME}}]]{{doc}}</noinclude>