Template:Errors: Difference between revisions

(Fixing example to use correct template)
(Updated to ambox)
 
Line 1: Line 1:
{| style="border: 2px solid #D55; width:100%; margin: 0.5em; padding: 2px; background-color: #FFF;" class="plainlinks"
{{ambox|type=content|text='''This article or section is broken'''<br>Please correct the syntax errors or ask a [[Grand Theft Wiki:Staff|Staff member]] for assistance.}}
|-
<includeonly>[[Category:Cleanup Needed]]</includeonly>
|[[Image:Broom.png|50px]]
|style="padding:5px;"|'''This article or section is broken - it contains syntax errors that need to be corrected'''<br /> {{#if:{{{1|}}}|{{{1|}}}|}}
|width="70px"|[[Image:Sanitary.png|50px|link=Grand Theft Wiki:Cleanup]]
|}<includeonly>[[Category:Errors]]</includeonly>
<noinclude>
<noinclude>
----
To indicate that an article or section needs to be fixed, place this template on the top of the section needing cleaning or on the top of the page.
If you don't need to explain why the article is broken, don't add a parameter. For example:
:<tt><nowiki>{{errors}}</nowiki></tt>
If you want to explain, you can do so by adding a parameter to the transclusion. For example:
:<tt><nowiki>{{errors|References are broken}}</nowiki></tt>
:gives you:
:{{errors|References are broken}}</noinclude><noinclude>
[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
[[Category:Cleanup Templates|{{PAGENAME}}]]</noinclude>
[[Category:Cleanup Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 22:12, 20 November 2012