Template:CodeBox/testcases: Difference between revisions
From HPC Wiki
Jump to:navigation
Jump to:search
(Created page with "<noinclude>{{Template testcases notice}}</noinclude> {{Testcase|title=No parameter |<nowiki>{{CodeBox}}</nowiki> |{{XYZ}} |{{XYZ/sandbox}} }} {{Testcase |title=Parameters: 1=...") |
m (Protected "Template:CodeBox/testcases" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
(No difference)
|
Revision as of 09:53, 16 December 2016
No parameter | |
---|---|
Wiki code | {{CodeBox}}
|
Main version | Template:XYZ |
Sandbox version | Template:XYZ/sandbox |
Parameters: 1=Some code. | |
---|---|
Wiki code | {{CodeBox|1=Some code.}}
|
Main version |
|
Sandbox version |
|
Parameters: title=CodeBox example with title, 1=And with some code. | |
---|---|
Wiki code | {{CodeBox|title=CodeBox example with title|1=And with some code.}}
|
Main version |
|
Sandbox version |
|
Parameters: title=CodeBox example with title, lang=bash, 1=#!/bin/bash echo "Hello, world!" | |
---|---|
Wiki code | {{CodeBox|title=CodeBox example with title|lang=bash|1=#!/bin/bash
echo "Hello, world!"
}}
|
Main version |
|
Sandbox version |
|