Paul's Internet Landfill/ shortcuts

This wiki has shortcuts enabled.

Some examples of using shortcuts include:

[[!google  foo]]
[[!wikipedia  War_of_1812]]
[[!debbug  12345]]
Check the [[!cia  ikiwiki desc="CIA page for %s"]].

This page controls what shortcut links the wiki supports.

To add a new shortcut, use the shortcut PreprocessorDirective. In the url, "%s" is replaced with the text passed to the named shortcut, after url-encoding it, and '%S' is replaced with the raw, non-encoded text. The optional desc parameter controls the description of the link.

Remember that the name you give the shortcut will become a new PreprocessorDirective. Avoid using a name that conflicts with an existing directive. These directives also accept a desc parameter that will override the one provided at definition time.

If you come up with a shortcut that you think others might find useful, consider contributing it to the shortcuts page on the ikiwiki ikiwiki, so that future versions of ikiwiki will include your shortcut in the standard underlay.