Template:Needs-review: Difference between revisions

From Rosetta Code
Content added Content deleted
(Use generic alert box)
m (Added property "Example requires attention")
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{alertbox|#ffffd8"|This example '''may be incorrect'''{{#if:{{{2|}}}|.
{{alertbox|#ffffd8|This example '''may be incorrect'''{{#if:{{{2|}}}|.
<div class="messagebox-inset" style="border: 1px solid #aaa; background: white; color: black; font-size: 89%; padding: 2px;">{{{2}}}</div><!-- messagebox-usertext is a class I made up; if it becomes real then move the hardwired styling here into a stylesheet. -->
<div class="messagebox-inset" style="border: 1px solid #aaa; background: white; color: black; font-size: 89%; padding: 2px;">{{{2}}}</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&nbsp;fix the code yourself.}}<includeonly>{{#if:{{{1|}}}|[[Category:{{{1}}} examples needing attention]]}}[[Category:Examples needing attention]]</includeonly><noinclude>
|&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&nbsp;fix the code yourself.}}<includeonly>{{#if:{{{1|}}}|[[Category:{{{1}}} examples needing attention]]{{#set:Example requires attention={{{1}}} }} }}[[Category:Examples needing attention]]</includeonly><noinclude>


Insert this message above a programming example using the text <tt><nowiki>{{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]].
Insert this message above a programming example using the text <tt><nowiki>{{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]] and sets [[Property:Example requires attention]].
</noinclude>
</noinclude><noinclude>{{template}}{{att temp}}</noinclude>
<noinclude>{{template}}[[Category:Example attention templates]]</noinclude>

Latest revision as of 21:20, 21 March 2014

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 and sets Property:Example requires attention.


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