Template:Output?/Beta: Difference between revisions

Printed or not, the output is still needed here.
(Took some redundancy away for succintness' sake)
(Printed or not, the output is still needed here.)
 
Line 1:
{{alertbox|lightgray|This codetask mayrequires printan the desiredexamples output, butto it'sbe not includedonly generated, but also displayed '''on this page''' (or a page linked to from here). {{#if:{{{2|}}}|{{{2}}}|}} <br>Please copy and paste the output under the example and remove this message. <br>''<small>Note: Output which is very long may be shortened or placed on its own subpage of this task (e.g. [[{{PAGENAME}}/{{{1}}}/Output]]). See {{tmpl|Output?}} for more information.</small>''}}<includeonly>{{#if:{{{1|}}}|[[Category:{{{1}}} examples needing attention]]}}[[Category:Examples needing attention]]</includeonly><noinclude>
 
This template is not necessarily an indication that the programming example is incorrect. Tasks which use words like "print", "show", and "display" are usually asking for textual output. It is good practice to show the output of a program whenever there is output. Sometimes it's required by the task as easy proof that the example works (that way people don't necessarily have to set up their system to run the example to see that it's correct).
Anonymous user