Template:Update: Difference between revisions
Content added Content deleted
(New template to add to examples when the task has changed in a way in which they may need updating.) |
(Whoops!) |
||
Line 1: | Line 1: | ||
{{alertbox|#ffc8c8|This example needs '''updating''' due to a modification in the task. {{#if:{{{2|}}}|{{{2}}}|It may not accomplish the updated task.}} Please examine and fix the code if necessary then remove this message.}}<includeonly>{{#if:{{{1|}}}|[[Category:{{{1}}} examples needing attention]]{{#set:example requires attention={{{1}}} }} }}[[Category:Examples needing attention]]</includeonly><noinclude> |
{{alertbox|#ffc8c8|This example needs '''updating''' due to a modification in the task. {{#if:{{{2|}}}|{{{2}}}|It may not accomplish the updated task.}} Please examine and fix the code if necessary then 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>{{ |
Insert this message above a programming example using the text <tt><nowiki>{{update|lang}}</nowiki></tt> or <tt><nowiki>{{update|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> |
</noinclude> |
||
<noinclude>{{template}}{{att temp}}</noinclude> |
<noinclude>{{template}}{{att temp}}</noinclude> |
Revision as of 04:55, 13 May 2013
Insert this message above a programming example using the text {{update|lang}} or {{update|lang|Explanation of the problem.}}, 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.