Template:Out: Difference between revisions

Content added Content deleted
(add two optional parameters "in" and "comment", and properly document the template)
m (typo)
Line 2: Line 2:
;{{#if: {{{1|}}} | {{{1}}} | Output}}{{#if: {{{comment|}}}{{{in|}}} | <span style="font-weight:normal> &nbsp; &mdash;&nbsp; {{#if: {{{comment|}}} | {{{comment|}}} | when given an input of <code>{{{in|}}}</code>}}</span> |}}<nowiki>:</nowiki></div></includeonly><noinclude>
;{{#if: {{{1|}}} | {{{1}}} | Output}}{{#if: {{{comment|}}}{{{in|}}} | <span style="font-weight:normal> &nbsp; &mdash;&nbsp; {{#if: {{{comment|}}} | {{{comment|}}} | when given an input of <code>{{{in|}}}</code>}}</span> |}}<nowiki>:</nowiki></div></includeonly><noinclude>


This template is used to introduce the example output of a programming example.
This template is used to introduce the output of a programming example.


===Usage===
===Usage===