⚠️ 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.
{{{input|}}}
}}} |}}{{#if: {{{text|}}} |
This template is used to introduce the output of a programming example.
Usage
Write
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}} |
---|
1 |
Text to show instead of the word "Output". |
|
{{out |
- |
case |
The test-case/condition which produces this output. |
|
{{out |
- |
input |
The (single-line) input which produces this output. |
|
{{out |
- |
note |
A remark to show in parentheses. |
|
{{out |
- |
text |
Free-form text to follow instead of a colon. |
|
{{out |
} |
You can combine multiple parameters, except that case and input are mutually exclusive.
{{template}}