Template:Cmd/testcases
From stoney cloud
Template:Template testcases notice
No parameter | ||
---|---|---|
Wiki code | {{Cmd}} | |
| ||
Main version | Template:Error | |
| ||
Sandbox version |
Parameter: 1. unnamed | ||
---|---|---|
Wiki code | {{Cmd|a command}} | |
| ||
Main version | ||
| ||
Sandbox version |
Parameter: output | ||
---|---|---|
Wiki code | {{Cmd|a command|output=<pre> Some output </pre>}} | |
| ||
Main version | ||
| ||
Sandbox version |
Parameter: prompt, color | ||
---|---|---|
Wiki code | {{Cmd |a command |prompt=example ? |color=blue }} | |
| ||
Main version | ||
| ||
Sandbox version |
Parameter: unnamed (10x) | ||
---|---|---|
Wiki code | {{Cmd |1. command |... |10. command }} </pre> | |
| ||
Main version | ||
| ||
Sandbox version |
Parameter: unnamed (11x) | ||
---|---|---|
Wiki code | {{Cmd |1. command |... |11. command }} | |
| ||
Main version | Template:Error | |
| ||
Sandbox version |