Template:Incorrect: Difference between revisions

Template not emitting properties into page?
(Right, use #set)
(Template not emitting properties into page?)
Line 1:
{{alertbox|#ffc8c8"|This example is '''incorrect'''. {{#if:{{{2|}}}|{{{2}}}|It does not accomplish the given task.}} Please fix the code and remove this message.}}<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>{{incorrect|lang}}</nowiki></tt> or <tt><nowiki>{{incorrect|lang|Explanation of the problem.}}</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 apply [[Property:example requires attention]].
</noinclude>