Template:Package/doc

Use this template to link a package name to its listing at Packages.Gentoo.org in running text (or in a list).

This template should never be used inside of templates that simulate a command line interface, like Cmd and RootCmd, because the external-link icon (seen in the previous paragraph after "Packages.Gentoo.org" if you're using a graphical browser) could confuse readers in that context. For the same resaon, it should also be avoided in templates that display special types of code, like FileBox, CodeBox, and KernelBox, except possibly in the "title" line.

To provide a link to package information in a right-floated box, use.

Parameters
The value of the required anonymous parameter must match the name of a package in the Gentoo repository (popularly known as the "Portage tree"). The template does no checking of its input but simply links to the provided name. Valid package names can be determined using on a running Gentoo system or by [//packages.gentoo.org searching] or [//packages.gentoo.org/categories browsing] the repository online.

Usage
{{Package| cat - subcat / name

See the template's testcases: {{Package/testcases}}