Difference between revisions of "Template:CodeBox/testcases"

From Mod My Classic Wiki
Jump to: navigation, search
Gentoo>Dcljr
(use correct template)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 00:29, 5 January 2019

Template:Template testcases notice

No parameter
Wiki code {{CodeBox}}

Main version testcases}}
{{{1}}}
Sandbox version Template:CodeBox/sandbox
Parameters: 1=Some code.
Wiki code {{CodeBox|1=Some code.}}

Main version testcases}}
Some code.
Sandbox version testcases}}
Some code.
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 testcases}} CodeBox example with tile
And with some code.
Sandbox version testcases}} CodeBox example with title
Some code.
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 testcases}} CodeBox example with title
#!/bin/bash
echo "Hello, world!"
Sandbox version testcases}} CodeBox example with title
#!/bin/bash
echo "Hello, world!"