Template:Example-needs-review: Difference between revisions

use generic alert box.
(categorize example attention boxes)
(use generic alert box.)
Line 1:
{{alertbox|#ffffd8| This example '''may be incorrect''' due to a recent change in the task requirements. Please verify it and remove this message. If the example does not match the requirements, replace this message with [[Template:incorrect]] or fix the code yourself.}}<includeonly>{{#if:{{{1|}}}|[[Category:{{{1}}} examples needing attention]]}}[[Category:Examples needing attention]]</includeonly>
{| class="messagebox" style="text-align: center; background-color: #ffffd8"
| This example '''may be incorrect''' due to a recent change in the task requirements. Please verify it and remove this message. If the example does not match the requirements, replace this message with [[Template:incorrect]] or fix the code yourself.
|}
<includeonly>{{#if:{{{1|}}}|[[Category:{{{1}}} examples needing attention]]}}[[Category:Examples needing attention]]</includeonly>
<noinclude>
Insert this message above a programming example using the text <tt><nowiki>{{example-needs-review|lang}}</nowiki></tt>, where ''lang'' is the programming language used. This will put the page in [[:Category:Examples needing attention]] and [[:Category:Lang examples needing attention]].