⚠️ Warning: This is a draft ⚠️

This means it might contain formatting issues, incorrect code, conceptual problems, or other severe issues.

If you want to help to improve and eventually enable this page, please fork RosettaGit's repository and open a merge request on GitHub.

;{{#if: {{{1|}}} | {{{1}}} | Output}}{{#if: {{{note|}}} | <i style="font-weight:normal> ({{{note}}}) |}}{{#if: {{{case|}}}{{{input|}}} | <span style="font-weight:normal> — {{{case|for input {{{input|}}}}}} |}}{{#if: {{{text|}}} | <span style="font-weight:normal>{{{text}}} | :}}

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

Usage

Write {{out}} just above the

...

block that lists a code example's output.

It also accepts these optional parameters:

{| class="wikitable" |- ! Parameter ! Purpose ! Example ! Renders as |- | | | {{out}}

{{out}}
1
Text to show instead of the word "Output".
{{out
{{out
-
case
The test-case/condition which produces this output.
{{out
{{out
-
input
The (single-line) input which produces this output.
{{out
{{out
-
note
A remark to show in parentheses.
{{out
{{out
-
text
Free-form text to follow instead of a colon.
{{out
{{out
}

You can combine multiple parameters, except that case and input are mutually exclusive.

{{template}}