Template:Needs-review: Difference between revisions

From Rosetta Code
Content added Content deleted
(categorize example attention boxes)
(apply the same inset style I created for Template:Field attention)
Line 1: Line 1:
{| class="messagebox" style="text-align: center; background-color: #ffffd8"
{| class="messagebox" style="text-align: center; background-color: #ffffd8"
| This example '''may be incorrect'''{{#if:{{{2|}}}|.
| This example '''may be incorrect'''{{#if:{{{2|}}}|. {{{2}}}| due to a recent change in the task requirements or a lack of testing.}} Please verify it and remove this message. If the example does not match the requirements or does not work, replace this message with [[Template:incorrect]] or fix the code yourself.
<div class="messagebox-inset" style="border: 1px solid #aaa; background: white; color: black; font-size: 89%; padding: 2px;">{{{3}}}</div><!-- messagebox-usertext is a class I made up; if it becomes real then move the hardwired styling here into a stylesheet. -->|&nbsp;due to a recent change in the task requirements or a lack of testing.}} Please verify it and remove this message. If the example does not match the requirements or does not work, replace this message with [[Template:incorrect]] or fix the code yourself.
|}
|}
<includeonly>{{#if:{{{1|}}}|[[Category:{{{1}}} examples needing attention]]}}[[Category:Examples needing attention]]</includeonly>
<includeonly>{{#if:{{{1|}}}|[[Category:{{{1}}} examples needing attention]]}}[[Category:Examples needing attention]]</includeonly>

Revision as of 23:41, 15 August 2009

This example may be incorrect due to a recent change in the task requirements or a lack of testing. Please verify it and remove this message. If the example does not match the requirements or does not work, replace this message with Template:incorrect or fix the code yourself.


Insert this message above a programming example using the text {{needs-review|lang}}, where lang is the programming language used. This will put the page in Category:Examples needing attention and Category:Lang examples needing attention.



This is a template. There are many others. See Category:RCTemplates for a complete list of templates.