Template:Output?/Beta: Difference between revisions

Took some redundancy away for succintness' sake
(Trying again...)
(Took some redundancy away for succintness' sake)
Line 1:
{{alertbox|lightgray|This example might have code thatmay printsprint the desired output (or it is unclear if it does), but the output isit's not shownincluded '''on this page''' (or a page linked to from here). {{#if:{{{2|}}}|{{{2}}}|}} Please copy and paste the output under the example and remove this message. ''<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