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:Testcase/testcases

From Gentoo Wiki (test)
Jump to:navigation Jump to:search
Note
This is the template test case page for Template:Testcase and its sandbox version. You may have to purge this page to update the examples.

Note: Here we show how this template would be used to document the template {{Package}}.

The wikicode:

{{Testcase
|title=One unnamed parameter
|<nowiki>{{Package|sys-apps/portage}}</nowiki>
|        {{Package|sys-apps/portage}}
|{{Package/sandbox|sys-apps/portage}}
}}

Results in:

One unnamed parameter
Wiki code {{Package|sys-apps/portage}}

Main version sys-apps/portage
Sandbox version


Using the sandbox version:

{{Testcase/sandbox
|title=One unnamed parameter
|<nowiki>{{Package|sys-apps/portage}}</nowiki>
|        {{Package|sys-apps/portage}}
|{{Package/sandbox|sys-apps/portage}}
}}

Results in: