Template:Repo enable/testcases

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

Correct

One anonymous parameter
Wiki code
{{Repo enable|gentoo}}
Main version
root #eselect repository enable gentoo
root #emaint sync -r gentoo
Sandbox version


Incorrect

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