Difference between revisions of "Help:Funtoo Editing Guidelines/Packages"

From Funtoo
Jump to navigation Jump to search
(Created page with "=== Linking to Packages === To link to a package page, use the <code>Package</code> template: <pre><nowiki> {{Package|sys-apps/portage}} </nowiki></pre> This template will...")
 
Line 1: Line 1:
=== Creating Package Pages ===
To add a new page for an ebuild or package to this wiki, please use the following form: [[Form:Ebuild]]. When doing so, enter a MediaWiki-friendly page name rather than the official catpkg name. For example, use {{c|NVIDIA Linux Display Drivers}} as a page name instead of {{c|x11-drivers/nvidia-drivers}}. Here is the resultant page: {{package|x11-drivers/nvidia-drivers}}.
=== Linking to Packages ===
=== Linking to Packages ===


Line 7: Line 11:
</nowiki></pre>
</nowiki></pre>


This template will create a link to the official wiki page for sys-apps/portage, and render using the official "English" page name, as follows:
This template has a handy feature of being able to link to the package page even if it's stored using a more MediaWiki-appropriate page title.


{{Package|sys-apps/portage}}
{{Note|This is currently not working but will be working again soon!}}

Revision as of 03:37, February 24, 2019

Creating Package Pages

To add a new page for an ebuild or package to this wiki, please use the following form: Form:Ebuild. When doing so, enter a MediaWiki-friendly page name rather than the official catpkg name. For example, use NVIDIA Linux Display Drivers as a page name instead of x11-drivers/nvidia-drivers. Here is the resultant page: x11-drivers/nvidia-drivers.

Linking to Packages

To link to a package page, use the Package template:

{{Package|sys-apps/portage}}

This template has a handy feature of being able to link to the package page even if it's stored using a more MediaWiki-appropriate page title.

   Note

This is currently not working but will be working again soon!