This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
Template:CodeBox/testcases
From Gentoo Wiki (test)
Jump to:navigation
Jump to:search
Note
This is the template test case page for Template:CodeBox and its sandbox version. You may have to to update the examples.
This is the template test case page for Template:CodeBox and its sandbox version. You may have to to update the examples.
No parameter | |
---|---|
Wiki code | {{CodeBox}}
|
Main version | {{{1}}} |
Sandbox version | Template:CodeBox/sandbox |
Parameters: 1=Some code. | |
---|---|
Wiki code | {{CodeBox|1=Some code.}}
|
Main version | Some code. |
Sandbox version | 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 | And with some code. |
Sandbox version | 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 |
|
Sandbox version |
|