web commit by JoshTriplett: Change map to gmap, to avoid conflicting with map plugin.
[ikiwiki] / doc / shortcuts.mdwn
1 This page controls what shortcut links the wiki supports.
2
3 * [[shortcut name=google url="http://www.google.com/search?q=%s"]]
4 * [[shortcut name=gmap url="http://maps.google.com/maps?q=%s"]]
5 * [[shortcut name=wikipedia url="http://en.wikipedia.org/wiki/%s"]]
6 * [[shortcut name=debbug url="http://bugs.debian.org/%s" desc="bug #%s"]]
7 * [[shortcut name=deblist url="http://lists.debian.org/debian-%s" desc="debian-%s@lists.debian.org"]]
8 * [[shortcut name=debpkg url="http://packages.debian.org/%s"]]
9 * [[shortcut name=debpts url="http://packages.qa.debian.org/%s"]]
10 * [[shortcut name=fdobug url="https://bugs.freedesktop.org/show_bug.cgi?id=%s" desc="freedesktop.org bug #%s"]]
11 * [[shortcut name=fdolist url="http://lists.freedesktop.org/mailman/listinfo/%s" desc="%s@lists.freedesktop.org"]]
12 * [[shortcut name=cpan url="http://search.cpan.org/search?mode=dist&query=%s"]]
13 * [[shortcut name=ctan url="http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=%s"]]
14 * [[shortcut name=iki url="http://ikiwiki.kitenet.net/%s.html"]]
15 * [[shortcut name=ljuser url="http://%s.livejournal.com/"]]
16 * [[shortcut name=rfc url="http://www.ietf.org/rfc/rfc%s.txt"]]
17 * [[shortcut name=c2 url="http://c2.com/cgi/wiki?%s"]]
18 * [[shortcut name=emacswiki url="http://www.emacswiki.org/cgi-bin/wiki/%s"]]
19 * [[shortcut name=dict url="http://www.dict.org/bin/Dict?Form=Dict1&Strategy=*&Database=*&Query=%s"]]
20 * [[shortcut name=gpg url="http://pgpkeys.mit.edu:11371/pks/lookup?op=vindex&exact=on&search=0x%s"]]
21 * [[shortcut name=perldoc url="http://perldoc.perl.org/search.html?q=%s"]]
22
23 To add a new shortcut, use the "shortcut" preprocessor directive. "%s" is
24 replaced with the text passed to the named shortcut. The optional desc
25 parameter controls the description of the link.