Template:Output?: Difference between revisions
Content added Content deleted
(New template for marking examples missing requested output. (based on Template:incomplete).) |
(Added property "Example requires attention" and updated template documentation) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{alertbox|#ffc8c8|This example |
{{alertbox|#ffc8c8|This example does not show the output mentioned in the task description '''on this page''' (or a page linked to from here). {{#if:{{{2|}}}|{{{2}}}|}} Please ensure that it meets all task requirements and remove this message. <br><small>Note that phrases in task descriptions such as ''"print and display"'' and ''"print and show"'' for example, indicate that (reasonable length) output be a part of a language's solution.</small>}} |
||
<includeonly> |
|||
{{#if:{{{1|}}}|[[Category:{{{1}}} examples needing attention]]{{#set:Example requires attention={{{1}}} }} }} |
|||
⚫ | |||
[[Category:Examples needing attention]] |
|||
</includeonly> |
|||
{{template}}{{att temp}}</noinclude> |
|||
⚫ | <noinclude>Insert this message above a programming example using the text <tt><nowiki>{{output?|lang|reason}}</nowiki></tt>, where ''lang'' is the programming language used and ''reason'' an optional description of the problem. This will put the page in [[:Category:Examples needing attention]] and [[:Category:Lang examples needing attention]], and sets [[Property:Example requires attention]]. |
||
{{template}} |
|||
{{att temp}} |
|||
</noinclude> |
Latest revision as of 08:54, 22 March 2014
Insert this message above a programming example using the text {{output?|lang|reason}}, where lang is the programming language used and reason an optional description of the problem. This will put the page in Category:Examples needing attention and Category:Lang examples needing attention, and sets Property:Example requires attention.