Template:Out
This template is used to introduce the output of a programming example.
Usage
Write {{out}}
just above the <pre>...</pre>
block that lists a code example's output.
It also accepts these optional parameters:
Parameter | Purpose | Example | Renders as |
---|---|---|---|
{{out}}
|
| ||
1
|
Replaces the word "Output". | {{out|Return value}}
|
|
in
|
The (single-line) input which produces this output. | {{out|in=Hello world}}
|
|
comment
|
Any other text you want shown in the same line. | {{out|comment=test case 1}}}}
|
|