Template:Pkg: Difference between revisions
Dubiousjim (talk | contribs) (Create template) |
Dubiousjim (talk | contribs) (→Example: tweak example) |
||
Line 10: | Line 10: | ||
=== Example === | === Example === | ||
<pre>{{Pkg| | <pre>{{Pkg|gtk+2.0}}</pre> | ||
will produce: | will produce: | ||
{{Pkg| | {{Pkg|gtk+2.0}} | ||
</noinclude><includeonly><span style="font-family: monospace">[http://alpinelinux.org/apk/main/x86/{{urlencode:{{{1}}}}} {{{1}}}]</span></includeonly> | </noinclude><includeonly><span style="font-family: monospace">[http://alpinelinux.org/apk/main/x86/{{urlencode:{{{1}}}}} {{{1}}}]</span></includeonly> |
Revision as of 19:00, 23 March 2012
Template Documentation for Pkg
This page is a template and should only be used as part of other articles. For more information, read Help:Template.
Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.
Feel free to voice your opinion regarding this template.An inline link to search for the given package in the Package Browser.
Usage
{{Pkg|package}}
Special characters in the package name are automatically encoded in the URL.
Example
{{Pkg|gtk+2.0}}
will produce: gtk+2.0