Template:Code/testcases

From Gentoo Wiki
Jump to: navigation, search
Note
This is the template test case page for Template:Code and its sandbox version. You may have to purge this page to update the examples.
No parameter
Wiki code {{Code}}

Main version
{{Code template error}}
Parameter 2 not defined. For correct usage see Code template's documentation on the 2 parameter.
Sandbox version


Parameter: 1. unnamed (empty), 2. unnamed
Wiki code {{Code||<pre> content this that </pre>}}

Main version
Code

'"`UNIQ--pre-00000004-QINU`"'

This is a deprecated template and will be removed soon!!! Help us update this template!

Sandbox version
Parameter: 1. unnamed, 2. unnamed
Wiki code {{Code|some description|<pre> content this that </pre>}}

Main version
Codesome description

'"`UNIQ--pre-00000008-QINU`"'

This is a deprecated template and will be removed soon!!! Help us update this template!

Sandbox version