Difference between revisions of "Template:Package/doc"

From stoney cloud
Jump to: navigation, search
m (Add {{Template}} template and proper categories)
m (Rework)
Line 1: Line 1:
 
{{Template}}
 
{{Template}}
 
Use this template to link a package with [http://packages.gentoo.org packages.gentoo.org]. There readers find lots of informations about packages.
 
Use this template to link a package with [http://packages.gentoo.org packages.gentoo.org]. There readers find lots of informations about packages.
 +
 +
== Parameters ==
 +
; unnamed: Specify a full package name (category/package).
  
 
== Usage ==
 
== Usage ==
Add this code to the page text:
+
See the template's [[Template:Package/testcases|testcases]]:
<pre>
+
{{Template:Package/testcases}}
{{Package|package-category/package-name}}
+
</pre>
+
{{Package|package-category/package-name}}
+
{{Note|Without package-category the link will be broken.}}
+
  
 
<includeonly>
 
<includeonly>

Revision as of 15:40, 23 August 2012

Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages.

As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements, fixes or voice your opinion.

Use this template to link a package with packages.gentoo.org. There readers find lots of informations about packages.

Parameters

unnamed
Specify a full package name (category/package).

Usage

See the template's testcases:


Parameter: unnamed
Wiki code
{{Package|sys-apps/portage}}

Main version sys-apps/portage

Sandbox version