Template:Needs-review: Difference between revisions

m
Added property "Example requires attention"
(Allow for a reason to be sepcified that isn't task changes)
m (Added property "Example requires attention")
 
(7 intermediate revisions by 4 users not shown)
Line 1:
{{alertbox|#ffffd8|This example '''may be incorrect'''{{#if:{{{2|}}}|.
{| class="messagebox" style="text-align: center; background-color: #ffffd8"
<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. -->
| This example '''may be incorrect'''{{#if:{{{2|}}}|. {{{2}}}|&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>
|}
 
<includeonly>{{#if:{{{1|}}}|[[Category:{{{1}}} examples needing attention]]}}[[Category:Examples needing attention]]</includeonly>
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>
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]].
</noinclude>
<noinclude>{{template}}</noinclude>