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