Template:Package/testcases

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

Correct

One anonymous parameter matching a Portage category + package name
Wiki code
{{Package|sys-apps/portage}}
Main version
Sandbox version


Incorrect

One anonymous parameter not matching a Portage category + package name (broken link)
Wiki code
{{Package|portage}}
Main version
Sandbox version


No parameter (error message)
Wiki code
{{Package}}
Main version
{{Package template error}}
Parameter 1 not defined. For correct usage see Package template's documentation on the 1 parameter.
Sandbox version