Template:GPO/testcases

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

Correct

Two anonymous parameters matching a qualified package name + repository
Wiki code
{{GPO|sys-apps/portage|gentoo}}
Main version
Install the sys-apps/portage::gentoo package for a great computing experience!
Sandbox version


Incorrect

One anonymous parameter (error message)
Wiki code
{{GPO|sys-apps/portage}}
Main version
{{GPO template error}}
Parameter 2 not defined. For correct usage see GPO template's documentation on the 2 parameter.
Sandbox version


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