Difference between revisions of "Template:AUR"

From ArchWiki
Jump to: navigation, search
m (moved Template:Package AUR to Template:AUR: shorter == simpler)
(update re: moved)
Line 5: Line 5:
 
====Usage====
 
====Usage====
  
{{Codeline|1=<nowiki>{{Package AUR|package}}</nowiki>}}
+
{{Codeline|1=<nowiki>{{AUR|package}}</nowiki>}}
  
 
{{Note|This template will ''search'' for {{Codeline|package}} in the [[AUR]]. Thus, if {{Codeline|package-''foo''}} and {{Codeline|package-''bar''}} exist, all matching variations will be listed. In cases where the package name is ambiguous (e.g. {{Package AUR|opera}}, which matches '''''opera'''''ting, '''''opera'''''tion, etc.) a direct link may be preferred.}}
 
{{Note|This template will ''search'' for {{Codeline|package}} in the [[AUR]]. Thus, if {{Codeline|package-''foo''}} and {{Codeline|package-''bar''}} exist, all matching variations will be listed. In cases where the package name is ambiguous (e.g. {{Package AUR|opera}}, which matches '''''opera'''''ting, '''''opera'''''tion, etc.) a direct link may be preferred.}}
Line 11: Line 11:
 
====Example====
 
====Example====
  
{{Package AUR|package}}</noinclude><includeonly><span style="font-family: monospace">[https://aur.archlinux.org/packages.php?K={{{1}}}&SeB=x {{{1}}}]</span></includeonly>
+
{{AUR|package}}</noinclude><includeonly><span style="font-family: monospace">[https://aur.archlinux.org/packages.php?K={{{1}}}&SeB=x {{{1}}}]</span></includeonly>

Revision as of 22:08, 10 October 2011

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

Template:Codeline

Note: This template will search for Template:Codeline in the AUR. Thus, if Template:Codeline and Template:Codeline exist, all matching variations will be listed. In cases where the package name is ambiguous (e.g. Template:Package AUR, which matches operating, operation, etc.) a direct link may be preferred.

Example

packageAUR