Difference between revisions of "Template:AUR"

From ArchWiki
Jump to: navigation, search
(Level 2 headings; see also Template:pkg)
m (updated example)
(3 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
==Usage==
 
==Usage==
  
{{Codeline|<nowiki>{{AUR|package}}</nowiki>}}
+
{{Ic|<nowiki>{{AUR|package}}</nowiki>}}
  
 
Special characters in the package name are automatically encoded in the URL, for example  
 
Special characters in the package name are automatically encoded in the URL, for example  
  
{{Codeline|<nowiki>{{AUR|compiz-plugins-unsupported++}}</nowiki>}} → {{AUR|compiz-plugins-unsupported++}}
+
{{Ic|<nowiki>{{AUR|bison++}}</nowiki>}} → {{AUR|bison++}}
  
 
==Example==
 
==Example==
Line 17: Line 17:
 
==See also==
 
==See also==
  
* [[Template:pkg]]
+
* [[Template:Pkg]]
</noinclude><includeonly><span style="font-family: monospace">[https://aur.archlinux.org/packages.php?K={{urlencode:{{{1}}}}}&SeB=x {{{1}}}]</span></includeonly>
+
* [[Template:Grp]]
 +
</noinclude><includeonly><span style="font-family: monospace">[https://aur.archlinux.org/packages/{{urlencode:{{{1}}}}}/ {{{1}}}]</span></includeonly>

Revision as of 01:12, 6 November 2012

This page is a template. It contains no Arch Linux-related information, but should 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 AUR.

Usage

{{AUR|package}}

Special characters in the package name are automatically encoded in the URL, for example

{{AUR|bison++}}bison++AUR

Example

packageAUR

See also